XBMC will be renamed to Kodi for v14. Read here for more details

XBMC's Inner Workings, RssFeeds.xml

From XBMC
(Difference between pages)
Jump to: navigation, search
m
 
 
Line 1: Line 1:
{{XBMC faq toc Inline}}
+
{{GoToParent|Parent=The UserData Folder}}
__NOTOC__
+
 
__NOEDITSECTION__
 
__NOEDITSECTION__
*[[Development Notes]]
+
__NOTOC__
**[[Developing XBMC for Linux]]
+
The RSSFeeds.xml file within the XBMC\[[The UserData Folder|UserData]] folder contains the RSS feeds which are displayed by XBMC.
**[[Developing XBMC for Mac]]
+
 
**[[Developing XBMC for Windows]]
+
Feeds are contained within sets and to have multiple feeds you can just add the feed to the relevent set, you can also have multiple sets...
*[[Python Development|Python Development]]
+
 
**[[HOW-TO write plugins for XBMC|Creating Plugins]]
+
To use different sets in your skins each must be called from a skin with a unique id.
**[[HOW-TO write Python Scripts|Creating Scripts]]
+
 
*[[Skinning XBMC|Skinning XBMC]]
+
[[RSS feed Control|Look here for more information on adding the feeds to your skin.]]
*[[Web Server HTTP API|The HTTP API]]
+
 
