The Atom 1.0 feed format document is, at the time of writing, located at http://atompub.org/2004/ 10/20/draft-ietf-atompub-format-03.html. The Atom feed format mailing list is described at www.imc.org/atom-syntax/index.html. The Atom wiki is located at www.intertwingly.net/wiki/pie/FrontPage. Atom 1.0 Document Structure Atom 1.0 documents are written in XML. The Atom 1.0 draft of October 2004 on which the following description is based has many similarities to the Atom 0.3 specification described in Chapter 7. XML digital signatures or encryption can be used with Atom 1.0 documents, when appropriate. The following example is a simple Atom 1.0 document: 2004-12-15T18:30:02ZJohn Smith http://www.XMML.com/blog/2004/12/15/atomslow.html2004-12-15T18:30:02Z As you can see, the structure of an Atom 1.0 document is similar to that used in Atom 0.3. The XML Declaration It is recommended that Atom 1.0 documents have an XML declaration. The feed Element The feed element is the document element of an Atom 1.0 feed format document. It has a required version attribute. And it must have a namespace declaration specifying either the default namespace or associating a namespace prefix with the Atom 1.0 namespace. When the specification is complete, the allowed values of both the version attribute and the namespace URI for the Atom 1.0 namespace are likely to change. 132 Chapter 13
This entry was posted
on Saturday, June 30th, 2007 at 11:24 am and is filed under j2ee.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.