You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Carl Yestrau <ca...@criticalmass.com> on 2004/08/10 23:49:00 UTC

Cocoon Pathing Strategies

Hello all,
I am currently building and web application that follows a content
hieararchy:

sitemap matcher:
<map:match pattern="*/**/*.html">

example url(s):
/en/superstars/david_hasselhoff.html
/en/one_hit_wonders/neil_patrick_harris.html

The problem I am running into relates to versatile pathing, one that works
within the cocoon servlet and cli.

If I leave the href value absolute, I can view the pages within the servlet
but the cli will not crawl the site?

Is the only alternative to calculate each url relative path? This seems
extremely awkward and I am looking for some advice,
Carl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon Pathing Strategies

Posted by Upayavira <uv...@upaya.co.uk>.
Carl Yestrau wrote:

>Hello all,
>I am currently building and web application that follows a content
>hieararchy:
>
>sitemap matcher:
><map:match pattern="*/**/*.html">
>
>example url(s):
>/en/superstars/david_hasselhoff.html
>/en/one_hit_wonders/neil_patrick_harris.html
>
>The problem I am running into relates to versatile pathing, one that works
>within the cocoon servlet and cli.
>
>If I leave the href value absolute, I can view the pages within the servlet
>but the cli will not crawl the site?
>
>  
>
What do you mean the CLI won't crawl the site? Can you give some 
examples? Absolute links work in sites on which I use the CLI.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org