--- trunk/scripts/est-spider 2006/04/17 10:31:11 119 +++ trunk/scripts/est-spider 2006/04/17 10:38:17 121 @@ -136,7 +136,7 @@ # boost title $doc->add_hidden_text($title); - print $doc->dump_draft if ($verbose); + print $doc->dump_draft if ($debug); # register the document object to the database $db->put_doc($doc); @@ -195,6 +195,7 @@ my $contents; return if (! $force && -l $path || $path =~ m#/.svn# || $path =~ m/(~|.bak|.gif)$/); + return if (! $all && -d $path); my $mtime = (stat($path))[9] || -1; my $mtime_db = eval { $db->get_doc_attr_by_uri("file:///$path", '@mtime') };