[pmwiki-users] Kind-of Blog, a blog for PmWiki
Mikael Nilsson
mini at nada.kth.se
Sat Dec 10 15:47:18 CST 2005
lör 2005-12-10 klockan 16:34 -0500 skrev Ryan R. Varick:
> > And kob also breaks rss in pmwiki 2.0.12:
> >
> > http://kmr.nada.kth.se/wiki/Site/RecentChanges?action=rss
> >
> > Fatal error: Cannot redeclare entityencode() (previously declared
> > in /var/www/kmrwiki/scripts/rss.php:122)
> > in /var/www/kmrwiki/extensions/kob-1.0.3/kob.php on line 1056
>
> Ahhh, good catch. it seems entityencode() is part of the core PmWiki
> distribution. I had the exact same function defined in kob.php. I
> don't know why it was in mine, but I removed it, so KOB shouldn't be
> breaking PmWiki's RSS anymore. Sorry if it caused you any trouble!
Not a big deal :-) Note that rss.php is not included by default, but
usually as
if ($action == 'rss' || $action == 'rdf')
include_once('scripts/rss.php');
in config.php... so you'll need to include it if you want to reuse that
function.
/Mikael
--
Plus ça change, plus c'est la même chose
More information about the pmwiki-users
mailing list