THUFIR HAWAT wrote:

On 8/13/05, Antonio Gallardo <[EMAIL PROTECTED]> wrote:
THUFIR HAWAT wrote:
...
There is also a jtidy generator inside cocoon. Check the html block:

http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/generation/

Best Regards,

Antonio Gallardo.
...

Are you sure that's JTidy?

Yes, of course! ;-)

It looks like there's a Generator, the
author says "Adding a NekoHTMLGenerator. I wondered whether to extend
the existing HTMLGenerator to use Neko or JTidy, but decided on a new
Generator.

The NekoHTMLGenerator is newer. I updated neko last week and added a simple sample to the cocoon demo:

http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=112336860731216


They could be merged if necessary.
Yep. we need to keep backward compatibility. I saw there is a small issue related to config parameters in both, see: *neko-config and **jtidy-config. I don't had time to check if there is big diferences between this paramters. I believe there is.

*Anyway, since both HTMLgenerators are pretty similars I think we can build an AbstractHTMLGenerator class for them.

This is the first Jar I've committed. Can someone check I've done
gump, licence, etc, correctly?" about HTMLGenerator.java, but then
there's a NekoHTMLGenerator.java which definitely sounds like it's
Neko, which would make sense, Neko being an Apache project.
Yep. Both jars (jtidy and neko) are already in cocoon (search for nekohtml and jtidy):

http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/lib/optional/


Most interesting :)

I have some HTML I'm trying to convert to XHTML.  Most recently I was
at the bookstore reading "XML hacks", but they closed before I could,
err, "memorize" some of the hacks.
lol. I believe you don't need the hacks anymore. ;-)

Anyhow, this looks like an alternate way to process HTML in a sort of
"screen-scrape" idea.  Thanks for the info!
You are welcome! ;-)

Best Regards,

Antonio Gallardo.

-Thufir

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to