|
Posted by Michael Laplante on 08/03/06 20:31
"user" <hsiwuoy@skcus.tfosorcim> wrote in message
news:CHsAg.315159$IK3.250115@pd7tw1no...
> So here's the problem, the site has ballooned into 270+ HTML files, so if
> I want to edit (add/remove) anything in the menu (not the rest of the HTML
> file) - I have to edit all 270+ HTML files. Now I know a simple PERL
> script would solve this problem, but I'm PERL illiterate.
As long at the script text is identical there are lots of search'n'replace
programs that will rip through a directory of files and replace all the text
in one sweep. Two that I know of are Inforapid Search and Replace and
Notetab Lite. Both of these are free. If you opt to use Notetab Lite, you'll
have to have all the files open -- the program can open them all in one go,
the only limiting facter would be your memory AFAIK.
Notetab had the advantage in that if there is some slight variation in the
text you can re-move all text formatting from all your files (I'm talking
things such a line returns, tabs, etc not your HTML formatting), run the
replace routine then have Notetab reformat the html files according to rules
that you define. Or, you can opt to use html tidy which I believe integrates
with the program.
M
Navigation:
[Reply to this message]
|