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

RSS Tutorials - Generating a Feed update Element

By: FYIcenter.com

(Continued from previous topic...)

How To Generate a Feed update Element?

The <update> element is a required sub-element of the <feed> element. The Atom specification requires that you provide a data and a time of when this feed was updated. There is no problem to know the data and time for this element. But you need to pay attention to the format of how the date and time should be specified.

Atom specification requires you to use the format defined in RFC 3393 for the update element. So you should one of the following two formats defined in RFC 3339:

  • yyyy-mm-ddThh:mm:ss.ccZ, where T is a delimiter, and Z indicates this is a UTC time value. For example: 2006-08-12T23:20:50.52Z.
  • yyyy-mm-ddThh:mm:ss.cczzzzz, where T is a delimiter, and zzzzz is a time zone modifier like -08:00, which is 8 hours behind UTC. For example: 2006-08-12T15:20:50.52-08:00.

(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...