XML technologies / RSS & Atom / RSS 2.0 / RSS 2.0 elements for rich metadata / Elements supporting publishing and subscription tools

(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)

Some RSS 2.0 elements support aggregators, apparently modeled on Radio UserLand’s functionality. They make subscribing to newsfeeds easier and save bandwidth through change notification mechanisms.

The comments element

comments contains the URI where comments on an entry can be found. The element comments also occurs only inside item. This element again illustrates the desire for simplicity that shapes the RSS 2.0 specification. It neither indicates where comments can be posted nor provides a way to subscribe to a separate feed of an entry’s comments. For comments see also the page The comments element in the RSS 2.0 reference.

Supporting aggregator functions: cloud, ttl, textInput, skipHours and hour, skipDays and day

textInput is a relic of early syndication formats. It is still retained by RSS 2.0 and RSS 1.0, whereas RSS 1.1 and Atom have dropped it. textinput was intended to let users interact with the server providing a feed. The element works like a simplified HTML form. Netscape’s developers included it mainly for starting searches. The element has four descendants: link contains the URI of a CGI script, name corresponds to the HTML attribute of the same name. description contains an explanation, title the submit button’s label. For textInput see also the page The textInput element in the RSS 2.0 reference.

cloud is one of the few RSS 2.0 elements whose purpose is not apparent from its name. Originally introduced for the Radio UserLand aggregator, it is generalized in RSS 2.0. The term cloud refers to a "cloud" of community members whose feeds can be subscribed to together. For cloud see also the page The cloud element in the RSS 2.0 reference.

ttl stands for "time to live". The element specifies in minutes how long the feed’s content cannot change, allowing the data to be cached during that period. For ttl see also the page The ttl element in the RSS 2.0 reference.

skipHours tells software during which hours it should not check a feed for updates. Its content consists of up to 24 elements of type hour. (No more elements are allowed.) Each specifies, using a number from 0 to 23, an hour during which the feed’s content does not change. The function of skipDays and day corresponds to that of skipHours and hour. However, inside day the English names of weekdays specify the days on which a feed is never updated. For skipHours, hour, skipDays and day see also the pages The skipHours and hour elements and The skipDays and day elements in the RSS 2.0 reference.

   

 

 

 

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

back to top