[dokuwiki] Re: How to generate static HTML from dokuwiki

  • From: Marc Haber <mh+dokuwiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 Oct 2005 14:15:05 +0200

On Thu, Oct 27, 2005 at 02:10:52PM +0200, Harry Fuecks wrote:
> > But I do not know how to:
> >
> >   * invoke the print style from the URL line and
> 
> When you store the CSS files, why not just overwrite style.css with
> print.css? That means the default becomes the print style.
> 
> >   * have dokuwiki return intrawiki links in a format that makes the
> >     link targets show in print style as well.
> 
> You'll probably need to do some search and replace with regexes on the
> pages you download. There's a simple example of doing this with Perl
> here: http://mia.ece.uic.edu/~papers/perl/msg00002.html

Wouldn't it be nice to have that taken care of by dokuwiki? For
example, adding "&style=print" to invoke the print CSS, and having
that URL suffix automatically added to the intrawiki URLs being
generated? I don't know enough PHP to be able to judge whether this
would be a big change to dokuwiki's sources, but maybe someone on this
list can comment about that.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: