Re: How to open and read "feed:" in PHP?



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.
.



Relevant Pages

  • Re: How to open and read "feed:" in PHP?
    ... 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 ... said they didn't support "feed:". ...
    (comp.lang.php)
  • Re: How to open and read "feed:" in PHP?
    ... program to produce a report. ... I'm not interested in converting it to ... Question: Is a URL that starts with feed: output XML? ... Question: How do I open a feed: URL in PHP and parse it? ...
    (comp.lang.php)
  • Re: get_memory_usage() and mysql resource usage?
    ... suspect memory or resource limits in MySQL might be the problem. ... I have a set of php scripts which query the database with some pretty ... report, it take about 30-45 seconds to generate, and 5 MB of memory, ...
    (alt.php)
  • Stuck & Need Help with "Generate Report"
    ... I need to complete this "Generate Report" page for my employer and I'm ... What I want to do is create a single file to display and process the ... can I have this page split PHP | HTML |PHP when using the "if ... php file so that if sumbitted, here is the query and output BUT if not ...
    (comp.lang.php)
  • Re: group by report
    ... okay a little background, I know php and mysql, so most of the stuff i ... do is moving client to server to client. ... in order to make the report more readable, we sort based on the req ... the group of each unique order number. ...
    (microsoft.public.excel.misc)