August 30, 2015
Insert adsense / text into thousands of html files
This is a complicated beast.
On UNIX things should be easy but turn out to be rather complex, e.g.
I’ve decided I don’t have time to fiddle with UNIX replacement of text. Instead, I’ve used FAR – Find And Replace on Windows to replace text and upload.
In particular, I’ve replaced <BODY> by <BODY> [adsense code] and </BODY> by [adsense code] </BODY>