RSS-CB 1.2 Sample File

From cbwiki.net
Revision as of 20:04, 29 September 2010 by Paul Asman-FRBNY (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
<?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:cb="http://www.cbwiki.net/wiki/index.php/Specification_1.2/" xmlns:yourinstitution="http://yoursite/yournamespace/" xmlns:georss="http://www.georss.org/georss" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.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:language>en</dc:language>
		<dc:date>2006-11-30T20:24:55Z</dc:date>
	</channel>
	<image rdf:about="http://yoursite/your_image.gif">
		<title>The title of your channel</title>
		<url>http://yoursite/your_image.gif</url>
		<link>http://yoursite/mainRSSpage/</link>
	</image>
	<item rdf:about="http://yoursite/press_release1.html">
		<title>Here is the title of press release 1. 40 characters maximum.</title>
		<link>http://yoursite/press_release1.html</link>
		<description>Here is the description of press release 1. 500 characters maximum.</description>
		<dc:date>2005-11-01</dc:date>
		<dc:language>en</dc:language>
		<dcterms:audience>general</dcterms:audience>
		<cb:news rdf:parseType="Resource">
			<rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#Announcement"/>
			<cb:simpleTitle>News!</cb:simpleTitle>
			<cb:occurrenceDate>2005-11-01</cb:occurrenceDate>
		</cb:news>
		<cb:custom rdf:parseType="Resource">
			<yourinstitution:contact>Paul Roberts</yourinstitution:contact>
		</cb:custom>
	</item>
	<item rdf:about="http://yoursite/press_release2.html">
		<title>US: 1.1240 CHF = 1 CNY 2005-11-01 NYFed noon buying</title>
		<link>http://yoursite/press_release2.html</link>
		<description>Here is the description of press release 2. 500 characters maximum.</description>
		<dc:date>2005-11-01</dc:date>
		<dc:language>en</dc:language>
		<georss:point>23.1223 -53.1123</georss:point>
		<cb:statistics rdf:parseType="Resource">
			<rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#Statistics"/>
			<cb:country>US</cb:country>
			<cb:institutionAbbrev>NYFed</cb:institutionAbbrev>
			<cb:exchangeRate rdf:parseType="Resource">
				<rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#ExchangeRate"/>
				<cb:observation rdf:parseType="Resource">
					<rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#Observation"/>
					<cb:value>1.1240</cb:value>
					<cb:unit>CNY</cb:unit>
					<cb:decimals>4</cb:decimals>
				</cb:observation>
				<cb:baseCurrency>CNY</cb:baseCurrency>
				<cb:targetCurrency>CHF</cb:targetCurrency>
				<cb:rateType>noon buying</cb:rateType>
				<cb:observationPeriod rdf:parseType="Resource">
					<rdf:type rdf:resource="http://www.cbwiki.net/wiki/index.php/RSS-CB_1.2_RDF_Schema#ObservationPeriod"/>
					<cb:frequency>daily</cb:frequency>
					<cb:period>2005-11-01</cb:period>
				</cb:observationPeriod>
			</cb:exchangeRate>
		</cb:statistics>
		<cb:custom rdf:parseType="Resource">
			<yourinstitution:contact>Paul Roberts</yourinstitution:contact>
		</cb:custom>
	</item>
</rdf:RDF>