• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Anyone know of a HTML editing software that will batch-edit HTML files

aka1nas

Diamond Member
I am doing taking on a webpage for one of the departments at my university and it is really bloated. It is like 20MB and has like 650 files. Anyway, its nearly all HTML and while I will eventually redesign it to be easier to update, there is a lot of stuff that needs to fixed on it now. For example, they had a header that had the room number of their office, which was like 2 years out of date and needed to be changed. The problem is that they have this header on EVERY HTML document on the site(about 400+). It took me 4 hours to manually change the room number on each page. Is there a program that can batch-edit HTML code?
 
Actually all you need is a "multi-file search and replace" function, preferably that can search sub-folders as well. I can't recommend anything specific (try Tucows.com ?) since I usually just use the MS Visual Studio IDE editor (which lacks the feature in VC++).
 
if you can access the files on unix machines, you can use find combined with sed command:
find . -type f -exec sed -e "s|old_room_number|new_room_number|g" {} \;

i think it's that -- i need a unix access (which i don't have) to try it out and see if i didn't mess up the "exec" part

if you are looking for one in dos/windows, i can't think of one right now ...
i'll post again if i know of something

-966-
 
As DaveSimmons said, all you need is an editor which can do batch search and replace across files.

A text editor which has this facility is UltraEdit - it also has HTML syntax highlighting. Of course, Macromedia Dreamweaver also has this facility but its a pretty expensive option.
 
Back
Top