Re: Tidy Integration

> Certainly it is a possibility - the question is where to integrate it?
> 
> It would be useful to be able to run tidy over content that is imported into
> Amaya. At the moment Amaya tries to do error correction on pages so it can
> render them. It would be good if there were more detail available about what
> it has changed, and if it was integrated it should be possible to use the
> resources of the Amaya team for something else, and leave the development of
> error correction to the Tidy project.
> 
> As an alternative, it might be useful to be able to run tidy over a source
> view of a document.
> 
> In either case, maybe it should be possible to attach it via the
> edit->transformations menu. It has some neat functions like removing font
> tags and converting them to stylesheet rules that would be good to have in
> Amaya (maybe this function could be attached via the styles menu seperately).
> 
> It might also be a good example of how to use Tidy in another program.

I don't think a strong integration is necessary. As Amaya works always on 
local
temporary files, these files can be processed by Tidy first. Any Amaya 
contributor
can work on that integration. He has to add the launching of Tidy at the right 
time.
But that will generate some problems because in this case the document 
displayed by
Amaya won't be the original document. Errors will be fixed without feedback
and the document tree will be altered so existing and new generated annotations
will be broken.

> Note that Amaya produces valid output anyway.
> 
> cheers
> 
> Charles
> 
> On Fri, 11 Jan 2002, Brant Langer Gurganus wrote:
> 
>   Since Tidy is written in C as well, is integration of HTML Tidy with Amaya a
>   possibility.  I do know that Tidy has moved to Sourceforge.
> 
>   Brant Langer Gurganus
>   "The Computer Guru"
> 
>   Webmaster:
>   http://troop545.cjb.net
>   http://www.msdpt.k12.in.us/etspages/ph/index.html
>   http://www.firecrafter.org
> 
> 
>   ---
>   Outgoing mail is certified Virus Free.
>   Checked by AVG anti-virus system (http://www.grisoft.com).
>   Version: 6.0.313 / Virus Database: 174 - Release Date: 1/2/2002
> 
> 
> -- 
> Charles McCathieNevile    http://www.w3.org/People/Charles  phone: +61 409 134 136
> W3C Web Accessibility Initiative     http://www.w3.org/WAI    fax: +1 617 258 5999
> Location: 21 Mitchell street FOOTSCRAY Vic 3011, Australia
> (or W3C INRIA, Route des Lucioles, BP 93, 06902 Sophia Antipolis Cedex, France)
> 
> 

Received on Tuesday, 15 January 2002 03:31:52 UTC