[dokuwiki] Re: how to implement auto sitemap generation

  • From: Thomas Baumann <tom@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx, Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • Date: Thu, 29 Dec 2005 21:49:47 +0100

I finally found why there is no sitemap creation. But I still don't
have a solution.

The Problem is the line
   if(isHiddenPage($id)) return false;

When I remove this line the sitemap is created, but 
what about the restricted contents ?

Where is the fault in the function isHiddenPage ?

Thanks for any help in advance.

Thomas.

Zitat von Andreas Gohr <andi@xxxxxxxxxxxxxx>:

> On Tue, 13 Dec 2005 10:22:36 +0100
> Thomas Baumann <tom@xxxxxxx> wrote:
> 
> > Thanks for the new darcs changes.
> > 
> > Now I get with 
> > 
> > lynx "http://inhalt.serviert.de/lib/exe/indexer.php?debug=1"; --dump
> > --source
> > 
> > runIndexer(): started
> > runSitemapper(): started
> > runSitemapper(): using
> > /home/inhalt.serviert.de/html/dokuwiki/sitemap.xml.gz runSitemapper():
> > creating sitemap using 285 pages <?xml version="1.0"
> > encoding="UTF-8"?> <urlset
> > xmlns="http://www.google.com/schemas/sitemap/0.84";>
> >   <url>
> >     <loc>http://inhalt.serviert.de/kunden/adpartner</loc>
> >     <lastmod>2005-11-08T13:03:16+01:00</lastmod>
> 
> Hmm you shouldn't get this on you screen. The XML stuff is meant to be
> catched by output buffering. That implies something is wrong with your
> PHP install!? But I haven't the slightest idea what.
> 
> Andi
> 
> PS: Please only reply to the list, do not CC me. (Hit "Reply" not "Reply
> to all")
> 


-- 
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: