nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Gingras (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NUTCH-944) Increase the number of elements to look for URLs and add the ability to specify multiple attributes by elements
Date Fri, 25 Feb 2011 14:31:38 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999373#comment-12999373
] 

Jean-Francois Gingras commented on NUTCH-944:
---------------------------------------------

We are currently moving to Nutch 1.2, I will provide a patch for it. I also change the code
to use string.split('') as suggested.

I will try to make time to provide a patch for 2.0, but I was not able to get 2.0 to compile
yet.

> Increase the number of elements to look for URLs and add the ability to specify multiple
attributes by elements
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: NUTCH-944
>                 URL: https://issues.apache.org/jira/browse/NUTCH-944
>             Project: Nutch
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.3
>         Environment: GNU/Linux Fedora 12
>            Reporter: Jean-Francois Gingras
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: DOMContentUtils.java.path-1.0, DOMContentUtils.java.path-1.3
>
>
> Here a patch for DOMContentUtils.java that increase the number of elements to look for
URLs. It also add the ability to specify multiple attributes by elements, for example:
> linkParams.put("frame", new LinkParams("frame", "longdesc,src", 0));
> linkParams.put("object", new LinkParams("object", "classid,codebase,data,usemap", 0));
> linkParams.put("video", new LinkParams("video", "poster,src", 0)); // HTML 5
> I have a patch for release-1.0 and branch-1.3
> I would love to hear your comments about this.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message