[Pmwiki-users] Stylesheet support in PmWiki 0.6

Nathan Jones nathanj
Fri Oct 17 00:13:06 CDT 2003


Patrick wrote (in "Re: [Pmwiki-users] Page Revisions in Safe-Mode"):

>The 0.6.beta series of PmWiki will probably start in the next few days,
>and will be including author-tracking of changes, a PHP-based diff
>engine, a switch to stylesheet-based default layouts, and other...

Sounds good! Can you tell us a bit more about how the stylesheet-based
default layouts will work?

Seeking a way to have styles located in external CSS files instead of
hardcoded into the page, I had a look at ExternalCSS in the Cookbook. It
doesn't actually give the browser links to external stylesheets - it
reads them in and includes the styles in each page generated.

I have started working on a variant that uses <link rel="stylesheet"...
tags [1], but have not yet finished. Should I continue, or wait for
version 0.6?

>Sorry I've been absent from development for a while--apparently I 
>needed a bit of a break from things.

Taking a break is a good thing. Besides, we'd hate you to get so
burnt-out that you couldn't continue work on such a useful tool. :-)

-- 
Nathan Jones

[1] Example output (each link tag only generated if file exists):

<link rel="stylesheet" type="text/css" href="pub/wiki-defaults.css">
<link rel="stylesheet" type="text/css" href="pub/local.css">
<link rel="stylesheet" type="text/css" href="pub/Group.css">
<link rel="stylesheet" type="text/css" href="pub/Group.Page.css">

BodyWidth was to remain hardcoded so that custom widths set by existing
users would still be honoured.



More information about the pmwiki-users mailing list