HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: exclude httrack comments from mirrored pages
Author: Gadrin
Date: 10/20/2008 19:09
 
Oops, mine doesn't have the same strings as yours.

If you only want to rid the Added by HTTrack, then change lines above to the
following...

  spos = InStr(1, FileText, "<!-- Added by HTTrack -->")  ' Find the initial
comment
  epos = InStr(spos, FileText, "<!-- /Added by HTTrack -->") ' Find the end of
the comment
  comment = Mid(FileText, spos, epos-spos+27)
  FileText = Replace(FileText, comment, "") ' replace the comment with blank
string

And that should do it.



>
 
Reply Create subthread


All articles

Subject Author Date
exclude httrack headers from mirrored pages

10/17/2008 08:39
exclude httrack comments from mirrored pages

10/17/2008 09:15
Re: exclude httrack comments from mirrored pages

10/19/2008 15:31
Re: exclude httrack comments from mirrored pages

10/19/2008 18:13
Re: exclude httrack comments from mirrored pages

10/19/2008 18:18
Re: exclude httrack comments from mirrored pages

10/20/2008 19:09
Re: exclude httrack comments from mirrored pages

01/12/2009 22:46




9

Created with FORUM 2.0.11