Home >> FAQs/Tutorials >> RSS Tutorials >> Index

RSS Tutorials - Generating a Feed id Element

By: FYIcenter.com

(Continued from previous topic...)

How To Generate a Feed id Element?

The <id> element is a required sub-element of the <feed> element. The Atom specification requires that you provide a universally unique identifier for each of your feeds. So how to make this identifier universally unique?

One strategy is to use the URL where the feed document is located. For example, if your Atom feed document is located at: http://dev.fyicenter.com/atom.xml, you use the following id element in this feed document:

 <id>http://dev.fyicenter.com/atom.xml</id>

(Continued on next topic...)

  1. Are Atom Feed Files XML Documents?
  2. How Many Document Types Are Defined for Atom Feed Files?
  3. What Is the Structure of Atom Feed Documents?
  4. What Are Sub-elements of the feed Element?
  5. How To Generate a Feed title Element?
  6. How To Generate a Feed subtitle Element?
  7. How To Generate a Feed link Element?
  8. How To Generate a Feed id Element?
  9. How To Generate a Feed update Element?
  10. How To Generate a Feed author Element?
  11. How To Generate a Feed category Element?
  12. What Are Sub-elements of the entry Element?
  13. How To Generate a Feed Entry link Element?
  14. How To Generate a Feed Entry title Element?
  15. How To Generate a Feed Entry summary Element?
  16. Can One Atom Feed Document Have Multiple Entries?

Selected Developer Jobs:

More...