*[[EventServer|The Eventserver API]]
+
This is an example of a feed set:
*[[The XBMC Database|XBMC's SQL Databases]]
+
 
*[[Audio Players|Audio Players]]
+
<xml>
*[[Video Players|Video Players]]
+
<set id="1" rtl="false">
[[category:Inner Workings]]
+
  <feed updateinterval="30">http://feeds.feedburner.com/XboxScene</feed>
 +
</set>
 +
</xml>
 +
 
 +
==Examples==
 +
Here is an example of a full file with mutiple sets and feeds:
 +
<xml>
 +
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 +
 
 +
<rssfeeds>
 +
 
 +
  <set id="1">
 +
 
 +
    <!-- RSS feeds from feedburner.com !-->
 +
 
 +
    <!-- XBOX Scene !-->
 +
    <feed updateinterval="30">http://feeds.feedburner.com/XboxScene</feed>
 +
 
 +
  </set>
 +
 
 +
  <set id="2">
 +
 
 +
    <!-- RSS feeds from skynews.com !-->
 +
 
 +
    <!-- World News !-->
 +
    <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30200-1-100,00.xml</feed>
 +
 
 +
    <!-- UK News !-->
 +
    <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30100-1-100,00.xml</feed>
 +
 
 +
    <!-- Sci-Tech !-->
 +
    <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,31500-1-100,00.xml</feed>
 +
 
 +
    <!-- Business !-->
 +
    <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30400-1-100,00.xml</feed>
 +
 
 +
    <!-- Offbeat !-->
 +
    <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,91059-1-100,00.xml</feed>
 +
 
 +
  </set>
 +
 
 +
  <set id="3">
 +
 
 +
    <!-- RSS feeds from cnn.com !-->
 +
 
 +
    <!-- Top Stories !-->
 +
    <feed updateinterval="30">http://rss.cnn.com/rss/cnn_topstories.rss</feed>
 +
 
 +
    <!-- World !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_world.rss</feed>
 +
 
 +
    <!-- US !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_us.rss</feed>
 +
 
 +
    <!-- Politics !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_allpolitics.rss</feed>
 +
   
 +
    <!-- Law !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_law.rss</feed>
 +
 
 +
    <!-- Technology !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_tech.rss</feed>
 +
 
 +
    <!-- Space and Science !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_space.rss</feed>
 +
 
 +
    <!-- Health !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_health.rss</feed>
 +
 
 +
    <!-- Entertainment !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_showbiz.rss</feed>
 +
 
 +
    <!-- Travel !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_travel.rss</feed>
 +
 
 +
    <!-- Education !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_education.rss</feed>
 +
 
 +
    <!-- Video !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_freevideo.rss</feed>
 +
 
 +
    <!-- Offbeat !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_offbeat.rss</feed>
 +
 
 +
    <!-- Most Popular !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_mostpopular.rss</feed>
 +
 
 +
    <!-- Most Recent !-->
 +
    <feed updateinternal="30">http://rss.cnn.com/rss/cnn_latest.rss</feed>
 +
 
 +
  </set>
 +
 
 +
  <set id="4">
 +
 
 +
    <!-- RSS feeds from cbsnews.com !-->
 +
 
 +
    <!-- Top Stories !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/main.rss</feed>
 +
 
 +
    <!-- US !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/national.rss</feed>
 +
 
 +
    <!-- World !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/world.rss</feed>
 +
 
 +
    <!-- Public Eye !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/rss/public_eye.rss</feed>
 +
 
 +
    <!-- Politics !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/politics.rss</feed>
 +
 
 +
    <!-- Sci-Tech !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/scitech.rss</feed>
 +
 
 +
    <!-- Health Watch !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/health.rss</feed>
 +
 
 +
    <!-- Entertainment !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/entertainment.rss</feed>
 +
 
 +
    <!-- Business !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/business.rss</feed>
 +
 
 +
    <!-- Opinion !-->
 +
    <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/opinion.rss</feed>
 +
 
 +
  </set>
 +
 
 +
</rssfeeds>
 +
</xml>
 +
 
 +
==XML Tags==
 +
;set
 +
*Identifies the set that the feeds belong to. Using multiple sets allows you to display multiple feeds onscreen simultaneously.
 +
;id
 +
*Id of the set
 +
;rtl
 +
*if rtl="true" is set, then XBMC displays the text right to left rather than left to right.  Useful for Hebrew and Arabic.
 +
;feed
 +
*Identifies the individual RSS feeds within a set. In the example pictured above, set 1 would show one feed, while set 2 would only several different feeds, one after the other,
 +
:updateinterval: The amount of time (in mins) allowed to lapse between updating the feeds
 +
 
 +
==Other Questions==
 +
;Q. What is RSS \ what is a RSS feed
 +
:A. RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the “recent changes” page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way. <br>[http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html See the full article on xml.com]
 +
 
 +
;Q. Is RSS 2.0 supported?<br>
 +
:A. RSS 2.0 is supported<br>
 +
 
 +
;Q. Can you change the scroll speed<br>
 +
:A. No you can't change the scroll speed<br>
 +
 
 +
;Q. Can you have more than one feed (in the same place)<br>
 +
:A. Yes, just add another feed in the same set.<br>
 +
 
 +
;Q. Can you make the RSS feed update faster<br>
 +
:A. Yes, change the value for updateinterval (minutes)<br>
 +
 
 +
;Q. Are other formats supported.<br>
 +
:A. No only .xml is currently supported<br>
 +
 
 +
;Q. I can't play this feed ....<br>
 +
:A. There seems to be a problem with feeds with no extension (no “.xml” on the end) make sure you check this.<br>
 +
 
 +
;Q. I don't have a RSS feed in XBMC<br>
 +
:A. Can you access IMDb? Yes, then home.xml is configured incorrectly. If not, then your network settings are wrong. Make sure you set the <defaultgateway>-</defaultgateway>correctly if you go through a router.
 +
 
 +
==More Feeds==
 +
NB: These feeds have not been verified...
 +
===CBS News===
 +
Top Stories: [http://www.cbsnews.com/feeds/rss/main.rss http://www.cbsnews.com/feeds/rss/main.rss]<br>
 +
US: [http://www.cbsnews.com/feeds/rss/national.rss http://www.cbsnews.com/feeds/rss/national.rss]<br>
 +
World: [http://www.cbsnews.com/feeds/rss/world.rss http://www.cbsnews.com/feeds/rss/world.rss]<br>
 +
Public Eye: [http://www.cbsnews.com/rss/public_eye.rss http://www.cbsnews.com/rss/public_eye.rss]<br>
 +
Politics: [http://www.cbsnews.com/feeds/rss/politics.rss http://www.cbsnews.com/feeds/rss/politics.rss]<br>
 +
Sci-Tech: [http://www.cbsnews.com/feeds/rss/scitech.rss http://www.cbsnews.com/feeds/rss/scitech.rss]<br>
 +
Health Watch: [http://www.cbsnews.com/feeds/rss/health.rss http://www.cbsnews.com/feeds/rss/health.rss]<br>
 +
Entertainment: [http://www.cbsnews.com/feeds/rss/entertainment.rss http://www.cbsnews.com/feeds/rss/entertainment.rss]<br>
 +
Business: [http://www.cbsnews.com/feeds/rss/business.rss http://www.cbsnews.com/feeds/rss/business.rss]<br>
 +
Opinion: [http://www.cbsnews.com/feeds/rss/opinion.rss http://www.cbsnews.com/feeds/rss/opinion.rss]<br>
 +
 
 +
===BBC News===
 +
UK Edition: [http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml]<br>
 +
World Edition: [http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml]
 +
 
 +
===New York Times===
 +
[http://partners.userland.com/nytRss/nytHomepage.xml http://partners.userland.com/nytRss/nytHomepage.xml]
 +
===Daily Ramblings (Hilarious)===
 +
[http://dailyramblings.com/index.xml http://dailyramblings.com/index.xml]
 +
===Political Wire===
 +
[http://politicalwire.com/headlines.xml http://politicalwire.com/headlines.xml]
 +
 
 +
===XBMC Icon RSS Feeds===
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=22918 Wide Icons - Anime]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=19487 Wide Icons - Apps, Drives, & General]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=16739 Wide Icons - Categories]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=18581 Wide Icons - Emulators]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=19002 Wide Icons - Movies]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=17097 Wide Icons - Seasons]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=16787 Wide Icons - Shows]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=18165 Wide Icons - Xbox Games]
 +
 
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=28 Xbox Games Tilted]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=2556 Xbox Games Non-Tilted]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=19963 Xbox Games - Square Icons]
 +
 
 +
[http://xbmc.ckdvt.com/html/modules/gallery2/main.php?g2_view=rss.SimpleRender&g2_itemId=22803 XBMC Splash Screens]
 +
 
 +
[[category:Customization]]
 +
[[category:Settings]]

Revision as of 20:24, 8 December 2009

Goto: The UserData Folder


The RSSFeeds.xml file within the XBMC\UserData folder contains the RSS feeds which are displayed by XBMC.

Feeds are contained within sets and to have multiple feeds you can just add the feed to the relevent set, you can also have multiple sets...

To use different sets in your skins each must be called from a skin with a unique id.

Look here for more information on adding the feeds to your skin.

This is an example of a feed set:

<xml> <set id="1" rtl="false">

 <feed updateinterval="30">http://feeds.feedburner.com/XboxScene</feed>

</set> </xml>

1 Examples

Here is an example of a full file with mutiple sets and feeds: <xml> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<rssfeeds>

 <set id="1">


   <feed updateinterval="30">http://feeds.feedburner.com/XboxScene</feed>
 </set>
 <set id="2">


   <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30200-1-100,00.xml</feed>
   <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30100-1-100,00.xml</feed>
   <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,31500-1-100,00.xml</feed>
   <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,30400-1-100,00.xml</feed>
   <feed updateinterval="30">http://www.sky.com/skynews/rss/article/0,,91059-1-100,00.xml</feed>
 </set>
 <set id="3">


   <feed updateinterval="30">http://rss.cnn.com/rss/cnn_topstories.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_world.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_us.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_allpolitics.rss</feed>
   
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_law.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_tech.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_space.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_health.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_showbiz.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_travel.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_education.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_freevideo.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_offbeat.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_mostpopular.rss</feed>
   <feed updateinternal="30">http://rss.cnn.com/rss/cnn_latest.rss</feed>
 </set>
 <set id="4">


   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/main.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/national.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/world.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/rss/public_eye.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/politics.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/scitech.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/health.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/entertainment.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/business.rss</feed>
   <feed updateinternal="30">http://www.cbsnews.com/feeds/rss/opinion.rss</feed>
 </set>

</rssfeeds> </xml>

2 XML Tags

set
  • Identifies the set that the feeds belong to. Using multiple sets allows you to display multiple feeds onscreen simultaneously.
id
  • Id of the set
rtl
  • if rtl="true" is set, then XBMC displays the text right to left rather than left to right. Useful for Hebrew and Arabic.
feed
  • Identifies the individual RSS feeds within a set. In the example pictured above, set 1 would show one feed, while set 2 would only several different feeds, one after the other,
updateinterval: The amount of time (in mins) allowed to lapse between updating the feeds

3 Other Questions

Q. What is RSS \ what is a RSS feed
A. RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites like Slashdot, and personal weblogs. But it's not just for news. Pretty much anything that can be broken down into discrete items can be syndicated via RSS: the “recent changes” page of a wiki, a changelog of CVS checkins, even the revision history of a book. Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way.
See the full article on xml.com
Q. Is RSS 2.0 supported?
A. RSS 2.0 is supported
Q. Can you change the scroll speed
A. No you can't change the scroll speed
Q. Can you have more than one feed (in the same place)
A. Yes, just add another feed in the same set.
Q. Can you make the RSS feed update faster
A. Yes, change the value for updateinterval (minutes)
Q. Are other formats supported.
A. No only .xml is currently supported
Q. I can't play this feed ....
A. There seems to be a problem with feeds with no extension (no “.xml” on the end) make sure you check this.
Q. I don't have a RSS feed in XBMC
A. Can you access IMDb? Yes, then home.xml is configured incorrectly. If not, then your network settings are wrong. Make sure you set the <defaultgateway>-</defaultgateway>correctly if you go through a router.

4 More Feeds

NB: These feeds have not been verified...

4.1 CBS News

Top Stories: http://www.cbsnews.com/feeds/rss/main.rss
US: http://www.cbsnews.com/feeds/rss/national.rss
World: http://www.cbsnews.com/feeds/rss/world.rss
Public Eye: http://www.cbsnews.com/rss/public_eye.rss
Politics: http://www.cbsnews.com/feeds/rss/politics.rss
Sci-Tech: http://www.cbsnews.com/feeds/rss/scitech.rss
Health Watch: http://www.cbsnews.com/feeds/rss/health.rss
Entertainment: http://www.cbsnews.com/feeds/rss/entertainment.rss
Business: http://www.cbsnews.com/feeds/rss/business.rss
Opinion: http://www.cbsnews.com/feeds/rss/opinion.rss

4.2 BBC News

UK Edition: http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml
World Edition: http://news.bbc.co.uk/rss/newsonline_world_edition/front_page/rss091.xml

4.3 New York Times

http://partners.userland.com/nytRss/nytHomepage.xml

4.4 Daily Ramblings (Hilarious)

http://dailyramblings.com/index.xml

4.5 Political Wire

http://politicalwire.com/headlines.xml

4.6 XBMC Icon RSS Feeds

Wide Icons - Anime

Wide Icons - Apps, Drives, & General

Wide Icons - Categories

Wide Icons - Emulators

Wide Icons - Movies

Wide Icons - Seasons

Wide Icons - Shows

Wide Icons - Xbox Games


Xbox Games Tilted

Xbox Games Non-Tilted

Xbox Games - Square Icons

XBMC Splash Screens

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox