VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1 ]
Subject: CARPCache multiple URL's


Author:
Bob
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 10:33:29 08/10/05 Wed

Hi I am using the free version of CARP to gather XML files and am parsing them with my own script. I am not a programmer and need some help with getting CARPCache to work with multiple URL's. Any help would be appreciated.

Here is my current script:
#!/usr/bin/php -q
require_once '/home/these8/carp/carp.php';
# CarpConf('phperrors',E_ALL);
CarpConf('cacherelative',1);
CarpCache('http://www.millersmiles.co.uk/millersmiles.xml', 'millersmiles.xml');
$file = '/home/mydomain/carp/manualcache/millersmiles.xml';
$newfile = '/home/mydomain/public_html/rss/millersmiles.xml';

if (!copy($file, $newfile)) {
echo "failed to copy $file...\n";
}
?>

I would like to get multiple RSS feeds (URL's) and name each one differently. Any help would be appreciated. Thanks.

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: CARPCache multiple URL'sBob12:54:25 09/23/05 Fri
Re: CARPCache multiple URL'sAntone14:41:36 10/21/05 Fri


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.