[ 
https://issues.apache.org/jira/browse/NUTCH-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986618#comment-15986618
 ] 

ASF GitHub Bot commented on NUTCH-1465:
---------------------------------------

sebastian-nagel commented on a change in pull request #189: NUTCH-1465 Support 
sitemaps in Nutch
URL: https://github.com/apache/nutch/pull/189#discussion_r113687939
 
 

 ##########
 File path: src/java/org/apache/nutch/crawl/CrawlDatum.java
 ##########
 @@ -90,6 +90,8 @@
   public static final byte STATUS_LINKED = 0x43;
   /** Page got metadata from a parser */
   public static final byte STATUS_PARSE_META = 0x44;
+  /** Page was discovered from sitemap */
+  public static final byte STATUS_SITEMAP = 0x45;
 
 Review comment:
   Do we really need a new status? STATUS_INJECTED could be also used: both are 
assigned in the mapper (SitemapMapper resp. InjectMapper) and replaced by 
STATUS_DB_UNFETCHED in the reducer (SitemapReducer/InjectReducer).
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Support sitemaps in Nutch
> -------------------------
>
>                 Key: NUTCH-1465
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1465
>             Project: Nutch
>          Issue Type: New Feature
>          Components: parser
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 1.14
>
>         Attachments: NUTCH-1465-sitemapinjector-trunk-v1.patch, 
> NUTCH-1465-trunk.v1.patch, NUTCH-1465-trunk.v2.patch, 
> NUTCH-1465-trunk.v3.patch, NUTCH-1465-trunk.v4.patch, 
> NUTCH-1465-trunk.v5.patch
>
>
> I recently came across this rather stagnant codebase[0] which is ASL v2.0 
> licensed and appears to have been used successfully to parse sitemaps as per 
> the discussion here[1].
> [0] http://sourceforge.net/projects/sitemap-parser/
> [1] 
> http://lucene.472066.n3.nabble.com/Support-for-Sitemap-Protocol-and-Canonical-URLs-td630060.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to