You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Manoharam Reddy <ma...@gmail.com> on 2007/05/31 09:07:37 UTC
What is parse-oo and why doesn't parsed PDF content show up in cached.jsp ?
Some confusions regarding plugins.includes
1. I find a "parse-oo" in the plugins folder. What is that for?
2. I have enabled "parse-pdf" by including in "plugins.include" of
nutch-site.xml. The pages now come in the search result. But when I
visit the cached page of the result. It shows a message like this:-
The cached content has mime type "application/pdf", click this link to
download it directly.
Is it not possible to display the parsed content of the PDF instead of
this message?
Re: What is parse-oo and why doesn't parsed PDF content show up in cached.jsp ?
Posted by Doğacan Güney <do...@gmail.com>.
On 6/12/07, Manoharam Reddy <ma...@gmail.com> wrote:
> How can I change it to read from <segment>/parse_text instead of
> <segment>/content ?
>
If you are using Nutch's web ui, you have to change this part in cached.jsp :
<% } else { %>
The cached content has mime type "<%=contentType%>",
click this <a href="./servlet/cached?<%=id%>">link</a> to download it directly.
<% } %>
You can get a url's ParseText with bean.getParseText(details).
--
Doğacan Güney
Re: What is parse-oo and why doesn't parsed PDF content show up in cached.jsp ?
Posted by Manoharam Reddy <ma...@gmail.com>.
How can I change it to read from <segment>/parse_text instead of
<segment>/content ?
On 5/31/07, Doğacan Güney <do...@gmail.com> wrote:
> Hi,
>
> On 5/31/07, Manoharam Reddy <ma...@gmail.com> wrote:
> > Some confusions regarding plugins.includes
> >
> > 1. I find a "parse-oo" in the plugins folder. What is that for?
>
> Plugin parse-oo has something to do with parsing OpenOffice.org
> documents, I am not sure what exactly.
>
> >
> > 2. I have enabled "parse-pdf" by including in "plugins.include" of
> > nutch-site.xml. The pages now come in the search result. But when I
> > visit the cached page of the result. It shows a message like this:-
> >
> > The cached content has mime type "application/pdf", click this link to
> > download it directly.
> >
> > Is it not possible to display the parsed content of the PDF instead of
> > this message?
> >
>
> As its name implies, cached content shows url's content:) . What you
> want to see is its parse text. Nutch doesn't do this but it is simple
> to change it so that it reads from <segment>/parse_text instead of
> <segment>/content .
>
> --
> Doğacan Güney
>
Re: What is parse-oo and why doesn't parsed PDF content show up in cached.jsp ?
Posted by Doğacan Güney <do...@gmail.com>.
Hi,
On 5/31/07, Manoharam Reddy <ma...@gmail.com> wrote:
> Some confusions regarding plugins.includes
>
> 1. I find a "parse-oo" in the plugins folder. What is that for?
Plugin parse-oo has something to do with parsing OpenOffice.org
documents, I am not sure what exactly.
>
> 2. I have enabled "parse-pdf" by including in "plugins.include" of
> nutch-site.xml. The pages now come in the search result. But when I
> visit the cached page of the result. It shows a message like this:-
>
> The cached content has mime type "application/pdf", click this link to
> download it directly.
>
> Is it not possible to display the parsed content of the PDF instead of
> this message?
>
As its name implies, cached content shows url's content:) . What you
want to see is its parse text. Nutch doesn't do this but it is simple
to change it so that it reads from <segment>/parse_text instead of
<segment>/content .
--
Doğacan Güney