cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject NekoFilter (was Re: svn commit: r1457866)
Date Tue, 19 Mar 2013 10:39:06 GMT
On 03/18/2013 06:08 PM, wrote:
> Author: thorsten
> Date: Mon Mar 18 17:08:25 2013
> New Revision: 1457866
> URL:
> Log:
> Allowing to pass NekoFilter via sitemap.
> Modified:
>     cocoon/cocoon3/trunk/cocoon-optional/src/main/java/org/apache/cocoon/optional/pipeline/components/sax/neko/

Hi all,

I wonder whether the above could be useful for someone. My use case is
that I am crawling a site a sometimes their <script> tag is blowing the
information due to problematic escaping. To solve this Neko offers filters.

I wrote a simple as expression-language so that I can
use it in my sitemap like
<map:generate src="{global:crawler.destination}{map:1}.html" type="html">
  <map:parameter name="neko-filter" value="{nekoFilter:defaultFilter}"/>

For now in the filter class I simply configure the common elements I am
looking for and it is quite basic since I only need one filter for now.

If somebody is interested I can add the nekoFilter as well, but it is
quite generic and more to adopt later this filters for your usecase.


Thorsten Scherler <>
codeBusters S.L. - web based systems
<consulting, training and solutions>

View raw message