[dokuwiki] Re: feed problems - Possible Solution

  • From: Thomas Baumann <tom@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 10 Nov 2005 09:30:15 +0100

I changed the parser/xhtml.php to:

<code>
        define('MAGPIE_CACHE_ON', true);
        define('MAGPIE_CACHE_DIR', DOKU_INC.'data/cache/');
        define('MAGPIE_DIR', DOKU_INC.'inc/magpie/');
        define('MAGPIE_OUTPUT_ENCODING','UTF-8'); //return all feeds as UTF-8
        require_once(MAGPIE_DIR.'/rss_fetch.inc');
</code>

No it seems to work. See 

http://inhalt.serviert.de/#letzte_aenderungen

Thanks for your help.

Thomas.

Zitat von Andreas Gohr <andi@xxxxxxxxxxxxxx>:

> On Wed,  9 Nov 2005 16:57:40 +0100
> Thomas Baumann <tom@xxxxxxx> wrote:
> 
> > This error is thrown:
> > 
> > Warning: MagpieRSS: Failed to fetch http://inhalt.serviert.de/feed.php
> > and cache is off in dokuwiki/inc/magpie/rss_fetch.inc on line 246
> 
> The not working self include is a known but obviously unsolved
> problem... See http://bugs.splitbrain.org/?do=details&id=355
> 
> > So how is cache for MagpieRSS controlled by dokuwiki ? I read the line
> > "We do our own caching". 
> 
> Well the rendered page (including the feed output) is cached so usually
> there is no need for caching the feed itself.
> 
> Andi
> 


-- 
Thomas Baumann 
Dipl.-Betriebswirt (BA)

tiri.li information technology
Postfach 11 01 15
D-64216 Darmstadt
fon +49 (0) 7000 - 66 464 66
fax +49 (0) 70000 - 329 329
http://www.tiri.li

This email and any attachments are confidential and are 
intended only for the addressee. If you are not the 
intended recipient of this email and have received it 
in error, please notify the sender immediately by reply 
email and then delete it from your system. 



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: