[ https://issues.apache.org/jira/browse/N
UTCH-488?page=com.atlassian.jira.plugin.system.issuetabpanel
s:comment-tabpanel#action_12535773 ]
Dennis Kubes commented on NUTCH-488:
------------------------------------
If no one has any objections. This is working in a
production environment and I think it is a very useful
contribution, I am going to commit this.
> Avoid parsing uneccessary links and get a more relevant
outlink list
>
------------------------------------------------------------
--------
>
> Key: NUTCH-488
> URL: https
://issues.apache.org/jira/browse/NUTCH-488
> Project: Nutch
> Issue Type: Improvement
> Affects Versions: 0.9.0
> Environment: Windows, Java 1.5
> Reporter: Emmanuel Joke
> Attachments: DOMContentUtils.patch,
ignore_tags_v2.patch, ignore_tags_v3.patch,
nutch-default.xml.patch
>
>
> NekoHTML parser use a method to extract all outlinks
from the HTML page. It will extracts them from the HTML
content based on the list of param defined in the method
setConf(). Then this list of links will be truncated to be
limit to the the maximum number of outlinks that we'll
process for a page defined in nutch-default.xml
(db.max.outlinks.per.page = 100 by default ) and finally it
will be go through all urlfilter defined.
> Unfortunetly it can happen that the list of outlinks is
more than 100, so it will truncated the list and could
remove some relevant links.
> So I've added few options in the nutch-default.xml in
order to enable/disable the extraction of specific HTML Tag
links in this parser (SCRIPT, IMG, FORM, LINK).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.
|