forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [RT] RAW content
Date Fri, 26 Nov 2004 18:52:11 GMT
Juan Jose Pablos wrote:
...
> How about providing users with examples on 
> how to extend that funcionality with sitemaps?
> 
> This is a custom sitemap that you can use if you have a javadocs directory:
> 
> <?xml version="1.0"?>
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
>  <map:components>
>  <map:readers default="resource"/>
>  </map:components>
>  <map:pipelines>
>   <map:pipeline>
>    <map:match pattern="javadocs/*">
>     <map:read src="{project:content.xdocs}/{0}" mime-type="text/html"/>
>    </map:match>
>   </map:pipeline>
>  </map:pipelines>
> </map:sitemap>

a - It doesn't work with the CLI.
b - it forces users to write a sitemap snippet which I want to avoid

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message