HTML and CSS Reference
In-Depth Information
The managingEditor Element
The managingEditor element can be used to provide the e-mail address of the news feed editor. Listing 8-11 shows
an example.
Listing 8-11. Declaring the RSS Editor
<managingEditor> (John Smith)</managingEditor>
The pubDate and lastBuildDate Elements
The publication date of the channel content can be provided by the pubDate element. The element value changes
every time the news feed is updated. RSS applies the date and time specification defined in RFC 822 [15] except that
the year can be expressed either in two or four characters (the latter one is preferred). Offsets should be provided
according to the difference from Greenwich Mean Time (GMT)/Coordinated Universal Time (UTC). For example,
an RSS channel updated on 24 November, 2010, at 08:04 a.m. in London, England (in other words, in the GMT time
zone), can state the publication date shown in Listing 8-12, while another news feed published in Suva, Fiji (time zone
1200 GMT or UTC+12), at the same time can be written as shown in Listing 8-13.
Listing 8-12. A Publication Date in the GMT Time Zone
<pubDate>Wed, 24 Nov 2010 08:04:00 GMT</pubDate>
Listing 8-13. A Publication Date in the UTC+12 Time Zone
<pubDate>Wed, 24 Nov 2010 08:04:00 +1200</pubDate>
in countries where jurisdiction observes daylight saving time (summer time), the offset changes twice a year.
The date of the last modification of the news feed can be expressed by the lastBuildDate element in the same
format as pubDate .
The skipHours and skipDays Elements
Periods without updates can be provided by the skipHours element and days by the skipDays element. Allowed
values for skipHours are the integer numbers between 0 and 23 (the time in GMT) (Listing 8-14).
Listing 8-14. An RSS Channel That Should Be Checked for Updates During Business Hours Only
Search WWH ::

Custom Search