Click to See Complete Forum and Search --> : Issue with ad placement


JediBadAzz
07-25-2003, 08:21 PM
Ok, I was curious how most websites manage to run the same ad on all their pages, even on older pages. I know you can do this by creating a single image and applying it to every page and then you can change the image by overwriting it. But I have no idea how they change the URL if you want to switch the ad. For example if you look at http://dvdfile.com/ they dont go page by page changing their ads. Yet if you look at a review for 2000's Terminator 2 DVD, they run an ad which is also on the main page. So whats the html code they use to change the URL and image?

PeOfEo
07-25-2003, 08:49 PM
xml, they use an xml ad rotator in conjunction with some server side language to controll and track the impression rate so they can charge an advertiser accordingly.

JediBadAzz
07-25-2003, 09:17 PM
Originally posted by PeOfEo
xml, they use an xml ad rotator in conjunction with some server side language to controll and track the impression rate so they can charge an advertiser accordingly.
Sounds tough, and sounds like it requires some xml know-how. I've never taken any intrest in it because I've only worked with html and java. But i'll see what I can learn about xml so I can figure out how to use this. Is there a code for an ad rotator?

(oh and I think this needs to move over to the XML forums :D )

PeOfEo
07-25-2003, 10:34 PM
I have some code for one built in asp.net but you are probably going to want a server side language first before you jump into the xml. I am just saying thats how major hosts and providers do their ads. You can also use java script to rotate it so a user gets a random ad but you cannot controll the impressions or track the hits this way to accuratly tell a sponsor 300 ppl say your ad today.