cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject [C2] Generator which can do HTML->XHTML
Date Fri, 27 Oct 2000 20:50:59 GMT
HTMLGenerator can be used to collect content from external web sites. It uses JTidy from
http://lempinen.net/sami/jtidy/. 

This was inspired by the following thread 
   http://marc.theaimsgroup.com/?t=97240792100003&w=2&r=1

Here's the generator entry.
   <map:generator  name="html" src="org.apache.cocoon.generation.HTMLGenerator"/>

Here's the pipeline entry.
   <map:match pattern="javasoft">
    <map:generate type="html" src="http://www.javasoft.com"/> 
    ....
    ....
   </map:match>

If you are within a firewall, make sure you set the following params in the java.exe command
line.

   java.exe -DproxySet=true -DproxyHost=caproxy.cai.com -DproxyPort=80 ....

Thanks,
dims


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/
Mime
View raw message