Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Example RSS feed file with minimal xml tags which can be used in TIBCO Spotfire to setup RSS Feed
Solution:
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.
<?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.
External: RSS
Comments
0 comments
Article is closed for comments.