
Table of Contents
The Adjunct Syntax Specification describes a method called DataRSS for embedding arbitrary metadata within feed vocabularies, including RSS, Atom, IDIF, and others.
DataRSS has four elements:
A container for adjunct elements, and the top-level element that defines a DataRSS feed.
Attributes — None
The outermost container element for metadata assertions.
Represents a specific resource, item or object. Each item
described by the feed has an item element, with a
rel attribute describing the relationship of this object
to the current resource. Optionally, a resource attribute contains the
URL of the item. This URL is optional—there will be cases where an
item doesn't have one. In RDF terms, each item element establishes a
triple between the parent item (or adjunct) and another object,
possibly a "blank node", and sets the new object as the current
resource.
Represents a specific metadata assertion against the current
object, normally the parent element in DataRSS, assigning a literal
value. Each specific metadata assertion about the current resource is
contained in a meta element, which functions similarly to
the XHTML element of the same name. The property attribute is
required. Normally, this element should have text content representing
the literal value of the property.
namespace y = "http://search.yahoo.com/datarss/"
datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
start = ADJUNCT
CURIE = xsd:string # must conform to CURIE syntax
ADJUNCT = element y:adjunct {
attribute id { xsd:string }? &
attribute version { xsd:string } &
attribute updated { xsd:dateTime }? &
attribute name { xsd:string }? &
ITEM* &
META* }
ITEM = element y:item {
attribute rel { CURIE } &
attribute resource { xsd:anyURI }? &
attribute xml:base { xsd:string }? &
attribute xml:lang { xsd:language }? &
ITEM* &
META* }
META = element y:meta {
attribute property { CURIE } &
attribute datatype { CURIE }? &
attribute content { xsd:string }? &
attribute xml:base { xsd:string }? &
attribute xml:lang { xsd:language }? &
text }