You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Donald Van den Driessche (JIRA)" <ji...@apache.org> on 2019/01/03 14:36:00 UTC
[jira] [Commented] (CONNECTORS-1557) HTML Tag extractor
[ https://issues.apache.org/jira/browse/CONNECTORS-1557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16733105#comment-16733105 ]
Donald Van den Driessche commented on CONNECTORS-1557:
------------------------------------------------------
Karl
The metadata adjuster doens't do what I needed.
I send you hereby the code.
> HTML Tag extractor
> ------------------
>
> Key: CONNECTORS-1557
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1557
> Project: ManifoldCF
> Issue Type: New Feature
> Reporter: Donald Van den Driessche
> Assignee: Karl Wright
> Priority: Major
> Attachments: html-tag-extraction-connector.zip
>
>
> I wrote a HTML Tag extractor, based on the HTML Extractor.
> I needed to extract specific HTML tags and transfer them to their own field in my output repository.
> Input
> * Englobing tag (CSS selector)
> * Blacklist (CSS selector)
> * Fieldmapping (CSS selector)
> * Strip HTML
> Process
> * Retrieve Englobing tag
> * Remove blacklist
> * Map selected CSS selectors in Fieldmapping (arrays if multiple finds) + strip HTML (if requested)
> * Englobing tag minus blacklist: strip HTML (if requested) and return as output (content)
> How can I best deliver the source code?
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)