Product: TIBCO Spotfire®
This article provides a sample rss feed file that can be used in Spotfire and explains the meaning of each of the tags.
Details:
The attached file (Filename: rssfeed_sample.xml) is an example RSS feed XML describing the minimal tags required to setup a feed. It can be used as a reference file to create a custom rssfeed file to be used in Spotfire. Each tag in the file is described below in further detail.
Resolution:
Copy the below content into a new xml file and name it as 'rssfeed_sample.xml'.
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>Tibco Spotfire</title>
<link>http://www.spotfire.tibco.com/en/</link>
<description>Spotfire Analytics</description>
<image>
<url>http://www.spotfire.tibco.fr/spot-icon.gif</url>
<link>http://www.spotfire.tibco.com/en/index.php</link>
</image>
<item>
<title>Spotfire Today</title>
<link>http://www.spotfire.tibco.com/en-xml-rss.html</link>
<description>All you need to know about Spotfire</description>
</item>
<item>
<title>Spotfire Tomorrow</title>
<link>http://www.spotfire.tibco.com/en-xml-rdf.html</link>
<description>And now, all about Spotfire Future</description>
</item>
</channel>
</rss><?xml version="1.0" ?> - the XML declaration - defines the XML version and the character encoding used in the document. The document conforms to the 1.0 specification of XML and uses the UTF-8 character set.
<rss version="2.0"> - is the RSS declaration which identifies that this is an RSS document (in this case, RSS version 2.0).
The next line contains the <channel> element. This element is used to describe the RSS feed.
The <channel> element has three required child elements:
<title> - Defines the title of the channel (e.g. Tibco Spotfire)
<link> - Defines the hyperlink to the channel (e.g. http://www.spotfire.tibco.com/en)
<description> - Describes the channel (e.g. Spotfire Analytics)
Each <channel> element can have one or more <item> elements.
Each <item> element defines an article or "story" in the RSS feed.
The <item> element has three required child elements:
<title> - Defines the title of the item (e.g. Spotfire Today)
<link> - Defines the hyperlink to the item (e.g. http://www.spotfire.tibco.com/en-xml-rss.html)
<description> - Describes the item (e.g. All you need to know about Spotfire)
Finally, the two last lines close the <channel> and <rss> elements.
Reference:
Comments
0 comments
Article is closed for comments.