[pmwiki-users] RSS URLS Construct
Patrick R. Michaud
pmichaud at pobox.com
Fri Mar 16 14:40:20 CDT 2007
On Fri, Mar 16, 2007 at 09:33:46AM -1000, Sivakatirswami wrote:
> Patrick R. Michaud wrote:
> I have in /pmwiki/local/farmconfig.php
>
> the following:
>
> ### Enable Feeds
> if ($action == 'rss') include_once('scripts/feeds.php');
> if ($action == 'atom') include_once('scripts/feeds.php');
> if ($action == 'rdf') include_once('scripts/feeds.php');
> if ($action == 'dc') include_once('scripts/feeds.php');
>
> What am I missing?
You might need these to be "$FarmD/scripts/feeds.php"
if ($action == 'rss' || $action == 'atom' || $action == 'rdf' || $action == 'dc')
include_once("$FarmD/scripts/feeds.php");
Pm
More information about the pmwiki-users
mailing list