RssFeeds.xml

From Official Kodi Wiki
Revision as of 13:21, 24 July 2017 by Grendizer (talk | contribs) (Added xml file location on Windows and one Q-A)
Jump to navigation Jump to search
Home icon grey.png   ▶ RSS ticker ▶ RssFeeds.xml

The RssFeeds.xml file within the userdata folder contains the RSS feeds which are displayed by Kodi.

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, but note that most skins use by default only the first set. So, if you want to display the other sets as well, you will need to edit the skin XML. See details in the RSS feed Control page for more information on adding these feeds to a skin.

This is an example of a feed set:

<xml>
<set id="1" rtl="false">
  <feed updateinterval="30">http://feeds.feedburner.com/Tacos</feed>
</set>
</xml>

Examples

Here is an example of a full file with mutiple sets and feeds:

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <rssfeeds>
 
   <set id="1">
    <!-- 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="2">
     <!-- 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="3">
    <!-- 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. This attribute is used in the skin to reference which content should be displayed in the RSS feed Control
rtl
  • if rtl="true" is set, then Kodi 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

File locations

  • On Windows, appstore version : "C:\Users\%username%\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCac​he\Roaming\Kodi\userdata\RssFeeds.xml"?

Don't use the C:\Program Files\WindowsApps path as you may encounter access denied problems for viewing and editing the xml file. ¤ On Windows, non appstore version : "C:\Users\%username%\AppData\Roaming\Kodi\userdata\RssFeeds.xml".

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. You cannot modify it directly in the RssFeeds.xml file, however you can do this in the skin itself with the <scrollspeed> attribute. See RSS feed Control for details.
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. The feeds I added to RssFeeds.xml don't show up in Kodi
A. If the skin you're using does not display multiple sets, put every feed in set id="1"
Q. I don't have a RSS feed in Kodi
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.