You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2009/04/03 19:54:13 UTC
[jira] Created: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Redirection of robots.txt in RobotRulesParser
---------------------------------------------
Key: NUTCH-731
URL: https://issues.apache.org/jira/browse/NUTCH-731
Project: Nutch
Issue Type: Improvement
Components: fetcher
Affects Versions: 1.0.0
Reporter: Julien Nioche
The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otis Gospodnetic updated NUTCH-731:
-----------------------------------
Fix Version/s: 1.1
Assignee: Otis Gospodnetic
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Assignee: Otis Gospodnetic
> Fix For: 1.1
>
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764009#action_12764009 ]
Andrzej Bialecki commented on NUTCH-731:
-----------------------------------------
Fixed in rev. 823540 - I applied a slightly modified version of the patch, to account for common errors in redirects. Thank you!
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Assignee: Andrzej Bialecki
> Fix For: 1.1
>
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712489#action_12712489 ]
Otis Gospodnetic commented on NUTCH-731:
----------------------------------------
People have redirects on their robots.txt? Wow. Do you have an example of that handy, by any chance?
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722214#action_12722214 ]
Julien Nioche commented on NUTCH-731:
-------------------------------------
Here is an example which the patch helps addressing
curl http://wizardhq.com/robots.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.wizardhq.com/robots.txt">here</a>.</p>
</body></html>
again, the ratio of robots_denied status started going up after I wrote the patch which means that such cases are not so rare
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Ken Krugler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722242#action_12722242 ]
Ken Krugler commented on NUTCH-731:
-----------------------------------
This is definitely an issue - I've been pinging various domains while testing robots.txt handling in bixo, and many of them will do a redirect if you use http://<domain>/robots.txt, to http://www.<domain>/robots.txt.
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764298#action_12764298 ]
Hudson commented on NUTCH-731:
------------------------------
Integrated in Nutch-trunk #959 (See [http://hudson.zones.apache.org/hudson/job/Nutch-trunk/959/])
Redirection of robots.txt in RobotRulesParser.
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Assignee: Andrzej Bialecki
> Fix For: 1.1
>
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Andrzej Bialecki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki closed NUTCH-731.
-----------------------------------
Resolution: Fixed
Assignee: Andrzej Bialecki (was: Otis Gospodnetic)
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Assignee: Andrzej Bialecki
> Fix For: 1.1
>
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Nioche updated NUTCH-731:
--------------------------------
Attachment: NUTCH-731.patch
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-731) Redirection of robots.txt in
RobotRulesParser
Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712907#action_12712907 ]
Julien Nioche commented on NUTCH-731:
-------------------------------------
I don't have a specific example now, in all the cases I have seen the redirections were between two variants of a hostname with and without www.
> Redirection of robots.txt in RobotRulesParser
> ---------------------------------------------
>
> Key: NUTCH-731
> URL: https://issues.apache.org/jira/browse/NUTCH-731
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.0.0
> Reporter: Julien Nioche
> Attachments: NUTCH-731.patch
>
>
> The patch attached allows to follow one level of redirection for robots.txt files. A similar issue was mentioned in NUTCH-124 and has been marked as fixed a long time ago but the problem remained, at least when using Fetcher2 . Mathijs Homminga pointed to the problem in a mail to the nutch-dev list in March.
> I have been using this patch for a while now on a large cluster and noticed that the ratio of robots_denied per fetchlist went up, meaning that at least we are now getting restrictions we would not have had before (and getting less complaints from webmasters at the same time)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.