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 @@ -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 @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-requ...@mirrorbrain.org