RE: smart tags - an easy solution!

by "Mike Carlson" <domitianx(at)domitianx.com>

 Date:  Mon, 20 Aug 2001 11:45:43 -0500
 To:  "'Paul Wilson'" <webguroo(at)tampabay.rr.com>,
"'HWG Techniques'" <hwg-techniques(at)hwg.org>
 In-Reply-To:  WORKGROUP
  todo: View Thread, Original
Allaire Homesite already comes with an extended search and replace like
that.

It has come in handy many, many times.

************************
Mike Carlson
http://www.domitianx.com
domitianx(at)domitianx.com
************************

-----Original Message-----
From: owner-hwg-techniques(at)hwg.org [mailto:owner-hwg-techniques(at)hwg.org]
On Behalf Of Paul Wilson
Sent: Monday, August 20, 2001 10:39 AM
To: 'HWG Techniques'
Subject: Re: smart tags - an easy solution!


> 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.