You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by alex <al...@gmail.com> on 2011/09/02 15:14:56 UTC
get title for a different tag...
hi all,
All pages which I need to crawl have same html title tag , like "our
products" and actual title which I want to use is
in <link rel="alternate" href="/product/prod123" title="prod123 name"/>.
Is there any easy way to get correct title in this way? Do I need to
create my own parser plugin?
thanks.
Re: get title for a different tag...
Posted by Markus Jelsma <ma...@openindex.io>.
Create a custom plugin:
https://issues.apache.org/jira/browse/NUTCH-1005
On Friday 02 September 2011 16:28:01 alex wrote:
> On 09/02/2011 09:22 AM, Markus Jelsma wrote:
> > So you want to use the anchor instead? Point is, there are usually more
> > than one anchors so which to use? You can try index-achor plugin, it'll
> > add anchors of inlinks to the document.
> >
> > Wouldn't it be better to use h1 or h2?
>
> you mean h1 from <body> ? What should I do in this case?
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350
Re: get title for a different tag...
Posted by alex <al...@gmail.com>.
On 09/02/2011 09:22 AM, Markus Jelsma wrote:
> So you want to use the anchor instead? Point is, there are usually more than
> one anchors so which to use? You can try index-achor plugin, it'll add anchors
> of inlinks to the document.
>
> Wouldn't it be better to use h1 or h2?
>
>
you mean h1 from <body> ? What should I do in this case?
Re: get title for a different tag...
Posted by Markus Jelsma <ma...@openindex.io>.
So you want to use the anchor instead? Point is, there are usually more than
one anchors so which to use? You can try index-achor plugin, it'll add anchors
of inlinks to the document.
Wouldn't it be better to use h1 or h2?
On Friday 02 September 2011 15:14:56 alex wrote:
> hi all,
> All pages which I need to crawl have same html title tag , like "our
> products" and actual title which I want to use is
> in <link rel="alternate" href="/product/prod123" title="prod123 name"/>.
> Is there any easy way to get correct title in this way? Do I need to
> create my own parser plugin?
> thanks.
--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350