
On Tue, May 29, 2012 at 11:45:53AM +1000, Russell Coker wrote:
You can edit it with your favourite text editor (vi, emacs, etc) as HTML files are text.
You can edit it with one of the many web editing programs, I don't use such programs but I'm sure someone here can recommend a good one.
bluefish is a reasonably good GUI HTML/CSS/etc editor if you like that sort of thing. (i don't, i prefer vi...but i've occasionally used bluefish and it's OK)
For common types of advert (of which Google Adsense is the best example) there are usually only a few ways of formatting them. It shouldn't be difficult to write a little Perl program that goes through the output of "wget -r" and then removes all Adsense codes. [...]
yep. doing stuff like this manually is crazy when you can automate it with a shell, sed, awk, perl, python, or whatever script. perl and python even have very comprehensive libraries for easily parsing, searching, and manipulating HTML files. it takes time to write the script, of course, but it's a lot more interesting (and usefully educational) to do than repetitive manual editing work and once the script is written, it's: a) nearly instantaneous to run b) consistent and predictable in its effects c) not prone to human error, tiredness, distraction, or just plain forgetting to do something, etc craig -- craig sanders <cas@taz.net.au> BOFH excuse #21: POSIX compliance problem