Posted by taps128 on 11/30/07 06:23
eastcoastguyz wrote:
> I'm very new to RSS. I was given a URL that starts with "feed:". I
> want to be able to open this and read in its content into a PHP
> program to produce a report. I'm not interested in converting it to
> HTML.
>
> Question: Is a URL that starts with feed: output XML?
>
> Question: How do I open a feed: URL in PHP and parse it?
>
> Thanks!
>
> Edward
Open it using fopen, file_get_contects or curl, and read it using
simpleXML, or XMLReader.
Navigation:
[Reply to this message]
|