Javier P. L. wrote:
> Hi, 
> 
> I am using Nutch for news sites crawling, I have a problem with one of
> them that publishes the urls with & instead of &. I discovered the
> use of the url normalizer and the regex-normalize.xml configuration
> file. Unfortunately I did not find too much examples about how to use
> the regular expressions and substitutions, so I was trying different
> combinations to make the transformation but it did work. 
> 
> Basically what I want is to convert  
> 
> noticia.jsp?CAT=126&TEXTO=100000109668
> 
> in 
> 
> noticia.jsp?CAT=126&TEXTO=100000109668
> 
> because otherwise Nutch is not capable to crawl those pages.

A more basic question to this: How do your URLs with & end up in
nutch? It's okay/right that they should be written with & in
HTML-source to be "clean", but when storing the URLs shouldn't Nutch
itself already convert them to & for storing/fetching?


Regads,
 Stefan

Reply via email to