Selective rss feed
#1
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..
Reply
#2
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>
Reply
#3
Star 
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...
Reply
#4
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Selective rss feed0