RSS

Fra Biblab

Gå til: navigasjon, søk

XML-format for formidling av nyhetslister. De fleste blogg-verktøy kan eksportere innleggene i RSS-format.

Historikk

RSS finnes i en rekke ulike versjoner, og forkortelsen har blitt omdefinert en rekke ganger. Se Specification History for en oversikt.

Eksempel på RSS 2.0

<?xml version="1.0"?>
<rss version="2.0">
 <channel>
   <title>Liftoff News</title>
   <link>http://liftoff.msfc.nasa.gov/</link>
   <description>Liftoff to Space Exploration.</description>
   <language>en-us</language>
   <pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
   <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
   <docs>http://blogs.law.harvard.edu/tech/rss</docs>
   <generator>Weblog Editor 2.0</generator>
   <managingEditor>editor@example.com</managingEditor>
   <webMaster>webmaster@example.com</webMaster>

   <item>
     <title>Star City</title>
     <link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link>
     <description>How do Americans get ready to work with Russians aboard the
       International Space Station? They take a crash course in culture, language
       and protocol at Russia's Star City.</description>
     <pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
     <guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid>
   </item>

   <item>
     <title>Space Exploration</title>
     <link>http://liftoff.msfc.nasa.gov/</link>
     <description>Sky watchers in Europe, Asia, and parts of Alaska and Canada
       will experience a partial eclipse of the Sun on Saturday, May 31st.</description>
     <pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
     <guid>http://liftoff.msfc.nasa.gov/2003/05/30.html#item572</guid>
   </item>
  </channel>
</rss>

(Eksempelet er hentet fra Wikipedia.)

Bruksområder

RSS var i begynnelsen et format som skulle gjøre det mulig å abonnere på "innhold", men har etter hvert blitt tatt i bruk på stadig flere områder.

Lenker

Se også

Personlige verktøy