Re: Converter

On Sun, 04 Nov 2001 17:20:49 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>
wrote:
>* Rijk van Geijtenbeek wrote in ciwas:

>>HTML Tidy does a great job of cleaning up, and converting to the use of
>>stylesheets. In the case you describe I fear manual editing of the files
>>will be needed even after running them through Tidy. For example, the
>>automated process might convert all <font size=-1>..</font> tags to
>><span class=c1>...</span> in one document, and <span class=c2>...</span>
>>in another. This makes it hard to 'just' drop in a system wide linked
>>stylesheet. But there's also the option to just drop all these FONTs
>>before cleaning up.
>
>How could we improve Tidy to ease this?

Implement a clairvoyance module? It's hard to detect logic in random
tagsoup. In my experience, Tidy does what it can. The option to just
ignore the font tags and drop them from the output is invaluable in the
case were you want to impose a generic site-wide style with class-less
selectors. It would be nice if I could do some easy preprocessing: add a
LINK element to all output, for example. I doubt if it would be possible
to prevent all those c1/c20 classes by mapping them to existing classes
(or element selectors) in linked stylesheets. 

>If possible, please follow up to html-tidy@w3.org.

Done. Now to find a place to sign up for that list... It's not on
http://www.w3.org/Mail/Lists.html , though it can be found on
http://lists.w3.org/Archives/Public/ ... 
Ah, only from http://www.w3.org/People/Raggett/tidy/

 

-- 
 If you don't like having choices    |      Rijk van Geijtenbeek
 made for you, you should start      |      mailto:rijk@iname.com
 making your own. -  Neal Stephenson |      http://rijk.op.het.net

Received on Sunday, 4 November 2001 16:26:03 UTC