Sebastian Nagel commented on NUTCH-1031:

Hi Tejas, a test of NUTCH-1031-trunk.v2.patch in combination with 
crawler-commons-2.0 shows:
- protocol.RobotRulesParser.main does not work properly:
  ** robotName is not filled properly by the <agent-name>+ arguments
  ** parsed rules are printed in the Object string representation (e.g., 
- testRobotsTwoAgents failed. However, the tests are quite complex: Shouldn't 
we trust on the exhaustive tests by crawler-commons? A simple test may be 
sufficient to test the basic functionality and, eg. agent names separated by 
> Delegate parsing of robots.txt to crawler-commons
> -------------------------------------------------
>                 Key: NUTCH-1031
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1031
>             Project: Nutch
>          Issue Type: Task
>            Reporter: Julien Nioche
>            Assignee: Tejas Patil
>            Priority: Minor
>              Labels: robots.txt
>             Fix For: 1.7
>         Attachments: CC.robots.multiple.agents.patch, 
> CC.robots.multiple.agents.v2.patch, NUTCH-1031-trunk.v2.patch, 
> NUTCH-1031.v1.patch
> We're about to release the first version of Crawler-Commons 
> [http://code.google.com/p/crawler-commons/] which contains a parser for 
> robots.txt files. This parser should also be better than the one we currently 
> have in Nutch. I will delegate this functionality to CC as soon as it is 
> available publicly

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to