Sample RSS-CB file

From cbwiki.net
Jump to: navigation, search
Please note that this page relates to a deprecated version of RSS-CB. Please find links to the current version via the RSS-CB home page

Full Sample

You can find more detailed examples of each of the specific applications here - Statistics and Research papers. Examples of individual <item> entries can also be found for Speeches, News and Events. When implementing RSS-CB feeds, it is advisable to refer to these samples, rather than the one below, as they are more detailed and descriptive.

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://purl.org/rss/1.0/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:dcterms="http://purl.org/dc/terms/" 
  xmlns:rss-cb="http://www.centralbanks.org/rss-cb/1.0/"
  xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.w3c.org/1999/02/22-rdf-syntax-ns# rdf.xsd>

<channel rdf:about="http://yoursite/press.rss">
  <title>Your Institution Press Releases</title>
  <link>http://yoursite/mainRSSpage/</link>
  <description>Press releases issued by Your Institution.</description>
  <image rdf:resource="http://yoursite/your_image.gif" />
  <items>
    <rdf:Seq>
      <rdf:li rdf:resource="http://yoursite/press_release1.html" />
      <rdf:li rdf:resource="http://yoursite/press_release2.html" />
    </rdf:Seq>
  </items>
  <dc:license>http://yoursite.com/disclaimer.html</dc:license>
  <dc:language>en</dc:language>
  <dc:date>2006-11-30T20:24:55+05:00</dc:date>
  <dc:publisher>Your Institution</dc:publisher>
</channel>

<image rdf:about="http://yoursite/your_image.gif">
   <title>an alt tag</title>
   <url>http://yoursite/your_image.gif</url>
   <link>http://yoursite/mainRSSpage/</link>
</image>

<item rdf:about="http://yoursite.org/news/20070201a.html">
  <title>2 Jan Third Quarter Review of Annual Policy for 2006-07 on January 31, 2007</title>
  <link>http://yoursite.org/news/20070201a.html</link>
  <description>The Third Quarter Review of Annual Statement on Monetary Policy for the year 2006-07 will be available on the Reserve Bank's website at 12.00 noon (Indian Standard Time) on Wednesday, January 31, 2007.</description>
  <cb:application>news</cb:application>
  <cb:simpleTitle>Third Quarter Review of Annual Policy for 2006-07 on January 31, 2007</cb:simpletitle>
  <dc:date>2007-01-02T19:20:00+01:00</dc:date>
  <cb:occurrenceDate>2007-01-02T19:20:00+05:00</cb:occurrenceDate>
  <cb:keyword>India</cb:keyword>
  <cb:keyword>monetary policy</cb:keyword>
  <cb:resource>
    <cb:title>Press release in PDF format</cb:title>
    <cb:link>http://yoursite.org/news/20070201a.pdf</cb:link>
    <cb:description>PDF version of the announcement that the Third Quarter Review of Annual Statement on Monetary Policy for the year 2006-07 will be available on the Reserve Bank's website at 12.00 noon (Indian Standard Time) on Wednesday, January 31, 2007.</cb:description>
  </cb:resource>
</item>

</rdf:RDF>