atom publishing protocol

30
Atom Publishing Protocol Dirk Haun www.geeklog.net

Upload: dirk-haun

Post on 05-Dec-2014

2.998 views

Category:

Technology


1 download

DESCRIPTION

Introduction into the Atom Publishing Protocol. Longer version, as presented at FrOSCon 2008 (in German).

TRANSCRIPT

Page 2: Atom Publishing Protocol

Das Atom Publishing Protocol (AtomPub)

ist ein standardisiertes Protokoll zum Übertragen von Inhalten auf

(und von) Websites.

Page 7: Atom Publishing Protocol

I have often stated that there are 7 different and incompatible versions of RSS. (...)I would like to publicly apologize for my previous misstatements. There are not 7 different and incompatible versions of RSS; there are 9.

-- Mark Pilgrim

Page 10: Atom Publishing Protocol
Page 11: Atom Publishing Protocol

Atom

Page 12: Atom Publishing Protocol

Prinzipien

• 100% vendor neutral

• implemented by everybody

• freely extensible by anybody

• cleanly and thoroughly specified

Page 15: Atom Publishing Protocol

REST

Page 17: Atom Publishing Protocol

<atom:entry> <atom:id>20080824140001</atom:id> <atom:updated> 2008-08-24T14:00:01+01:00 </atom:updated> <atom:title type="text">Test</atom:title> <atom:category term="FrOSCon"/> <atom:link rel="edit"

type="application/atom+xml" href="http://example.com/?edit=..."/> <atom:content type="html"> &lt;p&gt;Hello, world!&lt;/p&gt; </atom:content> <atom:author> <atom:name>Dirk</atom:name> </atom:author></atom:entry>

Page 18: Atom Publishing Protocol

Atom FeedListe von Atom Entries

Atom Publishing ProtocolAtom Entries bearbeiten

Page 19: Atom Publishing Protocol

<?xml version="1.0" encoding="utf-8"?><app:service xmlns:app="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom"><app:workspace> <atom:title>FrOSCon</atom:title> <app:collection href="http://example.com/froscon/"> <atom:title>Artikel</atom:title> <app:accept> application/atom+xml;type=entry </app:accept> <app:categories fixed="yes"> <atom:category term="OpenSource"/> </app:categories> </app:collection></app:workspace></app:service>

Page 28: Atom Publishing Protocol

Atom + AtomPubsind

frei, offen, standardisiert,hersteller-neutral,

genießen breite Unterstützungund sind daher attraktivfür Software-Hersteller

und Anwender.

Page 30: Atom Publishing Protocol

Credits

• Photos via flickr.com, thanks to: Philippe Teuwen, Hopkinsii, hobvias sudoneighm, Matt Knight, Eric Hart, ira, Angela Sevin, massenpunkt, William Gantz, Gigglejuice, manuki

• Graphic on page 16(c) IBM developerWorks, used with permission

Tipp: Bilder und Stichwörter sind verlinkt!