Is there a replacing program?

They have: 11 posts

Joined: Feb 2002

didn't know what else to call it... but letme see....

I have 345 (or something like that) exotic cars. Each page includes a complicated table full of specifications. If I decided i wanted to change this layout, is there some sort of program that I could download the searches through all the files in a certain directory, and the finds certain text and replaces it with different text? I do not want to use ssi in this case, as having about 34 ssi commands would really slow down the site... and I wouldn't want to rename all extensions to .php, and even if I did use ssi I would HAVE to still go through all the tables...

so is there a quick search/find/replace program that anyone knows of? I guess I doubt it, but I don't care how long the program takes, as long as i don't have to do it.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

Also:

HomeSite
Textpad
EditPlus

They have: 11 posts

Joined: Feb 2002

hmm. thanx.. this is great... but if it works than why don't people use this instead of ssi?

taff's picture

They have: 956 posts

Joined: Jun 2001

Quote: Originally posted by AdamRSX
hmm. thanx.. this is great... but if it works than why don't people use this instead of ssi?

Actually, I do Smiling

SSI isn't always an option and frankly - hardly justified for a small site. HomeSite's global search and replace comes in handy for many things that SSI wouldn't cover regardless - the realization of a persistent typo, a name change, email change, etc.

.....

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

DW also has a good find & replace system built in which I find very, very useful, especially as Taff says for common typos!! Wink

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

The great thing about Homesite's search & replace, and Ultra edit's too (I think - correct me if I'm wrong on that one) is that they'll search in files that aren't even open. So that way you don't have to open all 345 files you want to check.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Yeah, DW is the same very handy

They have: 601 posts

Joined: Nov 2001

The fastest text or data processor engine in the world is Perl Smiling

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

There are different purposes.

If you have to change one file, as opposed to the danger of changing 500, the value of using SSI is obvious.

If you are changing things in the content, it's one thing, but to overhaul navigation and such -- one, just ONE variation in the data and boom, you have problems. Search and replace is no replacement for SSI.

Additionally, there is the ease of change -- if you have to update every page on a 300 page site and then upload ALL those changes, you have an overhead of time. If you have to change one file, and upload that one file to change all 300 pages at once, you don't.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.