XML technologies / RSS & Atom / What are newsfeeds? / Requirements for RSS
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
So far, we have introduced a few newsfeed scenarios and examples of feed-based programs and services. Most users do not realise that these depend on specific newsfeed document types quite different from HTML. These were the first XML formats to gain widespread acceptance on the web.
"RSS" has become the collective name for these newsfeed formats. It denotes closely related techniques for identifying, discovering, displaying and exchanging updated or updatable information on the web. The abbreviation has different expansions: depending on interpretation, it stands for RDF Site Summary, Rich Site Summary or Really Simple Syndication. "Atom" names an attempt to reformulate RSS more precisely and in close relation to other current web technologies.
A document format is essential for content syndication. Exchanging documents on the web requires communication protocols, which should be considered when defining the format. They need not be RSS-specific: RSS generally uses HTTP, the web’s standard communication protocol.
Benefits of a standardised syndication format for users and providers
A standardised syndication format precisely identifies which URI-accessible information objects changed and when. Users can choose which changed parts of a website to view or receive the new information directly in the feed. Software can process the corresponding elements automatically.
Feed formats offer important benefits to content providers and recipients:
Bandwidth savings
Syndication may require less bandwidth than transmitting original documents. In practice, this benefit is secondary because many feeds now contain the described page’s entire content.
Unambiguous semantics
More important is simple, unambiguous semantics designed to describe recent website changes. An HTML document does not reveal which of its
h1,h2orh3elements contain current headlines or where those items end. A syndication document can turn each item into an information object with a title and further properties.Time savings
Few people can regularly visit more than twenty websites daily. Without a standard exchange format, I would have to seek the information supplied by an aggregator or newsreader myself, or depend on intermediaries. Syndication gives easy access to many news sources, without requiring software, a server or a company between the provider and me as recipient.
Standardised syndication makes users more independent, better able to choose which news to receive and when. It also expands publishers’ reach: interested readers need not revisit the site to check for news, but can be actively informed of every change.
RSS exemplifies the end-to-end principle, like many successful internet technologies. It removes an intermediary layer. RSS remains only a technical tool, however; a newsreader does not select or evaluate content for you.
Requirements for a standard format
The examples already presented show how feeds are used. Their impact comes largely from being standards, offering benefits even an excellent format could not deliver alone. A common format and standard publishing processes make updated information easier to
discover,
display,
exchange and republish.
Requirements for standard feed formats have two levels:
What information must an RSS document carry? (functional requirements)
How does it interact with other formats and protocols? (formal requirements)
The first level concerns usage scenarios. Functional requirements vary: users need an overview of diverse information; providers need easy distribution across topics and formats and continuous delivery of current news. Many platforms and content types must be supported, including photo and video blogs and data for automatic processing.
Formal requirements enable standardisation. Adoption is most likely when established techniques are extended or modified only for specific needs. For content sharing, standardisation is essential, not merely desirable: the wider the technical base, the better syndication works.
A standard must be capable, abstract and simple: capable enough for its task, abstract enough for different situations and simple enough for many users. It must also fit its ecosystem, the web’s architecture and infrastructure.
Functional requirement: discovering updated information
Newspaper sites such as "http://www.ftd.de", news sites such as "http://www.slashdot.org", portals such as "http://www.yahoo.com" and weblogs such as "http://www.scriptingnews.com" are updated continuously, often hourly. Other sites update less often. If changed components are clearly identified, software can look specifically for them.
HTTP also reveals whether or when a document changed, but only for the whole document, not individual components. HTTP headers can tell a client a newspaper homepage changed, but not which news items or articles were added.
Functional requirement: presenting information
RSS is mainly processed for human-readable presentation. Information must be structured for easy display and overview. Without common presentation conventions for updated web resources, users must visit each document and navigate it individually.
HTML also standardises presentation, but has no news-specific semantics: it was designed for all kinds of information, as a lowest common denominator for encoding web documents.
Standard information about page updates enables software to scan many sources and display new information together. How much content resides in RSS and how much only at a referenced source remains open.
Functional requirement: exchange and republication
Publishing information about website changes becomes truly useful when it can also appear on other sites.
A page can subscribe to other pages and incorporate their content, like genetic material from a cell or virus inserted into other cells’ DNA. Without a web-news standard, this is laborious and fragile: the source structure must be understood and transformed into the publication’s format, and integration scripts rewritten whenever that structure changes. A standard permits material from any source, leaving legal issues aside.
Publishing and republishing include commenting, quoting and modifying information. The web’s creators intended a medium whose users write and publish as well as read. This "Writable Web" needs rules for combining and republishing information to work worldwide for everyone.
Functional requirement: publishing and editing information
Feed formats can also publish or edit documents, sending them to a web server in feed form. Publishing protocols or APIs (Application Programming Interfaces) specify server-side interpretation. Combining RSS with other XML formats and web protocols is important: documents often contain HTML fragments, while publication uses techniques such as HTTP, XML-RPC and SOAP.
Functional requirement: extracting and further processing information
A fourth processing type extracts information for further machine processing. RSS’s relationship to Resource Description Format is particularly relevant here. Journal publishers can supply machine-readable bibliographic data for all articles; seismographic feeds can support disaster warnings.
Functional requirement: extensibility
The development of feeds and their applications suggests many further tasks ahead, often requiring combination with other data. Feed formats therefore need a standard extension mechanism, allowing new applications without modifying or obsoleting existing formats and software.
Formal requirement: integration into web architecture
Beyond requirements derived from the format’s tasks, its environment imposes more: newsfeeds are web documents and must work within the web. This means:
Feed formats must follow other universal web technologies’ rules and be simple and robust.
Feeds publish content and must work with other web content formats, with defined relationships between them. This mainly concerns document syntax and mixed vocabularies. Many feeds contain HTML: the specification must state whether an HTML passage is a logical part of the feed document, in the same document tree, or merely quoted.
A newsfeed contains information about other information: metadata. Feed formats are often regarded as metadata formats.
Feed formats belong to web publishing technology. They must respect standard web message transport and publication procedures, either using them or specifying how and why they differ. This concerns usage more than document structure, but syntax and semantics cannot be defined without it.

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