Difference between revisions of "Atom"

From Dietrich Blog (Strato)
Jump to: navigation, search
(Überblick)
Line 7: Line 7:
 
* Atom wurde von [[Google]] "vereinnamt" z.B. Blogger, Google News, Google Mail...
 
* Atom wurde von [[Google]] "vereinnamt" z.B. Blogger, Google News, Google Mail...
 
* http://atom2rss.semiologic.com
 
* http://atom2rss.semiologic.com
* [[XML]] kann mithilfe von [[XSLT]] in andere Darstellunegn transformiert werden
+
* [[XML]] kann mithilfe von [[XSLT]] in andere Darstellungen transformiert werden
  
 
== Format ==
 
== Format ==

Revision as of 19:09, 12 April 2009

Incomplete.png Incomplete, needs to be expanded. Please help to fill the gaps or discuss the issue on the talk page

Überblick

Atom ist ein XML-Format für News Feeds.

  • Die Entwicklung von Atom begann 2003 und hatte zum Ziel die Unzulänglichkeitenen des älteren RSS zubeheben.
  • Atom wurde schnell ein IETF Proposed Standard (RFC 4287 und 5023).
  • Atom soll sich gut für das Importieren und Exportieren von WebLogs eignen.
  • Atom wurde von Google "vereinnamt" z.B. Blogger, Google News, Google Mail...
  • http://atom2rss.semiologic.com
  • XML kann mithilfe von XSLT in andere Darstellungen transformiert werden

Format

  • Mandatory:
    • <entry>, <id>, <title>, <updated>
  • Recommended:
    • <author>, <content>, <summary>
  • Optional:
    • <category>, <published>

Beispiel

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"> 
 <title>Mein Notizbuch</title>
 <subtitle>Ehemalige Outlook-Notizen</subtitle>
 <link href="http://example.org/feed/" rel="self"/>
 <link href="http://example.org/"/>
 <updated>2008-04-06T10:30:02Z</updated>
 <author>
   <name>Dietrich Kracht</name>
   <email>dietrich@kr8.de</email>
 </author>
 <id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id>
 <entry>
   <title>IS Lite</title>
   <link href="http://kragenbaer.kr8.de/wordpress/?p=22"/>
   <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
   <updated>2008-04-06T18:30:02Z</updated>
   <published>2005-04-01T18:30:02Z</published>
   <author>
       <name>dkracht</name>
   </author>    
   <content>Dies ist der Inhalt. Er beschreibt das IS Lite Modell in Stichworten.</content>
   <content type="xhtml">
      <div> .....</div>
   </content>
   <summary>IS Lite is an IT outsourcing modell from Gartner</summary>
   <category term="Outlook Notes" />
 </entry>
 <entry>
  ...
 </entry>
</feed>