How to Parse XML Feed on my PHP page

How to Parse XML Feed on my PHP page

am 14.02.2008 02:06:45 von Chris Carter

Hi,

I have never done parsing of an XML feed or URL on my PHP page. Basically
there is a website that shows products, in order to list those products on
your page you need to parse the XML URL that they provide.

I have no experience to this, have been searching on this but have not got a
clue. Seeking an advice as to how can I really get to show those products on
my PHP page.

Example URL is:

http://xmlfeeds.somesite.com/?p=12345&f=123&s=gifts

Thanks in advance,

Chris
--
View this message in context: http://www.nabble.com/How-to-Parse-XML-Feed-on-my-PHP-page-t p15471880p15471880.html
Sent from the Php - Database mailing list archive at Nabble.com.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: How to Parse XML Feed on my PHP page

am 14.02.2008 08:14:20 von Vikas Jayna

Take a look at the pear XML_Feed_Parser package at
http://pear.php.net/package/XML_Feed_Parser for parsing Atom & RSS feeds

For parsing normal xml documents try XML_Parser package
http://pear.php.net/package/XML_Parser

Vikas Jayna


Chris Carter wrote:
>
> Hi,
>
> I have never done parsing of an XML feed or URL on my PHP page. Basically
> there is a website that shows products, in order to list those products on
> your page you need to parse the XML URL that they provide.
>
> I have no experience to this, have been searching on this but have not got
> a clue. Seeking an advice as to how can I really get to show those
> products on my PHP page.
>
> Example URL is:
>
> http://xmlfeeds.somesite.com/?p=12345&f=123&s=gifts
>
> Thanks in advance,
>
> Chris
>

--
View this message in context: http://www.nabble.com/How-to-Parse-XML-Feed-on-my-PHP-page-t p15471880p15475221.html
Sent from the Php - Database mailing list archive at Nabble.com.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php