2009-10-15, 07:10
Thanks kizer it work great now, Copied you code and everything started working. Thanks again to everyone for this feature and all your help.
HackerHelpDesk Wrote:Not sure how to run sqlite3Explorer on the xbox.
bittihuduga Wrote:sorry, I am running xbmc on my winxp laptop.I'm a little confused as to why you've created both an rss & an .asp file.
i tried creating rss file and .asp file
but i cant see any rss feed in xbmc
can someone help me to set this up?
craigey1 Wrote:You then need to edit the RSSFeeds.xml file in the UserData folder & add the line:
<feed updateinterval="30">http://xbox/rss.asp</feed>
This has to go between the <set id="1"> & </set> tags.
Save the file & restart xbmc.
Fingers X'd
<rss version="2.0">
<channel>
<title>Recently Added TV Shows</title>
<link>http://localhost:8080/rss.asp</link>
<description>Newly added shows</description>
<language>en-us</language>
<item>
<title>something</title>
</item><item>
<title>something else</title>
</item><item>
<title>something </title>
</item><item>
<title>something else again</title>
</item><item>
<title>Even more something</title>
</item><item>
<title>Can there be anymore something?</title>
</item>
</channel>
</rss>
jabba_29 Wrote:Any ideas?
Thanks in advance..
J
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rssfeeds>
<!--RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets.-->
<!--To use different sets in your skin, each must be called from skin with a unique id.-->
<set id="1">
<feed updateinterval="5">http://localhost:8080/rss.asp</feed>
<!-- <feed updateinterval="5">http://192.168.xxx.x/atv/atv.php</feed> -->
<feed updateinterval="30">http://192.168.xxx.x/atv/rss.php</feed>
</set>
</rssfeeds>
jabba_29 Wrote:I have used the code above (well modified a bit, but started with the original)
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Recently Added TV Shows</title>
<link>http://localhost:8080/rss.asp/</link>
<description>Newly added shows</description>
<language>en-us</language>
<%
var Response;
var setHeader;
var resetHeader;
setHeader = xbmcAPI("setresponseformat(webheader;false;webfooter;false;opentag;<tag>;closetag;</tag>;openRecord;<item>;closeRecord;</item>;openField;\n;closeField;\n;closefinaltag;false)");
Response = xbmcAPI("QueryVideoDatabase(SELECT '\n<title>',strTitle,': ', C00,'</title>\n' FROM episodeview ORDER BY idEpisode DESC Limit 6)");
write(Response);
resetHeader = xbmcAPI("SetResponseFormat()");
%>
</channel>
</rss>