Dave

Put this in your main sitemap, right under <map:components>

<map:selectors>
        <map:selector name="host" logger="sitemap.selector.host" 
rc="org.apache.cocoon.selection.HostSelector">
                <host name="somesitename1" value="www.some-site.com"/>
                <host name="somesitename2" value="www.sine-site-2.com"/>
        </map:selector>
</map:selectors>

And put this in the pipeline:

<map:select type="host">
        <map:when test="somesitename1">
                <map:mount src="file://somesite1/sitemap.xmap" check-reload="yes"/>
        </map:when>
        <map:when test="somesitename2">
                <map:mount src="file://somesite2/sitemap.xmap" check-reload="yes"/>
        </map:when>
</map:select>

Now, create 2 different sitemaps for the 2 domains (somesite1, somesite2).

Good luck!

Regards,

Arjé Cahn


---------------------------------------------------------
Content Management Department
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel  +31 (0)20 6345173 
Fax +31 (0)20 6345179
arje(at)hippo(dot)nl / www.hippo.nl


---------------------------------------------------------------------
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]>

Reply via email to