Re: Running Tidy while generating docs?
| From: | Tobias Schlitt | Date: | Mon, 10 May 2004 15:17:47 +0000 |
| Subject: | Re: Running Tidy while generating docs? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-3931@lists.php.net to get a copy of this message | ||
Hi Martin Jansen! You wrote:
>> > > Why in the world would one want to read the source of the manual HTML
>> > > pages?
>> > The question is: "What if anyone tries to read the source?".
>> I know I've read the source while working to improve pearweb's appearance,
>> and boy was I sorry I even looked. Scarry! It left me wondering what was
>> going through the minds of the people who wrote the DocBook -> HTML
>> converter.
>> The most "efficient" way to handle this would be to have the conversion
>> from DocBook make good (X)HTML to begin with.
> That would require switching from DSSSL to XSL. Any volunteers? ;)
Or running Tidy! :) AFAIK Tidy is able to take any kind of HTML input and
generate valid, well formed, nice looking XHTML out of it.
>> But, I can't say this is all that important.
> Agreed.
Right, it is not that important, but IMHO a very low-hanging fruit since you
only have to call 2-3 PHP functions after the HTML is generated.
Regards,
Toby
--
Tobias Schlitt
a passion for php http://www.schlitt.info