Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Feed Formats

A feed format is a specific set of XML elements used in a feed. Publication Subscription supports four commonly used feed formats:

Even though these standards have similar names, their elements are very different. For example, compare the XML elements for an entry in RSS 2.0 format (Listing 1-1) with the elements in the Atom Syndication Format (Listing 1-2). You’ll notice that while the content of both entries is the same, the elements that define them are different.

Listing 1-1  A feed entry in RSS 2.0

<item>
    <title>Welcome!</title>
    <pubdate>Fri, 27 Oct 2006 18:51:39 GMT</pubdate>
    <author>Matt</author>
    <description>Hello World!</description>
</item>

Listing 1-2  A feed entry in the Atom Syndication Format

<entry>
    <author>
        <name>Matt</name>
    </author>
    <title>Welcome!</title>
    <modified>2006-10-27T18:51:39Z</modified>
    <issued>2006-10-27T18:51:39Z</issued>
    <content type="text/plain">Hello World!</content>
</entry>

Publication Subscription is designed to interpret each of these four formats. Since the API encapsulates each of the formats, no matter which format your feed is in, the methods to interpret them are the same.

For more information about each of the XML formats:



< Previous PageNext Page > Hide TOC


Last updated: 2007-05-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice