Google Adsense Tips Laying the Articles

Return to Main Menu



Maybe a lot of questions from bloggers about how I can put Adsense in the article body, title, or after the end of the article or even on the labels?
Triknya have not met? So here we will try and do triknya peeled. Maybe you never try to put Google Adsense code directly to Blogger XML Template dapet and the error message as well?

Your template could not be Parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The processing instruction target matching "[xX] [mm] [ll]" is not allowed.

Then some bloggers then decided to put Adsense code in the "blogger widget" do not you? If such a way, then the Adsense ads will not appear on every article right? the best place where we can put that ad. Let's try to insert Adsense code directly into the XML template in other ways.

Since the start of Blogger XML nggunain strict and everything started tersatandar. Error over the sederhananya may diartiken as our Adsense code does not match the XML, and pemecahanya that we must change all html characters like "<" with ">" and ">" to "". "We see for example the following:

<script type="text/javascript"> <! --
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></ script>
<script type = "text / javascript"
src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
</ script>

It will then look like this:


<script type="text/javascript"> <! --
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></ script>
<script type = "text / javascript"
src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
</ script>

We may be able to use a text editor to replace all the HTML code, using any text editor, (if I use notepad for example), but only if such may be very energy drain if it should replace one at the code. try it click here (where we can directly generate all the code we adsense).

Well now this tips to put HTML code that we have to change kedalan XML blogger templates. Replace the bold letters (Parse Adsense Code), with the HTML code that you have us change the line.

1. In addition to posting








<div style="float:left;">
<! - Parsed Adsense code ->
</ div>

<div class='post-body'>
<p> <data:post.body/> </ p>
<div style='clear: both;'/> <! - clear for photos floats ->
</ div>


2. After posting before credits










<div class='post-body'> <p> <data:post.body/> </ p> <div style='clear: both;'/> <! - clear for photos floats -> </ div>

<div> <! - Parsed Adsense code -> </ div>

<div class='post-footer'> <p class='post-footer-line post-footer-line-1'> <span class='post-author'> <b: if cond = 'data: top. showAuthor '> <data:top.authorLabel/> <data:post.author/>


3. After the Credits











<p class='post-footer-line post-footer-line-3'/>

<div> <! - Parsed Adsense code -> </ div>
</ div>
</ div>
</ b: includable>
</ b: widget>
</ b: section>


Congratulations hopefully successful attempt! :)

The author alone is still a little confused, for details, can read more here

Dalam program ini tersedia dana dengan jumlah tak terbatas yang berasal dari ribuan sumber sehingga memungkinan bagi siapa saja untuk mendaftar dan berpeluang mendapatkan dana hibah, tanpa syarat!
Gabung Disini

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Tidak ada komentar:

Posting Komentar