opensangja / abot

Automatically exported from code.google.com/p/abot
Apache License 2.0
0 stars 0 forks source link

Add Func<Arg, Retrun> hooks for on the fly behavior modification #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-Add Func<PageToCrawl, CrawlDecision> for ShouldCrawlPage
-Add Func<CrawledPage, CrawlDecision> for ShouldCrawlPageLinks
-Add Func<CrawledPage, CrawlDecision> for ShouldDownloadPageContent

Original issue reported on code.google.com by sjdir...@gmail.com on 7 Nov 2012 at 5:19

GoogleCodeExporter commented 9 years ago
Pros: 
-Allows users to determine crawl behavior on the fly
-No classes or interfaces to implement and plugin

Cons:
-Not easy to test compound crawl behaviors
-Users must set these values on every instance (lots of copy and paste)
-Hard to group related or behaviors that are grouped together

Original comment by sjdir...@gmail.com on 31 Dec 2012 at 3:56

GoogleCodeExporter commented 9 years ago
Issue 24 has been merged into this issue.

Original comment by sjdir...@gmail.com on 31 Dec 2012 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by sjdir...@gmail.com on 31 Dec 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Added ShouldCrawlPage(), ShouldCrawlPageLinks() and ShouldDownloadPageContent()

Original comment by sjdir...@gmail.com on 2 Jan 2013 at 6:59