PDA

View Full Version : Rss problems...


Livin
2005-06-17, 02:28
rss feed is not diaplaying at all.



xboxmediacenter.xml code...
*<rss>
* *<set id="1">
* * *<feed updateinterval="30">http://xml.newsisfree.com/feeds/96/696.xml</feed>
* *</set>
* *<set id="2">
* * *<feed updateinterval="30">http://www.xbox-scene.com/xbox1data/xbox-scene.xml</feed>
* *</set>
* *<set id="3">
* * *<feed updateinterval="30">http://www.xbox-scene.com/xbox1data/xbox-scene.xml</feed>
* *</set>
*</rss>


home.xml code...

* *<control>
* * *<description>rss feed</description>
* * *<type>rss</type>
* * *<id>1</id>
* * *<posx>0</posx>
* * *<posy>474</posy>
* * *<width>720</width>
* * *<font>font13</font>
* * *<urlset>0</urlset>
* * *<titlecolor>ffffd200</titlecolor>
* * *<headlinecolor>ddced8da</headlinecolor>
* * *<textcolor>60ffffff</textcolor>
* *</control>



help?

spiff
2005-06-17, 06:11
since you're asking it to show urlset 0 while you only have 1 and 2 defined, i'm not surprised

Livin
2005-06-17, 18:30
then someone needs to change the xbmc manual to be correct...


as of june 6th 2005, the rss feed specifications are given in xboxmediacenter.xml. see the section starting with <rss>. what you can do is add a new feed <set> as is laid out there. there can be multiple <set>'s, and multiple <feed>'s in each <set>. each rss control in the skin then references a <set> as defined in xboxmediacenter.xml. if there is more than one <feed> in a set it will display one feed after the other. you specify in the skin (currently home.xml in the default skin) which <set> you want displayed by filling in the <urlset> tag. it's a zero based index into the <rss> section, so specifying <urlset>1</urlset> will use the second <set> listed.

C-Quel
2005-06-17, 21:29
this has already been fixed by pike in latest cvs changelog so feel free to edit manual "affini" :)

spiff
2005-06-18, 15:41
ah, sorry, it was like that before the id="#" attribute was added :)

spiff