Re: REMOTE FILE ?

From: Date: Wed, 22 May 2002 08:46:45 +0000
Subject: Re: REMOTE FILE ?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6318@lists.php.net to get a copy of this message
(Fabien) >> I'm looking for a Remote_File class in PEAR. I want to get news from another >> site through RSS remote files. But i don't want to access to to the remote site >>at every time i display its news on my site. Because, if the remote site is down >>or slow... >>So I need a class which make a local cache copy of the remote file. Every x >>hours, the cache is updated. But if the remote site is down, the local cache >>copy is keeped. >>So is there a class like this in PEAR ? or in developpement ? If not, and of >>course if you're interested in, i would be very proud to make it by using >>PEAR/CACHE and PEAR/HTTP_REQUEST. (Wolfram) > i think this is exactly the way to go, use PEAR:Cache and the RSS class from Martin and it should be easily realizable. > you can simply cache the result from the RSS-class, you dont need to cache the rss-file itself here. Yes, your idea to cache RSS-class result is much better. Thanks. So, there is no such class in PEAR ? Fabien

« previous php.pear.dev (#6318) next »