rss:Channel

(Auszug aus "Newsfeeds mit RSS und Atom" von Heinz Wittenbrink, erschienen bei Galileo Press, 2005)

Bedeutung

Wurzelelement eines RSS 1.1-Dokuments; nimmt die Metadaten für einen Feed auf.

Schema

start = Channel
Channel = element Channel { Channel.content }
Channel.content = (
   AttrXMLLang?, AttrXMLBase?, AttrRDFAbout,
   (title & link & description & image? & Any* & items)
)
Any = element * - ( rss:* ) { Any.content }
Any.content = (
   attribute * - ( rss:* | NoNS:* ) { text }*,
   mixed { Any* }
)
AttrXMLLang = attribute xml:lang { xsd:language }
AttrXMLBase = attribute xml:base { xsd:anyURI }
AttrRDFAbout = attribute rdf:about { xsd:anyURI } 

Nachkommen/Inhalt

items, title, link, description (obligatorisch), image (optional)

Attribut

Name Werte Bedeutung obligatorisch
rdf:about URI Angabe des URI des Feeds ja

Beispiel

<Channel xmlns="http://purl.org/net/rss1.1#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" rdf:about="http://www.celawi.eu/webtrends/">
   ...
</Channel> 

Bemerkungen

Keine

Entsprechungen

RSS 1.0 RSS 2.0 Atom
rss:channel channel atom:feed

   

<< zurück vor >>

 

 

 

Tipp der data2type-Redaktion:
Zum Thema Newsfeeds mit RSS und Atom bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: