W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: Tidy and Custom Tags

From: Charles Reitzel <creitzel@rcn.com>
Date: Mon, 25 Nov 2002 12:13:51 -0500
Message-Id: <4.3.2.7.2.20021125120958.02c30160@pop.rcn.com>
To: Bill Burton <billb@progress.com>
Cc: html-tidy@w3.org

Hi Bill,

Good idea.  But it seems doable by the app or a simple helper function.  If 
you write a tld parser function, can you post it?   We could put it in the 
contrib section on Source Forge.

take it easy,
Charlie

At 11:50 AM 11/25/2002 -0500, Bill Burton wrote:

>Hello,
>
>A nice enhancement for formatting JSP's would be for Tidy/jTidy to 
>automatically add support for whatever tags are declared in the .tld (tag 
>descriptor library) file(s).  There would need to be a new option to allow 
>specifying the path to the web.xml so it could derive the path to the 
>.tld's or jar file(s) containing .tld's.
>
>-Bill
>
>Charles Reitzel wrote:
>>You can tell Tidy about new block, empty, inline and preformatted tags. 
>>See (respectively):
>>http://tidy.sourceforge.net/docs/quickref.html#new-blocklevel-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-empty-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-inline-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-pre-tags
>>take it easy,
>>Charlie
>>
>>At 10:18 AM 11/25/2002 +0000, Julian Voelcker wrote:
>>>I have a CMS app that stores chunks of HTML into a database, however am 
>>>noticing that the code provided by the editor isn't that clean and would 
>>>like to use Tidy to clean it up.
>>>
>>>The only problem is that we have added some of our own custom tags to 
>>>the html.
>>>
>>>Is there any way to provide Tidy with an exceptions list of tags to ignore?
>>>
>>>Cheers,
>>>
>>>Julian Voelcker
>>>The Virtual World (UK) Limited
>>>Cirencester, United Kingdom
>
Received on Monday, 25 November 2002 12:11:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC