<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AdSense and AJAX: Not a happy combination</title>
	<atom:link href="http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/feed/" rel="self" type="application/rss+xml" />
	<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/</link>
	<description>a digital portfolio</description>
	<lastBuildDate>Mon, 05 Jul 2010 17:23:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jordi Marti</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-61250</link>
		<dc:creator>Jordi Marti</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-61250</guid>
		<description>I find a very easy solution (after hours of squezzing my brain) to keep adsense with ajax requests with prototype
Using

var dom=$(&#039;id of adsense div&#039;).clone(true)
let you keep a element clone of current  adsense ad where you can replace anywhere on your DOM, after fex doing an ajax request  

$(&#039;id of adsense div&#039;).cleanWhitespace().update(dom);

Jordi</description>
		<content:encoded><![CDATA[<p>I find a very easy solution (after hours of squezzing my brain) to keep adsense with ajax requests with prototype<br />
Using</p>
<p>var dom=$(&#8216;id of adsense div&#8217;).clone(true)<br />
let you keep a element clone of current  adsense ad where you can replace anywhere on your DOM, after fex doing an ajax request  </p>
<p>$(&#8216;id of adsense div&#8217;).cleanWhitespace().update(dom);</p>
<p>Jordi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn K.</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-60659</link>
		<dc:creator>Shawn K.</dc:creator>
		<pubDate>Sun, 24 Jan 2010 06:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-60659</guid>
		<description>I spent so much time messing around with solutions, I ended up creating one of my own.

You can find it over at my blog :)
http://extraordinarythoughts.com/2010/01/23/adsense-and-ajax-a-solution/</description>
		<content:encoded><![CDATA[<p>I spent so much time messing around with solutions, I ended up creating one of my own.</p>
<p>You can find it over at my blog <img src='http://nico.berlee.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://extraordinarythoughts.com/2010/01/23/adsense-and-ajax-a-solution/" rel="nofollow">http://extraordinarythoughts.com/2010/01/23/adsense-and-ajax-a-solution/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-48617</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Thu, 05 Mar 2009 13:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-48617</guid>
		<description>There is nothing wrong with dynamically refreshing the src URL of Google&#039;s ad IFRAME without a complete page refresh.  The Adsense Code is not being touched and it does not violate the Google TOS.</description>
		<content:encoded><![CDATA[<p>There is nothing wrong with dynamically refreshing the src URL of Google&#8217;s ad IFRAME without a complete page refresh.  The Adsense Code is not being touched and it does not violate the Google TOS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-46514</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Sun, 08 Feb 2009 14:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-46514</guid>
		<description>try, I will answer after. And the author thanks!</description>
		<content:encoded><![CDATA[<p>try, I will answer after. And the author thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Brine</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-44826</link>
		<dc:creator>Gregory Brine</dc:creator>
		<pubDate>Wed, 21 Jan 2009 00:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-44826</guid>
		<description>How about using the iFrame idea, using Google&#039;s standard script, but make the page within the iframe a server side page that accepts a URLString of the page id or similar. Then make that page grab the keywords, description and any other useful content such as the tags?

Would only need to be a simple page as nothing other than Google would accept it. You could even go one step further and use the real natural url. For example:

real URL: test.com/page/content-title
Ad URL: test.com/ad/page/content-title
OR
Ad URL: test.com/page/content-title?ad=true (the rendering of the site would need to grab the last variable and know it&#039;s acutally an ad page).

Anyone tried this approach?

Greg</description>
		<content:encoded><![CDATA[<p>How about using the iFrame idea, using Google&#8217;s standard script, but make the page within the iframe a server side page that accepts a URLString of the page id or similar. Then make that page grab the keywords, description and any other useful content such as the tags?</p>
<p>Would only need to be a simple page as nothing other than Google would accept it. You could even go one step further and use the real natural url. For example:</p>
<p>real URL: test.com/page/content-title<br />
Ad URL: test.com/ad/page/content-title<br />
OR<br />
Ad URL: test.com/page/content-title?ad=true (the rendering of the site would need to grab the last variable and know it&#8217;s acutally an ad page).</p>
<p>Anyone tried this approach?</p>
<p>Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Map Wiki</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-34514</link>
		<dc:creator>Map Wiki</dc:creator>
		<pubDate>Mon, 20 Oct 2008 00:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-34514</guid>
		<description>I agree.  I think placing ads in their own iframe just sounds plain wrong.  Unless Google specifically says its ok, I wouldn&#039;t do it.</description>
		<content:encoded><![CDATA[<p>I agree.  I think placing ads in their own iframe just sounds plain wrong.  Unless Google specifically says its ok, I wouldn&#8217;t do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iGuide</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-30265</link>
		<dc:creator>iGuide</dc:creator>
		<pubDate>Wed, 01 Oct 2008 06:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-30265</guid>
		<description>According to Google&#039;s terms and conditions, modifications to the JavaScript or placing ads of pages which do not contain content are verboten.  So how does this apply to dynamically inserting ads?</description>
		<content:encoded><![CDATA[<p>According to Google&#8217;s terms and conditions, modifications to the JavaScript or placing ads of pages which do not contain content are verboten.  So how does this apply to dynamically inserting ads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.hungrysiam.com</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-21316</link>
		<dc:creator>www.hungrysiam.com</dc:creator>
		<pubDate>Wed, 09 Jul 2008 13:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-21316</guid>
		<description>By the way I wrote a little article on shvoong.com about this topic.

http://www.shvoong.com/internet-and-technologies/seo/1825689-ajax-adsense-solution/

it might help a bit.

by the way if you visit my site then keep in mind that only adsense unit in the google maps marker has this IFRAME set up. the one bellow the map doesnt use this technique.</description>
		<content:encoded><![CDATA[<p>By the way I wrote a little article on shvoong.com about this topic.</p>
<p><a href="http://www.shvoong.com/internet-and-technologies/seo/1825689-ajax-adsense-solution/" rel="nofollow">http://www.shvoong.com/internet-and-technologies/seo/1825689-ajax-adsense-solution/</a></p>
<p>it might help a bit.</p>
<p>by the way if you visit my site then keep in mind that only adsense unit in the google maps marker has this IFRAME set up. the one bellow the map doesnt use this technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: www.hungrysiam.com</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-21288</link>
		<dc:creator>www.hungrysiam.com</dc:creator>
		<pubDate>Wed, 09 Jul 2008 05:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-21288</guid>
		<description>I have successfully done this technique on my site using IFRAME. However in my case stuff that was in IFRAME had to be refreshed anyway, so I didnt have to hide any keywords.

However there is one solution, without breaking the TOS (I think)... when you change the source of the file just make the iframe src filename related to the topic you want ads to be displayed for. It worked for me. check http://www.hungrysiam.com</description>
		<content:encoded><![CDATA[<p>I have successfully done this technique on my site using IFRAME. However in my case stuff that was in IFRAME had to be refreshed anyway, so I didnt have to hide any keywords.</p>
<p>However there is one solution, without breaking the TOS (I think)&#8230; when you change the source of the file just make the iframe src filename related to the topic you want ads to be displayed for. It worked for me. check <a href="http://www.hungrysiam.com" rel="nofollow">http://www.hungrysiam.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nobosh.com</title>
		<link>http://nico.berlee.nl/adsense-and-ajax-not-a-happy-combination/comment-page-1/#comment-14863</link>
		<dc:creator>nobosh.com</dc:creator>
		<pubDate>Wed, 23 Apr 2008 03:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://nico.berlee.nl/adsense-and-ajax-not-a-happycombination/#comment-14863</guid>
		<description>Great posting. I&#039;m currently researching the issue as well as I&#039;m confuser how Google has GMAIL refreshing and we as publishers are unable to refresh our ads.

http://nobosh.com/</description>
		<content:encoded><![CDATA[<p>Great posting. I&#8217;m currently researching the issue as well as I&#8217;m confuser how Google has GMAIL refreshing and we as publishers are unable to refresh our ads.</p>
<p><a href="http://nobosh.com/" rel="nofollow">http://nobosh.com/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
