You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/09/02 12:55:52 UTC
[jira] Created: (TIKA-503) Add a ContentHandler for collecting
links from parser output
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.
Re: [jira] Created: (TIKA-503) Add a ContentHandler for collecting
links from parser output
Posted by Javier Puerto <jp...@gmail.com>.
2010/9/2 Jukka Zitting (JIRA) <ji...@apache.org>
> 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.
>
Maybe the Droids LinkExtractor class could help you.
https://svn.apache.org/repos/asf/incubator/droids/trunk/droids-core/src/main/java/org/apache/droids/parse/html/LinkExtractor.java
Salu2.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
[jira] Commented: (TIKA-503) Add a ContentHandler for collecting
links from parser output
Posted by "Ken Krugler (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (TIKA-503) Add a ContentHandler for collecting
links from parser output
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved TIKA-503.
------------------------------------
Resolution: Fixed
- the current version of 0.8 trunk includes a working version of this ContentHandler. Ken's suggestion is a good one, but if we want to improve on this, let's just file additional issues as needed in future Tika (0.9+) versions.
> 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.
[jira] Updated: (TIKA-503) Add a ContentHandler for collecting
links from parser output
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TIKA-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann updated TIKA-503:
-----------------------------------
Component/s: parser
- classify
> 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
> Components: parser
> 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.