Help making RSS work

Grentz

New member
Help with RSS plugin.

I am looking to make a plugin that reads the RSS data from a RSS feed on my tivo.

Here is a sample of what the code looks like from the Tivo:
Code:
<item>
<title><![CDATA[On Deadly Ground]]></title><link>http://192.168.0.70/showing/67246/12</link>
<description><![CDATA[An oil-company trouble-shooter must blow up his employer's unsafe refinery to protect Inuit land in the far North.]]></description><guid>http://192.168.0.70/showing/67246/12</guid>
<pubDate>Mon, 18 Dec 2006 05:35:00 GMT</pubDate>
</item>
<item>
<title><![CDATA[The Oblongs]]></title><link>http://192.168.0.70/showing/70854/12</link>
<description><![CDATA["Father of the Bribe" A bribe for the mayor ends up in the twins' hands.]]></description><guid>http://192.168.0.70/showing/70854/12</guid>
<pubDate>Mon, 18 Dec 2006 06:30:00 GMT</pubDate>
</item>
I have dug into some of the included RSS plugins to see if i can work something out and it seems that all the plugins use the regex= lines to determine what is shown from the feed. I have gotten the feed to show up by using the regex line like this:
Code:
opt09="regex=(?is)<item>.*?<title>(.*?)</title>.*?<item>.*?<title>(.*?)</title>.*?<item>.*?<title>(.*?)</title>"
The problem ist hat each item also gets the extra bit of information <![CDATA[ and ]]>. I really only want the information int he middle of that (and I do not need the pubdate or description info). Is there someway I could do this?

I have been looking at how to use regex but have not found any good easy guides on it.

Thanks,
Grentz
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

Grentz

New member
Ok, sorry, nm

I found a workaround by changing the RSS generator on the Tivo so it did not have that extra info.

I think i was having problems as the [ is used in regex for other things even though i wanted it to find and disregard it.
 
Top