Re: smart tags - an easy solution!

by "Paul Wilson" <webguroo(at)tampabay.rr.com>

 Date:  Mon, 20 Aug 2001 11:38:47 -0400
 To:  "'HWG Techniques'" <hwg-techniques(at)hwg.org>
 References:  Vespasian
  todo: View Thread, Original
> I use the same scenario. The header and footer of every page is built
> from an include file. I modify one file and I can change the header and
> footer of every page on the entire site.

I strarted adding the meta tags the hard way.  After about 100 files it got
_very_ tedious and I though it would take me days and drive me nuts, there
had to be a better way.

There is a low tech solution for the rest of us.  I have been using a free
program called "Search and Replace HTML 98"  from
http://www.htmlworkshop.com/  for a couple months.  It will go through a
whole directory making replacements FAST.  The question was how do I make it
do what I wanted?  It was easy.

I used SRHTML98 to search for the closing tag "<./TITLE>"  and replaced them
all with:

<./TITLE>
<.meta name="MSSmartTagsPreventParsing" contents="TRUE">

I just updated several very large websites in just a few minutes.

Paul Wilson
webguroo(at)tampabay.rr.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.