Atom "feed/updated" Element


What is the Atom "feed/updated" element? How To Generate a "feed/updated" element?



The <updated> 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 updated 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.


Atom Specification - RFC 4287

⇒⇒RSS FAQ and Tutorials

2017-09-25, 107👍, 0💬