|
|
This work is licensed under a Creative Commons |
While RSS-based syndication has become widely used (in particular for user-generated content), the technical and political problems of the format triggered a new development. The Atom format is an improved syndication format, and accompanied by the Atom Publishing Protocol (APP), a REST-based way of interacting with an Atom source. APP includes support for creating, reading, updating, and deleting Atom entries, thus supporting a broad range of resource-centered interactions.
<description>This is a <em>very important</em> blog post …
<description>This is a <em>very important</em> blog post …
<description>This is a blog post about <em> in RSS feeds …
<description>This is a blog post about <em> in RSS feeds …
<description>This is a blog post about &lt;em> in RSS feeds …
new RSS
xml:lang and xml:basesmart waysof what the RSS author really wanted
text)text, no child elements are allowed (plain text content)html then RSS's method of escaped markup is usedxhtml then there must be an div containing XHTML markuptext/ then no child elements are allowed<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
One <strong>bold</strong> foot forward
</div>
</content>
<content>The "atom:content" element either contains or links to the content of the entry. The content of atom:content is Language-Sensitive.</content>
<content type="html">The <code>atom:content</code> element either contains or links to the content of the entry. The content of <code>atom:content</code> is <a href="http://www.ietf.org/rfc/rfc3066.txt">Language-Sensitive</a>.</content>
<content type="image/png"> iVBORw0KGgoA … TAAAAAElFTkSuQmCC </content>
<content src="image.png" type="image/png"/>
CUDout of the
CRUDset of operations
| Resource | HTTP Method | Representation | Description |
|---|---|---|---|
| Introspection | GET | Introspection Document | Enumerates a set of collections and lists their URIs and other information about the collections |
| Collection | GET | Atom Feed | A list of member of the collection (this may be a subset of all entries in the collection) |
| Collection | POST | Atom Entry | Create a new entry in the collection |
| Member | GET | Atom Entry | Get the Atom Entry |
| Member | PUT | Atom Entry | Update the Atom Entry |
| Member | DELETE | n/a | Delete the Atom Entry from the collection |
Service Documents represent server-defined groups of Collections, and are used to initialize the process of creating and editing resources.
realtop-level construct of APP is the workspace
entry as special value)fixed)label/from/to are used for defining arcsrole and arcrole attributes