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 "Bertil Chapuis (JIRA)" <ji...@apache.org> on 2011/02/22 21:15:38 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 ]
Bertil Chapuis updated DROIDS-58:
---------------------------------
Fix Version/s: 0.0.2
> 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.0.1
> Reporter: Mingfai Ma
> Fix For: 0.0.2
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira