next up previous contents
Next: ATOM 0.3 Up: Syntax Definition Previous: RSS 2.0   Contents

RSS 1.0

We propose a new RSS 1.0 module: ``mod_enclosures''. This module will use the following namespace definition:

xmlns:enc1="http://crocodile.org/ns/rss/1.0/enclosures"

It uses RDF vocabulary formally defined by RDF schema[4] included in appenix B.

To specify item enclosures new ``enc1:enclosures'' property of ``item'' node is added, which points to ``enc1:Enclosure'' or ``enc1:Enclosures'' node with same semantics as in RSS 2.0, but expressed in accordance with RDF/XML syntax.

In the table below you can find correspondence between RSS 2.0 attributes and RDF properties:

Enclosure Type RSS 2.0 Attribute RSS 1.0 RDF Property
Simple, Composite enc:Content-Id rdf:about
Simple, Composite enc:rel enc1:rel
Simple, Composite enc:description enc1:description
Simple enc:url enc1:url
Simple enc:type enc1:type
Simple enc:transport enc1:transport
Simple enc:location enc1:location
Simple enc:length enc1:length
Simple enc:quality enc1:quality
Composite kind see below


Composite enclosures also have the property ``enc1:children'' pointing to containers with sub-enclosures.

The RSS 2.0 ``kind'' attribute is expressed via specialized container types pointed by ``enc1:children'' property. The following table shows correspondence between ``enc:kind'' attribute values and RDF containers:

RSS 2.0 ``kind'' RSS 1.0 RDFS Class
parallel enc1:Parallel
mixed rdf:Seq
alternative rdf:Alt
user-defined user-defined subclass of rdfs:Container


Example of RSS 1.0 feed with enclosures could be seen at page [*].


next up previous contents
Next: ATOM 0.3 Up: Syntax Definition Previous: RSS 2.0   Contents
Vadim Zaliva 2004-12-15