XML technologies / RSS & Atom / Reference: RSS 2.0 elements / The element pubDate
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
Meaning
Publication date
Ancestors
channel, item
Descendants/content
Date and time according to RFC 822; the year can have either two or four digits. The offset from GMT can be specified using four digits (for hours and minutes).
Attributes
None
Example
<channel>
<pubDate>Tu, 2 Feb 2005 08:15:48 +0100</pubDate>
...
<item>
<pubDate>Tu, 2 Feb 2005 07:15:48 GMT</pubDate>
...
</item>
</channel>
Notes
The RSS 2.0 specification suggests that aggregators should not display an entry if its publication date is in the future. Existing programs do not follow this rule.
Language version
RSS 0.93, 2.0
Equivalents
RSS 1.1 | Atom | |
|---|---|---|
|
|

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.