[thelist] getting RSS feeds via PHP
Burhan Khalid
thelist at meidomus.com
Sat Sep 20 14:12:26 CDT 2003
Mark Lee wrote:
> Hi all,
>
> I'm trying to write some php to get, parse, and display RSS feeds. Not
> a monumental task, I thought.
> It seems, however, that my web host has fopen(), fsockopen(), and
> similar functions disabled. I tried to be clever and override this
> setting with:
>
> ini_set ( 'allow_url_fopen', '1') or die('oh dang!');
>
> but of course that'd be too easy. Does anyone have any experience with
> alternate solutions? Is there any way to access remote files without
> fopen()? Is this a common function for hosting providers to disable?
There is Snoopy (which is a browser emulator class)
http://snoopy.sourceforge.net
There are a few classes in PEAR that do what you are after. I believe
there is a RSS parser class in PEAR already.
cURL might be another option.
--
Burhan Khalid
thelist[at]meidomus[dot]com
http://www.meidomus.com
More information about the thelist
mailing list