Thanks for the help. Now it works.
In the page
http://cocoon.apache.org/2.1/userdocs/offline/index.html
the text about follow-links doesn't appear as a 'must do' but as an
explanation of how the follw-links could work. Perhaps a more direct
expression could help the users; something like
"If you want to use the follow-links option, you need to have the
following map:view declaration... or ..."
Introducing the map:views has been a good progress.
Next another problem appears with a redirect-to
The lines
<map:match pattern="table.*.*.html">
<map:redirect-to uri="select?element={1}&attribute={2}"/>
</map:match>
which works online in my site and doesn't work with the CLI.
I need to replace these lines by:
<map:match pattern="table.*.*.html">
<map:generate
src="cocoon:/select?element={1}&attribute={2}"/>
<map:serialize/>
</map:match>
The solution was hard to find because the problem appears with an
unclear Java error message about unability to access a completely
different file.
On 5/16/05, Upayavira <[EMAIL PROTECTED]> wrote:
> My first guess would be to look at the HTML of your page, and see
> whether there are any namespaces that might confuse the link gatherer.
>
> Secondly, I asse your site works if it is mounted on svgtestsuite/ in
> servlet mode?
>
> Regards, Upayavira
>
>
> Jean-Claude Moissinac wrote:
> > I'm using Cocoon 2.1.7 in command line mode to generate a static site.
> > I'm unable to obtain that the CLI command recursively generate the
> > pages. I only obtain the starting page.
> >
> > DETAILS:
> > Similarly with the sample cli.xconf, which generate the docs, I've
> > writed a clisvg.xconf that I call with
> > cocoon.bat cli -x clisvg.xconf
> >
> > and in clisvg.xconf which is manly a copy of cli.xconf, I start with
> > <uris name="svg" follow-links="true">
> > <uri type="append" src-prefix="svgtestsuite/" src="linklist.html"
> > dest="build/svgdest/" />
> > </uris>
> > and expect to obtain all the pages referenced in linklist.html. I only
> > obtain linklist.html.
> > linklist.html is generated and is mainly a list of lines as:
> > <a href="intro.html">Introduction</a>
> > <br>
> > <a href="table.a.html">
> > Samples with element a</a>
> >
> > In this case, I expect to get linklist.html, intro.html, table.a.html
> > (which are correctly generated in my static site).
> >
> > I've tired to analyse in depth the cli.xconf sample (which works),
> > without obtaining a progress.
> >
> > Is there some limits on the follow-links parameter? how can I
> > understand these limits and work with these limits?...
> >
> > Thank's in advance for any help
> >
> > --
> > --
> > Jean-Claude Moissinac
> > Department of Computer Science and Networks
> > ENST Paris
> > FRANCE
> >
> > E-mail: [EMAIL PROTECTED]
> > Tel: (+33) 1.45.81.80.88
> > Fax: (+33) 1.45.81.71.58
> >
> > http://shadok.enst.fr/jcm
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
--
--
Jean-Claude Moissinac
Department of Computer Science and Networks
ENST Paris
FRANCE
E-mail: [EMAIL PROTECTED]
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58
http://shadok.enst.fr/jcm
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]