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

ASF GitHub Bot commented on NUTCH-2464:
---------------------------------------

jorgelbg opened a new pull request #244: Fix for NUTCH-2464 get textual content 
from nested heading nodes
URL: https://github.com/apache/nutch/pull/244
 
 
   As suggested by @sebastian-nagel refactored the `getNodeValue` method to use 
`NodeWalker` iterators. This allows traversing the entire DOM tree in case of 
nested nodes as explained on the issue. Added a test case for this issue as 
well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Headers That Contain HTML Elements Are Not Parsed
> -------------------------------------------------
>
>                 Key: NUTCH-2464
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2464
>             Project: Nutch
>          Issue Type: Bug
>          Components: plugin
>    Affects Versions: 2.3
>         Environment: Internal development/test environments.
>            Reporter: Cass Pallansch
>         Attachments: NUTCH-2464-complex-header.html
>
>
> Nutch does not appear to traverse the HTML elements that may be contained 
> within header elements (e.g., H1, H2, H3, etc. tags).  Many times there are 
> anchors and/or <span> tags within these elements that contain the actual text 
> nodes that should be picked up as the header value for indexing purposes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to