Forum Moderators: martinibuster

Message Too Old, No Replies

technical question

mass adsense code change?

         

Roadkill

8:41 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



I did a search through the forum, but to no avail. Is there some way to change the adsense code "site wide"

All I really want to do is change the border color on all of my adsense ads. Now I didnt know what I was doing when I built the site, so there is no data base or anything (working on that now). All pages were created manually with FP2003

Any suggestions other than manually re-paste to all individual pages?

jfodale

8:56 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



Download a text editor (better than wordpad) that will let you open multiple documents at once. I use one called TextPad - free download, just google it.

Open all your files in it, go Search->Replace, type in the text you want replaced and what you want it replaced with, make sure you have "All Documents" checked, and hit "Replace All". There's probably many other programs that can do this too.

There may be some way to do that in FrontPage, but I'm not too familiar with it.

jimbeetle

9:00 pm on Feb 28, 2006 (gmt 0)

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



FP has a pretty robust find and replace. You can select pages or run it site wide.

You should also investigate FP's "include page" function. You can plop your Adsense code into a page, then include that page on your content pages. Make a change to the include page and its reflected across all pages.

If needed, you can also set up an include for different sections of your site to track Adsense channels to see how each section performs.

Jafo

9:14 pm on Feb 28, 2006 (gmt 0)

10+ Year Member



As long as the site has Frontpage extensions installed, do a find/replace sitewide..

Roadkill

3:29 am on Mar 1, 2006 (gmt 0)

10+ Year Member



Thank you, It looks like You've pointed me in the right direction. First I'll back it all up and give it a go.