17488 Posts in 4473 Topics by 1978 members
|Go to End|
21 December 2007 at 11:00am
I have developed an Adsense Widget as part of the Google Highly Open Participation contest.
The Adsense Widget will allow the integration of Google Adsense adverts into your site.
I have got the code to output into the website correctly, but I can't seem to get the advert to appear.
Does anybody know why this is?
Core Development Team
21 December 2007 at 11:30am
( I've asked Will Scott who worked with Google APIs on SilverStripe before, to respond, although given xmas, its reasonable to expect he may be unable to respond )
21 December 2007 at 12:20pm
Google Summer of Code Hacker
21 December 2007 at 3:12pm
As far as I know, Adsense only displays ads on live sites (which means publicly accessed and approved by Google). Were you testing this on a live site or on your local copy ?
21 December 2007 at 10:13pm
That is probably what it wrong I was testing it locally.
21 December 2007 at 10:51pm
Could someone please try using this widget on a live server.
21 December 2007 at 11:35pm
I have found the problem, since SilverStripe outputs as xml
<?xml version="1.0" encoding="UTF-8"?>
Firefox will treat it as its xml and will not understand the write() function.
I am going to use CDATA to try for a work around, otherwise It will not work in firefox.
|Go to Top|