Menu

Commit [r2491]  Maximize  Restore  History

Tweak algorithm to handle multi-line <body> tags.

Patch by: kfogel
me

* make-ad-sense.py
(_body_open_re): Remove.
(add_adsense_html): Use string.find() in two loops instead of a
regular expression in one loop.

cmpilato 2006-10-20

changed /trunk/www/tools/make-ad-sense.py
/trunk/www/tools/make-ad-sense.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.