Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

adding text to all files in site

Posted 11 Apr 2002 13:52:30
1
has voted
11 Apr 2002 13:52:30 Rick Harding posted:
As I go I find that I want to add text to a bunch of pages at once. One thing I have never done is put in a doctype and now that I want to, the task seems to be a daunting beast of copying and pasting into all of the
files. Is there an easier way? Any way to use a find and replace sitewide to add it, and other things I need to add, to all pages in one fell swoop?

Thanks

Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"

Replies

Replied 11 Apr 2002 16:14:56
11 Apr 2002 16:14:56 jason parker replied:
Just use the find and replace within DW/UD to add it sitewide <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle> Do a find and replace within the source code looking for your head tag and simply replace it with your doctype and the head tag <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

HTH - Jaysun
Replied 11 Apr 2002 17:04:18
11 Apr 2002 17:04:18 Rick Harding replied:
on quick question...does it matter if it is before the asp that comes before the head tag? I would think since all the asp is taken care of pre-page rendering that it wouldn't...but better safe I guess.

Rick Harding
U of M CS Student / Network Admin for MSU FAME
www.ricks-web.info
"Techies just think differently...at least that's what they keep telling me"
Replied 11 Apr 2002 17:13:53
11 Apr 2002 17:13:53 jason parker replied:
I normally place it just before the html tag but I don't think it really matters to be honest (I could be wrong though!!!)

More info:

www.w3.org/TR/REC-html40/struct/global.html#idx-document_type_declaration-3

HTH - Jaysun

Reply to this topic