You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2010/09/02 15:44:54 UTC

[jira] Commented: (TIKA-503) Add a ContentHandler for collecting links from parser output

    [ https://issues.apache.org/jira/browse/TIKA-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905504#action_12905504 ] 

Ken Krugler commented on TIKA-503:
----------------------------------

Note that with TIKA-463 you will now get links in <link>, <img>, etc elements. So I'd suggest at least providing a way to configure this content handler to extract links from either just <a> elements, or all elements. And provide an overridable method that handles the link collection, which gets passed the element name and the link, so it's easy to customize.


> Add a ContentHandler for collecting links from parser output
> ------------------------------------------------------------
>
>                 Key: TIKA-503
>                 URL: https://issues.apache.org/jira/browse/TIKA-503
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.8
>
>
> It would be nice to have a LinkContentHandler class that would automatically collect any <a href="...">...</a> elements from the parser output.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.