RSS

From Dietrich Blog (Strato)
Revision as of 23:08, 8 June 2007 by Dkracht (talk | contribs) (New page: = RSS-Newsfeeds = == What is RSS? == By Mark Pilgrim (http://www.xml.com/lpt/a/2002/12/18/dive-into-xml.html) RSS is a format for syndicating news and the content of news-like sites, incl...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RSS-Newsfeeds

What is RSS?

By Mark Pilgrim (http://www.xml.com/lpt/a/2002/12/18/dive-into-xml.html)

RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the "recent changes" page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way.

Verzeichnisse von RSS-Newsfeeds

Software: NewsfeedReader

RSS-aware programs called news aggregators are popular in the weblogging community. Many weblogs make content available in RSS. A news aggregator can help you keep up with all your favorite weblogs by checking their RSS feeds and displaying new items from each of them.

News Readers in the Open Directory, a variety of client-side and server-side programs for reading RSS feeds: http://directory.google.com/Top/Reference/Libraries/Library_and_Information_Science/Technical_Services/Cataloguing/Metadata/RDF/Applications/RSS/News_Readers/

A brief history

Code Fragments only

But coders beware. The name "RSS" is an umbrella term for a format that spans several different versions of at least two different (but parallel) formats. The original RSS, version 0.90, was designed by Netscape as a format for building portals of headlines to mainstream news sites. It was deemed overly complex for its goals; a simpler version, 0.91, was proposed and subsequently dropped when Netscape lost interest in the portal-making business. But 0.91 was picked up by another vendor, UserLand Software, which intended to use it as the basis of its weblogging products and other web-based writing software.

In the meantime, a third, non-commercial group split off and designed a new format based on what they perceived as the original guiding principles of RSS 0.90 (before it got simplified into 0.91). This format, which is based on RDF, is called RSS 1.0. But UserLand was not involved in designing this new format, and, as an advocate of simplifying 0.90, it was not happy when RSS 1.0 was announced. Instead of accepting RSS 1.0, UserLand continued to evolve the 0.9x branch, through versions 0.92, 0.93, 0.94, and finally 2.0.

What a mess.

Abbildung: SVG-Grafik showing this family tree: <embed height="568" width="1020" type="image/svg+xml" src="%ATTACHURL%/rss-family.svg" wmode="transparent"></embed>

Oder mit Object-Tag:

<object data="%ATTACHURL%/rss-family.svg" height="568" width="1020" type="image/svg+xml" wmode="transparent" />

So which one do I use?

That's 7 -- count 'em, 7! -- different formats, all called "RSS". As a coder of RSS-aware programs, you'll need to be liberal enough to handle all the variations. But as a content producer who wants to make your content available via syndication, which format should you choose?

RSS versions and recommendations

Version Owner Pros Status Recommendation
0.90 Netscape Obsoleted by 1.0 Don't use
0.91 UserLand Drop dead simple Officially obsoleted by 2.0, but still quite popular Use for basic syndication. Easy migration path to 2.0 if you need more flexibility
0.92, 0.93, 0.94 UserLand Allows richer metadata than 0.91 Obsoleted by 2.0 Use 2.0 instead
1.0 RSS-DEV Working Group RDF-based, extensibility via modules, not controlled by a single vendor Stable core, active module development Use for RDF-based applications or if you need advanced RDF-specific modules
2.0 UserLand Extensibility via modules, easy migration path from 0.9x branch Stable core, active module development Use for general-purpose, metadata-rich syndication

Eigene RSS Newsdfeeds


JFeedreader (Sourceforge, Java)

Um einfach und sicher in Sachen RSS arbeitsfähig zu sein, habe ich den in Java geschriebenen RSSReader jfeedreader (Sourceforge) entschieden. Die eingerichteten Feeds sind unter Windows 2000 in der Datei "c:\Dokumente und Einstellungen\Administrator\.rssReader\rssfeedreader.xml" gespeichert (und müssen gesichert und ggf. in andere Systeme übertragen werden).

<?xml version="1.0"?>
<rssFavorites>
	<category name="Tech News">
		<feed name="/." url="http://slashdot.org/index.rss"/>
		<feed name="The Register" url="http://theregister.co.uk/feeds/latest.rdf"/>
		<feed name="Os News" url="http://www.osnews.com/files/recent.rdf"/>
		<feed name="NewsForge" url="http://newsforge.com/index.rss"/>
		<feed name="Yahoo Tech" url="http://rss.news.yahoo.com/rss/tech"/>
		<feed name="BBC" url="http://news.bbc.co.uk/rss/newsonline_world_edition/technology/rss091.xml"/>
		<feed name="Mac Rumors" url="http://www.macrumors.com/macrumors.xml"/>
		<feed name="ZD net" url="http://trainedmonkey.com/news/rss.php?s=30"/>
		<feed name="Ars Technica" url="http://arstechnica.com/etc/rdf/ars.rdf"/>
	</category>
	<category name="Eigene">
		<feed name="Lonzo" url="http://free.fr.kr8.de/lonzo.rdf"/>
		<feed name="b2" url="http://free.fr.kr8.de/b2/b2rss.php"/>
		<feed name="TWiki" url="http://localhost/twiki/bin/view/TWiki/WebRss"/>
		<feed name="TWiki Kracht local" url="http://localhost/twiki/bin/view/Kracht/WebRss"/>
		<feed name="TWiki Kracht" url="http://lonzo.org.whsites.net/twiki/bin/view/Kracht/WebRss"/>
		<feed name="Lonzo Nuke" url="http://lonzo.kr8.de/nuke/html/backend.php"/>
	</category>
</rssFavorites>

Feedreader (Delphi, Estland)

Sourceforge: http://sourceforge.net/projects/feedreader/

Die eingerichteten Feeds sind unter Windows 2000 in der Datei "c:\Dokumente und Einstellungen\Administrator\Anwendungsdaten\FeedReader\rssfeedreader.xml" gespeichert (und müssen gesichert und ggf. in andere Systeme übertragen werden).

<?xml version="1.0" encoding="UTF-8"?>
<feeds>
		<item>
			<feedid>63211923063665</feedid>		
			<title>news</title>		
			<description></description>		
			<feedtype>folder</feedtype>
		</item>
		<item>
			<feedid>63212054048672</feedid>		
{| border="1"
|-
			<title>BBC News || World || UK Edition</title>		
|}

			<description>Updated every minute of every day</description>		
			<feedtype>http</feedtype>		
			<parent>folder</parent>		
			<archivesize>8888</archivesize>		
			<alwaysshowlink>0</alwaysshowlink>		
			<htmlurl>http://news.bbc.co.uk/go/click/rss/0.91/public/-/1/hi/world/default.stm</htmlurl>		
			<image>http://news.bbc.co.uk/nol/shared/img/bbc_news_120x60.gif</image>		
			<read>0</read>		
			<unreadcount>26</unreadcount>		
			<updateperiod>14</updateperiod>		
			<LastModified></LastModified>		
			<link>http://www.newsisfree.com/HPE/xml/feeds/60/60.xml</link>		
			<username></username>		
			<password></password>
		</item>
	  <item>
			<feedid>63212060052094</feedid>		
			<title> TWiki . Kracht . WebRss	</title>		
			<description></description>		
			<feedtype>http</feedtype>		
			<parent>folder</parent>		
			<archivesize>8888</archivesize>		
			<alwaysshowlink>0</alwaysshowlink>		
			<htmlurl></htmlurl>		
			<image></image>		
			<read>0</read>		
			<unreadcount>0</unreadcount>		
			<updateperiod>14</updateperiod>		
			<LastModified></LastModified>		
			<link>http://lonzo.org.whsites.net/twiki/bin/view/Kracht/WebRss</link>		
			<username></username>		
			<password></password>
		</item>
</feeds>	

-- Main.DietrichKracht - 07 Feb 2004