XML technologies / RSS & Atom / RSS 2.0 / Extension modules / The Easy News Topics

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

Recent years have seen repeated attempts to define newsfeed topics more clearly and consistently than with the element category. (Although category also allows references to a nomenclature.) Matt Mower and Paolo Valdemarin made an interesting attempt with Easy News Topics (ENT for short). They consider the element category insufficient because it does not tie topics to a classification system. The namespace for the ENT module is: "http://www.purl.org/NET/ENT/1.0/".

This extension has two main goals:

It should label entry topics so that intelligent aggregators can create thematic feeds, for example by filtering and recombining feeds marked up with ENT. Other developers proposing topic or category extensions have pursued the same goal, so far with limited success: none of these systems has seen substantial implementation.

Their second goal distinguishes Easy News from systems with similar tasks: linking should allow Easy News elements to make use of more powerful, flexible standards.

ENT’s developers believe other modules with similar goals failed to gain adoption because they were too complex and difficult for most users.

Elements of the Easy News Topics module

The module defines only two elements, cloud and topic. Any number of elements of type topic may be the content of cloud.

The element cloud specifies a source for topics as a URI. This URI may point to an RDF document, an OPML list, or a Topic Map containing more information about the topics. Topic Maps are a metadata standard overlapping in functionality with RDF. A Topic Map works as an index for any number of sources, indexing concepts rather than words: the topics. For this page, for example, RSS extensions could be such a topic. A Topic Map is an XML document identifying where topics occur in documents, called their "occurrences". It also describes relationships between topics. Extensions to RSS 2.0, for example, have a relationship to the topic extensions that can be called "subclass/superclass". This allows semantic networks describing many different sources. More information about this interesting technique is available on the Topic Maps page of "Cover Pages".

ENT does not require an actual document at the URI. The application decides how to handle the resource located there. The element identifies the occurrence (English: "occurence") of a topic in the sense of the Topic Map standard.

cloud has three attributes. The attribute href is required, while the two attributes infoRef and description are optional:

href

References the URI of the topic source.

infoRef

May contain a URI providing information about this source, such as human-readable documentation.

description

Serves the same purpose as the RSS 2.0 elements of the same name and may contain a short description of the cloud, which a user agent may display.

The element topic specifies a "named representation of a subject". The topic can simply be a string (PCDATA), but together with cloud it uniquely identifies the entry’s topic.

id

Must be a fragment identifier as defined for URIs or IRIs, their internationalized version. It must be unique within the selected cloud. Two topic IDs in a document may nevertheless be identical, since each relates to its own Cloud-href and is unique in that combination, allowing interpretation as an XML Topic Map (XTM).

classification

Contains the topic type. This attribute is meaningful only if the specified cloud system supports classification.

href

Contains the URI of a human-readable "page" relating to the topic.

The draft includes the following sample document:

<item>
   <title>
   <link>http://www.example.org/blog/2003/04/08.html#a855</>
   <guid>http://www.example.org/blog/2003/04/08.html#a855</guid>
   <pubDate>Tue, 08 Apr 2003 10:28:59 GMT</pubDate>
   <description>Here is the text of the item.</>
   <ent:cloud ent:href="http://matt.blogs.it/topics/resources/topicRoll.opml">
      <ent:topic ent:id="sf_giants">San Franscisco Giants</ent:topic>
   </ent:cloud>
   <ent:cloud ent:href="http://www.examples.com/mlb.xtm">
      <ent:topic ent:id="barry_bonds" ent:classification="player">Barry Bonds</ent:topic>
      <ent:topic ent:id="ray_durham" ent:classification="player">Ray Durham</ent:topic>
      <ent:topic ent:id="felipe_alou" ent:classification="manager">Felipe Alou</ent:topic>
   </ent:cloud>
</item>

   

 

 

 

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

back to top