Forum Moderators: coopster & phranque

Message Too Old, No Replies

Program / Script / Utility to Edit 3,000 Html Files

         

jk3210

8:16 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I rarely venture into this forum since I'm way over my head here, but now I'm facing a huge job (for me) of hand-editing 3,000+ html files my site.

I tried a couple of macro recorders but nothing worked very well.

Are there any other programs or scripts that I'm overlooking to help me with this job?

Thanks

oilman

10:33 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



what exactly are you trying do? is it just a bunch of search and replace?

jk3210

11:50 pm on Sep 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>is it just a bunch of search and replace?>>

Man, do I wish. Actually it's a bunch of simple html files, but the people who gave them to me put their crappola at the top of each page in a table, so I need to find a way to strip that out and put in a simple navigation table. If I delete the <table> tags that still leaves the text in place.

I can put my nav in with a FrontPage <!--webbot bot="Include" thing if I can just find a utility to run through the files and get rid of their stuff.

In the last hour I bought HTML Batch Editor Pro and was able to at least strip out some of their stuff, but that cheesy table of theirs is still there.

I would hate to have to turn down 3,000 free pages.

sun818

12:05 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ReplaceEm (formerly called BKReplacEm). If its not a simple search/replace, their advanced regular expression (regex) feature is very powerful. It took me many tries, learning as I was going, but I got it eventually. Sticky me if you need a walk through...

jk3210

4:01 am on Sep 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The solution turned out to be easier than I thought.

I used a program called "Search & Replace" (duh) and made 15 or so passes at the table's html. It came right out.