/[swish]/trunk/spider/swishspider
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/spider/swishspider

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by dpavlin, Mon Mar 24 09:57:44 2003 UTC revision 32 by dpavlin, Wed Apr 30 12:40:09 2003 UTC
# Line 73  if( $response->code() == RC_OK ) { Line 73  if( $response->code() == RC_OK ) {
73      # ></head>      # ></head>
74      # which will confuse indexer (or libxml2?)      # which will confuse indexer (or libxml2?)
75      $contents =~ s/[\n\r]^(>)/$1\n/msg;      $contents =~ s/[\n\r]^(>)/$1\n/msg;
76        # remove comments between <html> and <head> texi2html inserts them
77        # there and swish can't find document title then (libxml or swish bug?)
78        while ($contents =~ s/(<html>.*)<!--.*?-->(.*<head>)/$1$2/msi) { };
79      print CONTENTS $contents;      print CONTENTS $contents;
80      close( CONTENTS );      close( CONTENTS );
81    

Legend:
Removed from v.30  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26