RSS - eine Übersicht
Autor: Vilma Plum
eingetragen: Freitag, 24. Juni 2005 um 08:30 Uhr (25/2005 Kalenderwoche)
geändert: Freitag, 09. April 2010 um 09:49 Uhr (14/2010 Kalenderwoche)
Keywords: RSS versionen
Kategorien: XML,
Text:
At this point, one has pretty much everything an newspaper view needs. But a newsreader view would prefer to have at a minimum a date and an author. And if the description is a summary, then a second version with the full content.
Unfortunately, this is where the RDF and non-RDF formats start to diverge...
With RSS 1.0, date and creator were reused from Dublin Core. A content:encoded element was created to handle the full content. As these were widely supported by every viewer that cared about such things, early RSS 2.0 feeds used these elements.
bold text
With RSS 2.0, a pubDate and author were introduced. The former used RFC 2822 format vs ISO 8601. The latter required an email address. This lead to the formulation of the concept of "funky" feeds which was used to describe RSS 2.0 feeds which contain elements which were meant to be replaced in RSS 2.0 by these newer definitions.
bold text
Definition:
* RSS 2.0: "guid stands for globally unique identifier. It's a string that uniquely identifies the item. When present, an aggregator may choose to use this string to determine if an item is new."
* RSS 1.0: " {item_uri} must be unique with respect to any other rdf:about attributes in the RSS document and is a URI which identifies the item."
Example:
* http://intertwingly.net/slides/2003/seybold
Views:
* Newspaper: allows changed content to be detected. Items which have been previously shown but changed are typically not shown again.
* Newsreader: allows changed content to be detected. Items which have been previously shown but changed are typically updated, sometimes with markup of the diffs.
Einige Links:
Tutorial brandneu mit versionen-Übersicht
http://www.xml.com/lpt/a/2002/12/18/dive-into-xml.html
Kurzübersicht
http://rss.userland.com/whatIsRSS
Tutorial
https://freemailng0806.web.de/jump.htm?goto=http://www.mnot.net/rs...
tutorial2, JavaScript-Einbindung
http://rssgov.com/rssworkshop.html
Spezifikation 2.0
http://blogs.law.harvard.edu/tech/rss
Tutorial , mit tabellarischer Übersicht, character-encoding
http://www.intertwingly.net/slides/2003/seybold/
RSS 1.0 Tutorial
http://web.resource.org/rss/1.0/spec
Validator
http://feedvalidator.org/
RSS-Forum
http://www.rss-forum.de/index.php
Quellcode:
0.91
<rss version='true'0.91'true'>
<channel>
<title>XML.com</title>
<link>http://www.xml.com/</link>
<description>XML.com features a rich mix of information and services for the XML community.</description>
<language>en-us</language>
<item>
<title>Normalizing XML, Part 2</title>
<link>http://www.xml.com/pub/a/2002/12/04/normalizing.html</link>
<description>In this second and final look at applying relational normalization techniques to W3C XML Schema data modeling, Will Provost discusses when not to normalize, the scope of uniqueness and the fourth and fifth normal forms.</description>
</item>
<item>
<title>The .NET Schema Object Model</title>
<link>http://www.xml.com/pub/a/2002/12/04/som.html</link>
<description>Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model for programmatic manipulation of W3C XML Schemas.</description>
</item>
</channel>
</rss>
1.0
<rdf:RDF
xmlns:rdf='true'http://www.w3.org/1999/02/22-rdf-syntax-ns#'true'
xmlns='true'http://purl.org/rss/1.0/'true'
xmlns:dc='true'http://purl.org/dc/elements/1.1/'true'>
<channel rdf:about='true'http://www.xml.com/cs/xml/query/q/19'true'>
<title>XML.com</title>
<link>http://www.xml.com/</link>
<description>XML.com features a rich mix of information and services for the XML community.</description>
<language>en-us</language>
<items>
<rdf:Seq>
<rdf:li rdf:resource='true'http://www.xml.com/pub/a/2002/12/04/normalizing.html'true'/>
<rdf:li rdf:resource='true'http://www.xml.com/pub/a/2002/12/04/som.html'true'/>
<rdf:li rdf:resource='true'http://www.xml.com/pub/a/2002/12/04/svg.html'true'/>
</rdf:Seq>
</items>
</channel>
<item rdf:about='true'http://www.xml.com/pub/a/2002/12/04/normalizing.html'true'>
<title>Normalizing XML, Part 2</title>
<link>http://www.xml.com/pub/a/2002/12/04/normalizing.html</link>
<description>In this second and final look at applying relational normalization techniques to W3C XML Schema data modeling, Will Provost discusses when not to normalize, the scope of uniqueness and the fourth and fifth normal forms.</description>
<dc:creator>Will Provost</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
</rdf:RDF>
2.0
<rss version='true'2.0'true' xmlns:dc='true'http://purl.org/dc/elements/1.1/'true'>
<channel>
<title>XML.com</title>
<link>http://www.xml.com/</link>
<description>XML.com features a rich mix of information and services for the XML community.</description>
<language>en-us</language>
<item>
<title>Normalizing XML, Part 2</title>
<link>http://www.xml.com/pub/a/2002/12/04/normalizing.html</link>
<description>In this second and final look at applying relational normalization techniques to W3C XML Schema data modeling, Will Provost discusses when not to normalize, the scope of uniqueness and the fourth and fifth normal forms.</description>
<dc:creator>Will Provost</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
<item>
<title>The .NET Schema Object Model</title>
<link>http://www.xml.com/pub/a/2002/12/04/som.html</link>
<description>Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model for programmatic manipulation of W3C XML Schemas.</description>
<dc:creator>Priya Lakshminarayanan</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
<item>
<title>SVG's Past and Promising Future</title>
<link>http://www.xml.com/pub/a/2002/12/04/svg.html</link>
<description>In this month's SVG column, Antoine Quint looks back at SVG's journey through 2002 and looks forward to 2003.</description>
<dc:creator>Antoine Quint</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
</channel>
</rss>