Page 1 of 1

Displaying certain tags of an RSS feed

Posted: Sat Nov 05, 2005 10:18 pm
by gdsdiscgolfer
I have an RSS feed set up at:
http://xoap.weather.com/weather/local/0 ... 4543d24403

Under the tag

Code: Select all

<cc>
I need to display the "tmp" tag.
Under the

Code: Select all

<day d="0".....>
I need to display the "low" tag...
Under day d="1", I need to display both high and low.

How do I parse this RSS feed so that I can read and display just these few tags? Many thanks, Shane

Posted: Sat Nov 05, 2005 10:24 pm
by feyd
using an XML or RSS parser, you can probably filter the information..

http://pear.php.net/package/XML_RSS