Kodi Community Forum
Selective rss feed - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Selective rss feed (/showthread.php?tid=12785)



- Kjetil N - 2005-06-06

i get my rss feeds from a norwegian television site. (http://www.nrk.no/rss)
the problem is that the rss reader looks for <title> and i only get the headlines. the feeds i uses also contain a field named <description> which has more info about the news.

i tried to look in the code to see if i could alter it to plot the <descritption> lines instead of <title> ore both.
but i'm not very good at coding.

so my suggestion is to make more settings in the gui for the rss reader ore a .ini file to configure it..


- Kjetil N - 2005-06-09

i edited the "rssreader.cpp"
changed this:
// add the title tag in if we didn't pass any tags in at all
// represents default behaviour before configurability

if (m_tagset.empty())
addtag("title");

with this:
// add the title tag in if we didn't pass any tags in at all
// represents default behaviour before configurability

if (m_tagset.empty())
addtag("description");



now i get a more details about the actuall news not just the headline.
i've not checked other rss feeds other then nrk's.
a sample from nrk's rss:
- <item>
<pubdate>thu, 09 jun 2005 20:33:47 +0100</pubdate>
<title>omringet by i bolivia</title>
<link>http://www.nrk.no/nyheter/utenriks/4814160.html</link>
<description>flere tusen demonstranter omringet i dag byen sucre i bolivia, der 2000 politifolk beskyttet de folkevalgte mens de vurderte presidentens avskjedssøknad.</description>
<enclosure url="[url]http://www.nrk.no/img/490285.jpeg"[/url] length="3255" type="image/jpeg" />
</item>


- Unit - 2005-06-10

i wish to do the same thing you did, but i can't find that rssreader.cpp file. i had windows search for it, but i got no matching search results Image
maybe i don't have that file because i downloaded the pimped version. just to make sure i'd like to ask you in what directory you found this file...


- Kjetil N - 2005-06-10

you need to download the cvs (the source code)
there you find the file. edit it and then compile the xbmc using visual studio .net along with xdk plugin.