[mirrorbrain-commits] r8220 - /trunk/tools/scanner.pl

From: <poeml_at_mirrorbrain.org>
Date: Sat, 13 Nov 2010 20:27:12 -0000
Author: poeml
Date: Sat Nov 13 21:27:11 2010
New Revision: 8220

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8220&view=rev
Log:
mb scan:
- improve messages about an unparseable HTML index when scanning over HTTP.

Modified:
    trunk/tools/scanner.pl

Modified: trunk/tools/scanner.pl
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/scanner.pl?rev=8220&r1=8219&r2=8220&view=diff
==============================================================================
--- trunk/tools/scanner.pl (original)
+++ trunk/tools/scanner.pl Sat Nov 13 21:27:11 2010
_at_@ -666,7 +666,8 @@
   else {
     ## we come here, whenever we stumble into an automatic index.html 
     $contents = substr($contents, 0, 500);
-    warn Dumper $contents, "$identifier: http_readdir: unknown HTML format";
+    print "$identifier: unparseable HTML index in $name\n" if $verbose;
+    warn Dumper $contents, "$identifier: http_readdir: unknown HTML format" if $verbose > 1;
   }
 
   return _at_r;




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Sat Nov 13 2010 - 20:27:13 GMT

This archive was generated by hypermail 2.3.0 : Sat Nov 13 2010 - 20:32:13 GMT