Well, because I give us the title in the post, meaning I was not going to separate how to display it under posts, above the post or even amid the post, as all ways I will intervene on their placement in this post.
But before I know you do, you may ask, is this way is quite safe and does not violate Google Adsense TOS? Okeh I replied, for placement at the beginning (above) and end (Under) posts I guarantee you 100% safe because we will only do a Parse without changing the adsense code at all, just a matter I am very, very not recommend if you want to put him amid the post because this way I have supposedly violated the Google Adsense TOS, for me it is also better not to teach how the placement of the middle posts and chuckled tetep klo you were willing to put your ad dtengah posts, please find other tutorials blog hhe ... because I do not want to teach you how risky:)
Okeh before I discuss how the placement of the beginning (above) and end (Under) post, we first discuss the placement of the middle posts. Why do I categorize this as a way and a wrong way melanggat TOS? because here we place the Adsense code in Javascript. Yes indeed shaped Javascript own Adsense code, but that does not mean you can arbitrarily place them again in Javascript or in kerangak div.
How does the composition of Javascript that is used to place Adsense code in the middle posts? The following code has JavaScript:
<div id="'"> </ div>
<div style="clear:both; margin:10px 0">
<! - Your AdSense code here ->
</ div>
<div id="'">
<data:post.body/>
</ div>
<script type="text/javascript">
var obj0 = document.getElementById ("aim1 <data:post.id/>");
var obj1 = document.getElementById ("aim2 <data:post.id/>");
var s = obj1.innerHTML;
var r = s.search (/ \ x3C! - adsense - \ x3E/igm);
if (r> 0) {s.substr obj0.innerHTML = (0, r); obj1.innerHTML = s.substr (r +16);}
</ script>
Anyway the above is not the way I recommend is hha ... Quote tetep but you want it please to my notes you hit klo gak responsibility Banned:) so I said please look for another tutorial blog ..
So How to put Google Adsense code at the beginning or end of the post?
1. Log into your Blogger account each
2. Click the Design or design, then select edit html
3. Check Expand Widget Templates (I suggest you download first template)
4. Find the code below:
<p> <data:post.body/> </ p>
Or-<data:post.body/>
It is impossible not exist, there must be .. well if you have found silahakan parse your adsense code once, does that mean? are not you rich in its original form this:
<script type="text/javascript"> <! -
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0*****";
google_ad_width = 468;
google_ad_height = 60;
//-->
</ script>
<script
src = "h*tp://pagead2.googlesyndication.com/pagead/show_ads.js" type = "text / javascript">
</ script>
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0*****";
google_ad_width = 468;
google_ad_height = 60;
//-->
</ script>
<script
src = "h*tp://pagead2.googlesyndication.com/pagead/show_ads.js" type = "text / javascript">
</ script>
Well you are so rich that parse this:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0976076963";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script
src="h*tp://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0976076963";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script
src="h*tp://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
You can search in Google Search how to parse code, if already parsed, please place the Adsense code that has been parsed before the code
If it is finished, Save your template and see the results.
Source
mas saya kasih saran nih.kl mau translate, tata bahasanya harus baku,oke :)
BalasHapusTranslite dari google ya gini. hahhaa
BalasHapus