Parsing XML Question...

I am in the early stages of my first widget. Basically what I would like to do is
create a widget that will parse the XML from an IP Board forum then display it on
the TV.

Right now I am looking at the prospective XML feed output and notice that there is the following:

<text><!--cached-Mon, 27 Dec 2010 11:08:48 +0000--><p class='citation'><a class='snapback' rel='citation' href='http://someforum.org/someforum/index.php?app=forums&amp;module=forums&amp;section=findpost&amp;pid=1922145'><img src='http://someforum.org/someforum/public/style_images/master/snapback.png' alt='View Post' /></a>abcdefg426, on <!--{timestamp:1292775601:long}-->, said:</p><div class="blockquote"><div class='quote'>
Thanks John, i&#39;m glad to see at least you&#39;re still here. <img src='http://someforum.org/someforum/public/style_emoticons/default/wink.gif' class='bbc_emoticon' alt=';)' /><br /></div></div><br />
How long have you been here?

When I use something like:
print('Parsing the XML Feed\n'+response+'\n'); //We will be showing the Response Data in the terminal
extra.view.config.Feed_XML = XMLDOM.parse( response ); //If we get a valid reponse back we need to parse out the XML

...what happens to the http related stuff? Do I need to parse that stuff out to ignore it?
There is data inside the <text></text> that I would need like the plain text of a <div class='quote'>



0 Replies

Recent Posts

in Design / Interaction - Yahoo! TV Widgets