cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Mieth <simon.mi...@gmx.de>
Subject Re: CLI Recursion Again
Date Fri, 14 Jan 2005 11:17:46 GMT
On Fri, 14 Jan 2005 00:15:14 +0100
Alexander Schatten <alasan@gmx.at> wrote:


> >
> >http://localhost:8888/my/site/index.html?cocoon-view=links
> >
> >This should give a list off all links in the page.
> >
> >
> >  
> >
> no, it does not: the page is rendered as usual, no difference; but the

> page is rather simple; just a series of html links... so it should
find 
> a lot of sub-pages...
> 
> 
> really, have no further idea...?
> 
> 
> 
> Alex
> 

Hi,

have you inside your sitemap.xmap the following view:

<map:sitemap>

<map:components/>

<!-- add this in all subsitemaps too -->

<map:views>
 <map:view from-position="last" name="links">
     <map:serialize type="links"/>
 </map:view>
</map:views>

<map:pipelines/>

</map:sitemap>

This is needed in a subsitemap.xmap too.

This view gives back a list of all links (plain-text).

You can try this with

http://localhost:8888/docs/index.html?cocoon-view=links

gives a list of all links of the cocoon-docmentation.


The serializer normally find all html-links and image-src.

Maybe you can test your pipeline with <map:serialize type="links"/>
instead of <map:serialize type="html"/> to test if the serializer works.


Are there  errors or exceptions inside the logs?

Best Regards,

Simon




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


Mime
View raw message