Thomas Balthazar wrote: > and i want to save the output (the html file) instead of simply viewing > it with my browser. > Can you please give me some clues.
Cocoon offers a wonderful, if less-than-optimal documented command-line interface that crawls itself given a starting point URL. You can easily invoke this commandline interface using Ant or from a little batch file. If you want an example of this, check the 'build docs' target that comes with Cocoon, or have a look at Forrest which does the same thing. I don't immediately recall some location documenting all of its commandline option, as always there is the source code as a reference: http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-cocoon2/src/java/org/apache/cocoon/Main.java?rev=HEAD&content-type=text/plain An example Ant target which invokes this behaviour, copied from Forrest build.xml: <java classname="org.apache.cocoon.Main" fork="true" dir="${dir.containing.docs}" failonerror="true"> <arg value="-c."/> <arg value="-d../docs"/> <arg value="-w../work"/> <arg value="-l../work/cocoon.log"/> <arg value="-u${centipede.tools.cents.forrest.loglevel}"/> <arg value="index.html"/> <classpath> <path refid="classpath"/> <fileset dir="${build.dir}"> <include name="*.jar"/> </fileset> <fileset dir="${tools.dir}"> <include name="*/lib/*.jar"/> </fileset> <pathelement location="${tools.jar}"/> <pathelement location="${build.context}/WEB-INF/classes"/> </classpath> </java> or check http://xml.apache.org/forrest/ HTH, </Steven> -- Steven Noels http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>