MediaWiki:Feed-watom

Z Nonsensopedii, polskiej encyklopedii humoru

WAtom

Daje możliwość konwersji artykułu na standard CSS lub Atom.

Przykładowy skrypt:

   <?xml version="1.0" encoding="utf-8"?>
   <feed xmlns="http://www.w3.org/2005/Atom">
     <id>tag:domena.pl,2007-01-25:atom-xxx-xxx-xxx-xxx</id>
     <title>Przykład kanału</title>
     <link href="http://przyklad.pl/"/>
     <updated>2005-06-13T16:20:02Z</updated>
     <author>
       <name>Jan</name>
     </author>

     <entry>
       <title>Tytuł</title>
       <link href="http://przyklad.pl/atom01"/>
       <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
       <updated>2010-07-03T21:05:02Z</updated>
       <summary>Jakiś tekst.</summary>
     </entry>

   </feed>