UserPreferences

UseElementsForAppCollectionTitles3


Abstract

Like UseElementsForAppCollectionTitles, but using atom:title.

Status

Proposed

Rationale

Same rationale as UseElementsForAppCollectionTitles.

Proposal

7.1 Example

  <?xml version="1.0" encoding='utf-8'?>
  <service xmlns="http://purl.org/atom/app#">
    <workspace> 
      <atom:title>Main Site</atom:title>
      <collection href="http://example.org/reilly/main">
        <atom:title>My Blog Entries</atom:title>
      </collection>
      <collection href="http://example.org/reilly/pic" >
        <atom:title>Pictures</atom:title>
        <accept>image/*</accept>
      </collection>
    </workspace>
    <workspace>
      <atom:title>Side Bar Blog</atom:title>
      <collection href="http://example.org/reilly/list">
        <atom:title>Remaindered Links</atom:title>
      </collection>
    </workspace>
  </service>
  
7.2.2 The "app:workspace" Element

...
  appWorkspace =
     element app:workspace {
        appCommonAttributes,
        attribute title { text },
        ( atomTitle+
          & appCollection+
          & extensionElement* )
     }
     
7.2.2.1 The "atom:title" Element

The app:workspace Element MUST contain one or more "atom:title" elements
giving a human-readable title for the workspace.

7.2.3 The "app:collection" Element

...
  appCollection =
    element app:collection {
      appCommonAttributes,
      attribute href { atomUri },
      ( atomTitle+
        & appAccept?
        & extensionElement* )
    }

7.2.3.1 The "atom:title" Element

The app:collection Element MUST contain one or more "atom:title" elements
giving a human readable title for the collection.

Impacts

Notes


CategoryProposals