Six Apart Developer Wiki

The Movable Type and Professional Network Wiki has been moved to wiki.movabletype.org.

Recent Changes

AtomInteropProfileAPP

[Login] Change #3 by OpenID IdentityByrne Reese at 2006-01-12 01:16:37.

The following content has unclosed HTML tags: SERVICE (2 open)

$ Atom Publishing Protocol Interoperability Profile

Atom Publishing Protocol Interoperability Profile

Below is a document related to the Six Apart-wide AtomInterop Profile. This document describes interoperability issues associated with the Atom Publishing Protocol specifically.

This document is in DRAFT and is not yet complete.

See also:

  • AtomInteropProfile - for tracking interoperability guidelines with the Atom Publishing Protocol specifically.

Collections and Workspaces

The Atom Publishing Protocol provides a mechanism for grouping related resources. These groups are called workspaces and collections. Workspaces encapsulate a group of related collections, and collections encapsulate a group of related assets (posts, entries, photos, media, etc).

The following are examples of each of our products may use collections and workspaces to provide a discoverability mechanism for publishing new posts to blogs, photos to albums, links to lists, etc.

Example Generic

The following was taken from the [http://bitworking.org/projects/atom/draft-ietf-atompub-protocol-06.html Atom Publishing Protocol Specification]

<?xml version="1.0" encoding='utf-8'?>
<service xmlns="http://purl.org/atom/app#">
  <workspace title="Main Site" > 
    <collection 
      title="My Blog Entries" 
      href="http://example.org/reilly/main" >
      <member-type>entry</member-type>
      <list-template>http://example.org/index</list-template>
    </collection>
    <collection 
      title="Pictures" 
      href="http://example.org/reilly/pic" >
      <member-type>media</member-type>
      <list-template>http://example.org/p/index</list-template>
    </collection>
  </workspace>
  <workspace title="Side Bar Blog">
    <collection title="Remaindered Links" 
      href="http://example.org/reilly/list" >
      <member-type>entry</member-type>
      <list-template>http://example.org/l/index</list-template>
    </collection>
  </workspace>
</service>

TypePad

In TypePad, users manage the following types of collections:

  • Blogs
  • TypeLists
  • Photo Albums

There can be zero of more of the above objects per account. Within TypePad having these objects as top level entities enables them to be shared across an account more easily, allowing for a single TypeList or Photo Album to be displayed in multiple weblogs.

Here is an example that maps to a /roughly/ hypothetical TypePad account with 1 blog, 2 TypeLists, and 1 Photo Album:

<?xml version="1.0" encoding='utf-8'?>
<service xmlns="http://purl.org/atom/app#">
  <workspace title="majordojo Blog" > 
    <collection 
      title="Entries" 
      href="http://reesespieces.typepad.com/majordojo" >
      <member-type>entry</member-type>
      <list-template>http://www.typepad.com/atom/weblog?id=24432&i=index</list-template>
    </collection>
    <collection 
      title="Categories" 
      href="http://reesespieces.typepad.com/majordojo/categories.xml" >
      <member-type>media</member-type>
      <list-template>http://reesespieces.typepad.com/majordojo/categories.xml#index</list-template>
    </collection>
    <collection 
      title="Monthly Archives" 
      href="http://reesespieces.typepad.com/majordojo/archives/monthly.xml" >
      <member-type>entry</member-type>
      <list-template>http://reesespieces.typepad.com/majordojo/archives/monthly.xml#index</list-template>
    </collection>
  </workspace>
  <workspace title="My Favorite Links">
    <collection title="Items" 
      href="http://reesespieces.typepad.com/atom/lists?id=24834" >
      <member-type>entry</member-type>
      <list-template>http://reesespieces.typepad.com/atom/lists?id=24834&i=index</list-template>
    </collection>
  </workspace>
  <workspace title="My Friends">
  <collection title="Items" 
      href="http://reesespieces.typepad.com/atom/lists?id=347234" >
      <member-type>entry</member-type>
      <list-template>http://reesespieces.typepad.com/atom/lists?id=347234&i=index</list-template>
    </collection>
  </workspace>
  <workspace title="Honeymoon in Thailand">
    <collection title="Photos" 
      href="http://reesespieces.typepad.com/atom/albums?id=12134" >
      <member-type>media</member-type>
      <list-template>http://reesespieces.typepad.com/atom/albums?id=12134&i=index</list-template>
    </collection>
  </workspace>
</service>
[Login] Change #3 by OpenID IdentityByrne Reese at 2006-01-12 01:16:37.
Six Apart
Makers of weblog software and services for individuals, organizations and businesses.