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

Re: Tidy and Custom Tags; Ant Task support

From: Bill Burton <billb@progress.com>
Date: Mon, 25 Nov 2002 13:02:34 -0500
To: html-tidy@w3.org
Message-id: <3DE265BA.90801@progress.com>

Hello,

Charles Reitzel wrote:
> 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.

Yes, that makes sense.  Maybe it could be included in jTidy but if not, 
it would probably be easiest to write a wrapper for that.

Sorry, I have no plans to add .tld support.  The idea just occurred to 
me having seen several posts for people needing support for their JSP 
taglibs.

-Bill

> 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 13:02:37 UTC

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