Die Präsentation wird geladen. Bitte warten

Die Präsentation wird geladen. Bitte warten

SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Newsfeed-Standards (RSS & Atom) Site Syndication mit XML Gruppe 1.

Ähnliche Präsentationen


Präsentation zum Thema: "SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Newsfeed-Standards (RSS & Atom) Site Syndication mit XML Gruppe 1."—  Präsentation transkript:

1 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Newsfeed-Standards (RSS & Atom) Site Syndication mit XML Gruppe 1

2 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Überblick Einführung RSS –Versionen –Aufbau Atom –Aufbau Vergleich Anwendungen RSS Reader

3 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Einführung Zusammenfassungen von Webseiten –Link zur Webseite Informationen über die neuesten Artikel XML Datei auf Webseite Kein Layout Client (RSS Reader) bekommt Updates

4 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards RSS: Versionen (1) RSS 0.9 (1999) –RDF Site Summary –My Netscape –RDF-basiert RSS 0.9x –Rich Site Summary –RSS 0.91 (2000) UserLand Eigenes DTD (kein RDF- Format) –RSS 0.92, 0.93 Konkurrenz zu RSS 1.0 Erweiterungen zu RSS 0.91

5 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards RSS: Versionen (2) RSS 1.0 (2000) –RDF Site Summary –RSS-DEV Working Group (W3C) –RDF-basiert RSS 2.0 (2002) –Really Simple Syndication –Userland –Weiterentwicklung der 0.9x-Reihe

6 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Beispiel (RSS 2.0): Titel des Feeds Adresse der Webpräsenz Kurze Beschreibung des Feeds RSS: Aufbau (1) <!ELEMENT channel ((item+)|(title,link,description, (language|copyright|managingEditor|webMaster| pubDate|lastBuildDate|category|generator| docs|cloud|ttl|image|textInput|skipHours| skipDays)*))>

7 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Beispiel (RSS 2.0): Tilel des Artikels Zusammenfassung des Artikels URL des Artikels Autor des Artikels Tilel des Artikels <![CDATA[ HTML Datei... ]]> RSS: Aufbau (2) <!ELEMENT item ((title|description)+,link? (author|category|comments|enclosure|guid| pubDate|source)*)>

8 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Atom Nachfolger von RSS AtomEnabled Alliance Besonders für Weblogs geeignet RFC 4287 (Dezember 2005)

9 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Atom: Aufbau (1) Beispiel: Name des Weblogs 2003-12-13T18:30:02Z Autor des Weblogs urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6 Ein Eintrag des Weblogs atomFeed = element atom:feed { atomCommonAttributes, (atomAuthor+ & atomCategory* & atomContributor* & atomGenerator? & atomIcon? & atomId & atomLink & atomLogo? & atomRights? & atomSubtitle? & atomTitle & atomUpdated & extensionElement*), atomEntry* }

10 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Atom: Aufbau (2) Beispiel: Titel des Weblog-Eintrags urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a 2003-12-13T18:30:02Z Text des Weblog-Eintrags atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor* & atomCategory* & atomContent? & atomContributor* & atomId & atomLink & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) }

11 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Atom: Aufbau (3) Unterschiedliche Inhaltstypen –Plaintext Plaintext-Inhalt –Maskiertes HTML wichtigem Text ]]> –XHTML-Markup Beispielabsatz mit wichtigem Text und einem relativem Hyperlink.

12 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Auto-discovery Verlinkung einer RSS-Datei <link rel="alternate" type="application/rss+xml" title="RSS" href="http://Adresse/der/Datei.rss /> Verlinkung einer Atom-Datei <link rel="alternate" type="application/atom+xml title="Atom feed" href="http://Adresse/der/Datei.atom"/>

13 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Vergleich RSS –Nur Text –Kein Namespace –Kein XML-Schema in Spezifikation Atom –Unterschiedliche Inhaltstypen –Eigener Namespace –RelaxNG-spezifiziert –Genauere Spezifizierung der Quellen

14 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Anwendungen Weblogs Podcasts Content-Management-Systeme Semantisches Web

15 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards RSS-Reader Browser –Mozilla Firefox (seit Version 1.0) –Opera (seit Version 7.5) –Safari (seit Version 2.0) –Internet Explorer (Plug-In, native 7.0?) Mail-Programme –Mozilla Thunderbird (native) –Microsoft Outlook (Plug-In) Standalone Reader –NetNewsWire (MacOS X), Liferea (Linux), AmphetaDesk (Cross- Plattform), … Online RSS-Reader –Bloglines, Shortwire, …

16 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Links RSS 1.0 Specification: http://web.resource.org/rss/1.0/ RSS 2.0 Specification: http://blogs.law.harvard.edu/tech/rss RFC 4287 (The Atom Syndication Format): http://www.ietf.org/rfc/rfc4287 RSS 2.0 and Atom 1.0, Compared: http://www.tbray.org/atom/RSS-and-Atom

17 SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Vielen Dank für die Aufmerksamkeit! Fragen?


Herunterladen ppt "SSD 1, WS05/06 Gruppe 1 Newsfeed-Standards Newsfeed-Standards (RSS & Atom) Site Syndication mit XML Gruppe 1."

Ähnliche Präsentationen


Google-Anzeigen