Name

mod_rss091

Synopsis

The mod_rss091 module is designed to give RSS 1.0 “sideways compatibility” with RSS 0.91. Because the three core subelements of the item element are the same in both standards, including mod_rss091 elements in your RSS 1.0 feed allows for dynamic downgrading of the feed for parsers that can’t be bothered with all the RDF stuff. Because the data is rather simple and mostly static, including this module within your RSS 1.0 feed is straightforward. With this in mind, it’s worth doing.

Namespace

The prefix for this module is the self-explanatory rss091:, and the module is represented by the URI http://purl.org/rss/1.0/modules/rss091#. Hence:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns="http://purl.org/rss/1.0/"
         xmlns:rss091="http://purl.org/rss/1.0/modules/rss091/"
>

Elements

The mod_rss091 elements represent the same elements within RSS 0.91. Chapter 4 provides details on those elements.

Subelements of channel

rss091:language

The language of the feed

rss091:rating

The PICS rating of the feed

rss091:managingEditor

The managing editor of the feed

rss091:webmaster

The webmaster of the feed

rss091:pubDate

The publication date of the feed

rss091:lastBuildDate

The date of the feed’s last build

rss091:copyright

The copyright notice of the feed

rss091:skipHours rdf:parseType="Literal"

The skipHours element, with correct RDF syntax

rss091:hour

The hours, in GMT, during which the feed shouldn’t be retrieved

rss091:skipDays rdf:parseType="Literal ...

Get Developing Feeds with RSS and Atom now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.