you could put it in a batch file:
php swishconf.php >swish.conf
./swish-e -c 'swish.conf' -S http
OR
wget http://www.domain.com/swishconf.php
<http://www.domain.com/swishconf.php>
etc.
Tac
________________________________
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Nick Fontaine
Sent: Friday, May 09, 2008 4:57 PM
To: users@lists.swish-e.org
Subject: [swish-e] calling a conf file via http
Hello,
When triggering the Swish-e spider, I'm wondering if it's possible to
call the conf file via http. For example, something like this:
./swish-e -c 'http://www.domain.com/swishconf.php' -S http
I'm developing a site that's been setup so PHP files can use certain
global variables (including domain, root path, etc.) specific to
environment. I'd like to utilize these vars for the Swish-e config,but
it means it has to be rendered using PHP and be called via http. Is
there any way to do this?
Thanks,
Nick
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri May 9 17:03:05 2008