Computer: RSS (aus Wiki)

RSS

(Redirected from ContentSyndication)

Contents

See also: Atom, News Feeds, Newsfeed Reader, Newsfeed Writer, XSLT

 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

 RSS 2.0 Format

  • Datumsfelder müssen nach RFC822 (1982) aufgebaut sein; d.h. es muss zwingend immer der Wochentag am Anfang stehen.
  • Der Verfasser eines Artikels kann nur als E-Mail-Adresse angegeben werden, nicht als Klartext.
  • Validator: http://feedvalidator.org

 RSS Software

  • RSS Clients: Newsfeed Reader
    • RSS Bandit
  • RSS Server: Newsfeed Writer
    • I try to do this with WebLogs
    • Tristana Writer RSS (kann RSS und Atom, Timestamp-Automatismus aber ganz schlecht)
    • Absolute RSS Editor
    • Easy RSS Content Generator (NO, benötigt als Input vorhandene RSS Feeds)
    • mirabyte Feed Writer (kann nur RSS, gute Oberfläche)

 A brief RSS 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:
The RSS Family Tree

 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

 RSS Namespaces

Da RSS-Dateien ein XML-Dialekt darstellen, sollte immer ein korrekter Namespace angegeben werden….

   xmlns="http://backend.userland.com/RSS2"

 Eigene RSS Newsdfeeds

 Newsfeed Reader

Siehe: Newsfeed Reader
— Main.DietrichKracht – 07 Feb 2004