Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: HTML beautifier



On Thu, 23 Jul 1998, Jim Tittsler wrote:

>I'm not aware of a tool like this, but would like to suggest a more rigorous
>methodology, rather than rely on the sort of heuristics you've described.  If
>you fed your HTML through something that could actually parse valid HTML, you

I do that already, but it's just that - a parser - and doesn't convert
anything.

>could recreate the output in your own image.  (My favorite tool for this at
>the moment is htmllib.py/formatter.py of the standard Python distribution.

I'll have to look into this.  Thanks!

>Careful...  you don't want to change the case of things of HREF attributes.

Good point.  I'll need to have a rule for ignoring the first contents of
the first set of quotes after an href.  Thanks!

Jonathan Byrne
Media and Content Section
3Web - Your Internet Solution! <URL:http://www.threeweb.ad.jp/index.en.html>
3Web Channel <URL: http://www.3web.co.jp/>

--------------------------------------------------------------
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links