Web Hosting Talk







View Full Version : How to mass-edit html articles...?


Volconvo
01-05-2006, 06:19 PM
hey,

I just bought a site that I want to change the layout of. The site features 100's of articles in .html that are exact in terms of layout. How would you go about finding and replacing same blocks of code in every page as fast as possible (change the header on all of the pages, etc...

Thanks!

NorthWest
01-05-2006, 06:22 PM
Dreamweaver has a find and replace function in it, and most editors should have a find and replace tool too. This is why includes are handy when it comes to developing sites. They save a lot of time

CD Burnt
01-05-2006, 09:26 PM
this is handy for mass search-and-replace

http://www.editpadpro.com/editpadlite.html

ThatScriptGuy
01-05-2006, 10:38 PM
UltraEdit (great software) has a find and replace in files function that will search through all the files in a given directory and replace the code in them. Very useful.

NateD
01-07-2006, 05:56 AM
If the webhoster you are on can support dynamic files (such as .php, .asp or .aspx) you may want to remove the existing headers/footers and dynamically include your headers/footers.

I think this is the best solution since if you again change your header at a later stage you'll have to go through the same process all over again.

PM me if you want any further help.

vasam
01-09-2006, 10:07 AM
Micromedia HomeSite+ and Dreamweaver both have Search/Replace feature. Try it.. it is usefull.