You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2012/06/15 02:46:45 UTC

[jira] [Updated] (DROIDS-58) Implement a filter mechanism that allow intecepting every stage of a crawling process

     [ https://issues.apache.org/jira/browse/DROIDS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Frovarp updated DROIDS-58:
----------------------------------

    Fix Version/s:     (was: 0.2.0)
                   0.3.0
    
> Implement a filter mechanism that allow intecepting every stage of a crawling process
> -------------------------------------------------------------------------------------
>
>                 Key: DROIDS-58
>                 URL: https://issues.apache.org/jira/browse/DROIDS-58
>             Project: Droids
>          Issue Type: New Feature
>    Affects Versions: 0.1.0
>            Reporter: Mingfai Ma
>             Fix For: 0.3.0
>
>
> refer to this:
> http://mail-archives.apache.org/mod_mbox/incubator-droids-dev/200906.mbox/%3Cbc1833ba0906250438t1464d1a0jd62cc4790b663938@mail.gmail.com%3E
> assume the process is 
> 1. poll a link from queue
> 2. fetch entity
> 3. parse entity
> 4. extract outlinks
> we provide a mechanism to intercept the process in every stage. e.g. a LinkFilter has a  "public T polled(T link);" interface, any filter may reject or transform a Link polled from the queue. similar logic applies to fetching, parsing, and extracting (outlink) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira