You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Colin W. Kingsbury" <co...@empolis-na.com> on 2003/03/06 06:16:36 UTC

Any way to mount a sitemap from a URL?

Hi,

I am writing a sitemap which directs requests of a certain type to a
sub-map like so:

  <map:pipeline>
    <map:match pattern="foo/**.foo">
      <map:mount uri-prefix="foo" check-reload="yes" src="
foo/foo.xmap"/>
    </map:match>
  </map:pipeline>

This works nice but what I really want is to mount a sitemap from
something like a URL like http://localhost:8080/cocoon-dev/foo/foo.xmap.
I can use that URL to get a copy of the right .xmap but when I plug that
URL in to the src attribute of the mount element I get a big exception
mess.

Is this type of dynamic sitemap loading supported, perhaps in some other
way?

Thanks in advance,
-cwk.


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