<?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: Inject Custom Ad Blocks Between Paragraphs in WordPress</title>
	<atom:link href="http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/</link>
	<description>Web Design Articles &#38; Tutorials. To make the web impressive.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:16:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Lee H</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-6538</link>
		<dc:creator>Lee H</dc:creator>
		<pubDate>Tue, 17 Aug 2010 00:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-6538</guid>
		<description>I struggle with javascript so take what I have to say with a grain of salt.  I use lazyload to load all my adsense code after the pages load.  You place a div with a class of whatever you want with a variation of the adsense code needed to display the ad.  LazyLoadad (I believe is the name) searches for that div and rewrites the code to become javascript and the ad is loaded when it&#039;s done.
It might be helpful to study what those fellas did and it might turn on a lightbulb for you?

Good luck :)</description>
		<content:encoded><![CDATA[<p>I struggle with javascript so take what I have to say with a grain of salt.  I use lazyload to load all my adsense code after the pages load.  You place a div with a class of whatever you want with a variation of the adsense code needed to display the ad.  LazyLoadad (I believe is the name) searches for that div and rewrites the code to become javascript and the ad is loaded when it&#8217;s done.<br />
It might be helpful to study what those fellas did and it might turn on a lightbulb for you?</p>
<p>Good luck :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-2365</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Wed, 12 May 2010 10:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-2365</guid>
		<description>No problem. Keep in mind (as I mentioned in the article) that this doesn&#039;t work with Adsense (and maybe not with any ad network code), because they don&#039;t seem to want you to inject code in this manner. Probably because of some security concerns, or the ability to manipulate impressions or something.</description>
		<content:encoded><![CDATA[<p>No problem. Keep in mind (as I mentioned in the article) that this doesn&#8217;t work with Adsense (and maybe not with any ad network code), because they don&#8217;t seem to want you to inject code in this manner. Probably because of some security concerns, or the ability to manipulate impressions or something.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-2358</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Wed, 12 May 2010 09:17:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-2358</guid>
		<description>Thanks for putting that back in Louis. I&#039;ll try and get it working on my site now. I may have more luck on a live site than on my local machine. I think I may have the path to the adblock set up wrongly.
And thanks for your reply re Ajax.</description>
		<content:encoded><![CDATA[<p>Thanks for putting that back in Louis. I&#8217;ll try and get it working on my site now. I may have more luck on a live site than on my local machine. I think I may have the path to the adblock set up wrongly.<br />
And thanks for your reply re Ajax.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-2324</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Tue, 11 May 2010 15:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-2324</guid>
		<description>Neil,

So sorry about that. I did a big overhaul to my site&#039;s code recently, to optimize for speed, and it seems I took that code out and didn&#039;t realize it. I probably thought it was something for testing, and disabled it. Thanks for pointing this out, as I would not have noticed otherwise.

Anyways, I&#039;ve restored it. If you click the &quot;view demo&quot; button, you&#039;ll be taken to another article on this site, and the ad block appears dynamically near the top, but ONLY on that article.

Regarding your second question, no, AdSense and other ad networks don&#039;t allow the ad blocks to be injected via Ajax. Also, Ajax as a technology does not permit this, except when using certain methods. &lt;a href=&quot;http://snook.ca/archives/javascript/cross_domain_aj&quot; rel=&quot;nofollow&quot;&gt;See this article&lt;/a&gt; for an explanation on Ajax&#039;s limitations with cross-domain requests.</description>
		<content:encoded><![CDATA[<p>Neil,</p>
<p>So sorry about that. I did a big overhaul to my site&#8217;s code recently, to optimize for speed, and it seems I took that code out and didn&#8217;t realize it. I probably thought it was something for testing, and disabled it. Thanks for pointing this out, as I would not have noticed otherwise.</p>
<p>Anyways, I&#8217;ve restored it. If you click the &#8220;view demo&#8221; button, you&#8217;ll be taken to another article on this site, and the ad block appears dynamically near the top, but ONLY on that article.</p>
<p>Regarding your second question, no, AdSense and other ad networks don&#8217;t allow the ad blocks to be injected via Ajax. Also, Ajax as a technology does not permit this, except when using certain methods. <a href="http://snook.ca/archives/javascript/cross_domain_aj" rel="nofollow">See this article</a> for an explanation on Ajax&#8217;s limitations with cross-domain requests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-2319</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Tue, 11 May 2010 13:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-2319</guid>
		<description>This looks really good (even if I haven&#039;t got it working yet).
Have you removed the demo now? It doesn&#039;t seem to be visible on single posts.

Also - if you are using Ajax to call the adblock file, does that mean it can sit on a different server?
thanks</description>
		<content:encoded><![CDATA[<p>This looks really good (even if I haven&#8217;t got it working yet).<br />
Have you removed the demo now? It doesn&#8217;t seem to be visible on single posts.</p>
<p>Also &#8211; if you are using Ajax to call the adblock file, does that mean it can sit on a different server?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASAD ULLAH</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-1959</link>
		<dc:creator>ASAD ULLAH</dc:creator>
		<pubDate>Wed, 21 Apr 2010 16:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-1959</guid>
		<description>its coooooool. thanks for this lovely post.</description>
		<content:encoded><![CDATA[<p>its coooooool. thanks for this lovely post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zabava</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-1718</link>
		<dc:creator>Zabava</dc:creator>
		<pubDate>Fri, 02 Apr 2010 17:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-1718</guid>
		<description>Nice post  thank you for sharing! :-)</description>
		<content:encoded><![CDATA[<p>Nice post  thank you for sharing! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jauhari</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-1690</link>
		<dc:creator>Jauhari</dc:creator>
		<pubDate>Sun, 28 Mar 2010 12:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-1690</guid>
		<description>It&#039;s will be good if support AdSense and BSA ;)</description>
		<content:encoded><![CDATA[<p>It&#8217;s will be good if support AdSense and BSA ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Inject Custom Ad Blocks Between Paragraphs in WordPress &#124; Design Newz</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-1677</link>
		<dc:creator>Inject Custom Ad Blocks Between Paragraphs in WordPress &#124; Design Newz</dc:creator>
		<pubDate>Fri, 26 Mar 2010 19:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-1677</guid>
		<description>[...] Inject Custom Ad Blocks Between Paragraphs in WordPress [...]</description>
		<content:encoded><![CDATA[<p>[...] Inject Custom Ad Blocks Between Paragraphs in WordPress [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some helpful Tweeters (#ff)Â 03/19 &#171; FAQPAL Blog</title>
		<link>http://www.impressivewebs.com/inject-custom-ad-blocks-between-paragraphs-in-wordpress/#comment-1573</link>
		<dc:creator>Some helpful Tweeters (#ff)Â 03/19 &#171; FAQPAL Blog</dc:creator>
		<pubDate>Fri, 19 Mar 2010 18:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=1315#comment-1573</guid>
		<description>[...] @ImpressiveWebs Inject Custom Ad Blocks Between Paragraphs in WordPress Inject Custom Ad Blocks Between Paragraphs in WordPress [...]</description>
		<content:encoded><![CDATA[<p>[...] @ImpressiveWebs Inject Custom Ad Blocks Between Paragraphs in WordPress Inject Custom Ad Blocks Between Paragraphs in WordPress [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
