Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. Show all posts

Error parsing XML in Google Adsense code [Solved]

0
Error parsing async src of XML in Google Adsense code

Sometimes blogspot blogger blogs show an unexpected error when blog owner tried to integrate Google Adsense codes. You may called it "async error". I could not find the actual reason behind it. Blogger and Google Adsense both are product of Google. Adding code in blogger xhtml template should be easier and hassle free. Google should make a solution for it. But alas! We have to solve it by our self.
A regular Google Adsense (asynchronous) Code looks like this
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-00000000000000", enable_page_level_ads: true }); </script>

and the error message on Blogger/Blogspot blog looks like this-
Error parsing XML, line 161, column 1: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.

The solution is suggested on the error message itself. It said
Attribute name "async" associated with an element type "script" must be followed by the ' = ' character

It means Blogger xhtml wants an equal sign (=) after the word "async"

So, the solution is easy. Just add ="async" right after async in the first line of Google Adsense code.

The original Google Adsense code should change like this way

Original adsense code:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Chnge it to
<script async='async' src=

Error parsing XML in Google Adsense code [Solved]
Error parsing XML in Google Adsense code solved

Don't worry to do this change in Google Adsense, because it is an allowed modification of AdSense code.
Read More »

Active Energy Saving Mode on Blogger blog

2
Active Energy Saving Mode or screen saver on Blogger blogEvery minute visitors browsing websites emit 1.2kg of CO2 into our atmosphere. We conscious people should not do this intentionally. So, conscious webmaster like to add a script on their blog which reduce some CO2 activating an energy saving mode on their blog. 'OnlineLeaf.com' site set a campaign for Green Website. They create a standby engine which make a website greener then other. After adding a code snippet on your blog you can will convert in a less CO2 emitting website. It is very easy to implement. You do not need to know and environmental science to make your site environment friendly. Read more at www.onlineleaf.com.

Today we will learn how to make our blogger/ blogspot hosted blog a environment friendly website. Our blog will reduce CO2 on environment and will neutralize our CO2 footprints. This will work actively for 24 hours and will count every second. Do not doubt it activeness. It is a famous web tool to make this world more greener with the help of online.

What they say on their site:
The standby engine is a project developed to reduce power consumption, when generating and displaying a website, without changing user experience while using the website. This is done by covering the site in a stationary, black color, which hides visual effects making the visitor's computer use less energy generating and displaying these.
It might not seem like a lot of difference, but after all every little bit does count.
Ok, lets start....
Read More »

Add welcome pop up message on Blogger blog

16
Add welcome pop up message on Blogger blog home page
Today we will learn how to add a welcome message on a blogger blog which will show itself on blog load. Using a simple script you can give your every visitor a warm welcoming message. The better side of this code is your welcoming message will show only on HOME page, not on other article page. So your visitor will not get annoying see same massage everytime. Now, lets start pasting the simple code.

  • Log in to blogger account.
  • Go directly to Design> Edit HTML page.
  • Search </body> and paste the code below just before it. You can find this </body> at the last line of a blogger blog html page.
<b:if cond='data:blog.pageType == "index"'>
<script language='JavaScript'>alert("Warm Welcome To My NetGator Blog")</script>
</b:if>

Look at the image below
Add welcome pop up message on Blogger blogYou should paste the code above as shown on this screenshot.
  • Now click on SAVE TEMPLATE button and you have done.
Read More »

Blogger blog is not open for ip problem

0
blogger blogspot blog is not openBlogger blog is not opening normally.
For somedays my Netgator.blogspot.com blog is not opening. I am using Grameen Phone mobile broadband internet service. When I found that my blog is not open then I tried to launch another blogger blog. Result is same. Any blogspot blog failed to open from my side. I tried Hidemyass.com and understand that it is a ip problem. Blogger authority might find any illegal operation caused from Grameen phone ip (internet protocol) address, so they blocked it. For this security issue I am facing this kind of problem
blogger blogspot blog open with hidemyass proxyblogger blog open with the help of hidemyass.com proxy
I think blogger authority should understand that all of their user from Bangladesh is not criminal.
Read More »

I have enable mobile view of my blogger blog

0
I just enable mobile view of my blogger blog 'netgator.blogspot.com'. You also can enable this on your blogspot blog easily. Look at the image right side of this post. This is my 'NetGator' blog's snapshot but quite different in view and arrangement. Yes, this is called mobile view. If you have a smarter mobile phone (modern mobile device powered by latest mobile operating system) then you can see my blog in this style. You can view it when you have no desktop pc/ laptop/ netbook in your hand. Say, you are visiting country side by bus or foot or hiking a mountain. In this kind of abnormal place (where you can not use desktop/ laptop/ netbook) a smartphone can feed your blogsite reading hungry.

Do you have a blogger/ blogspot blog? Want to enable mobile view on your blog?
  • Log In to http://draft.blogger.com site.
  • On Dashboard, directly go to Settings.
  • Now click on 'Email & Mobile'
  • Click to mark the radio button next to the sentence "Yes, On mobile devices, show the mobile version of my template."
  • Click on 'Mobile Preview' blue text button to see a preview.
  • Click 'Save Settings' at the bottom of this page.
  • You have done.
  • Remember that, it is a beta effort. So blogger do not give any guarantee to work it perfectly.
By the way I have not any smartphone. So I can not check the actual view of my blog. I publish the screenshot taken from 'Mobile Preview' option.
Read More »

Print-PDF button on blogspot blog post

0
Print save as pdf button on every blogspot blog postSometimes we want to add a 'Print' button on every blog post. But there is no option on blogger.com blog dashboard. You can not able to add any 'Print' or 'Save as PDF' button on every blogger blog posts, via its own controlling system. You may add a 3rd party tool to do this job perfectly. Today I am publishing same kind of webtool for your blogger, wordpress blog or for your static website. Now, you can add a print button / offer your readers to print every blog post or save them as pdf. I think if you write well and your reader want to read your ideas later then printing a web page or save them as pdf will serve properly at offline.

A newly published online service will do this job for you with a smart way. You can peak your desired one from a range of design or add a simple text link to print every blogspot blog post.
printer friendly textlink blogspot post
You can offer your readers to do print related various job with more functional way with this great feature rich webtool. Your readers can print an optimized version of that specific blog post.

What it can do?
  1. It can Print.
  2. It can print / save as PDF.
  3. It can send that page as email.
  4. You can change text size.
  5. You can remove picture to reduce inkcharge.
  6. You can delete any specific paragraph clicking once.
  7. and Undo everything which you done wrong.
  8. What's more....
How to add it on blogger blog?
Just follow the instructions one after another.
  1. Login on your Google account.
  2. Go to blogger's dashboard.
  3. Go directly to Design > Edit HTML
  4. Search for <div class='post-footer'>
  5. Just after this texts, paste the supplied codes
  6. Save template.
You can get this 'Printer Freindly' button code from 'Printer Friendly.com' site. (Click the sitename and visit that site to grab the HTML code)
choose a button design from various many printerfriendly buttonYou can choose from several design or just get a text link based print button like the snapshot/ screen-shot above (green colour). You can choose from 6 design or use your own customize text or image file, instead of supplied print button image. You can add your own text later.

If you feel happy getting this webtool or get worried for any problem, please don't forget to leave a simple line to let me know it.
Read More »

Newton's third law on your blog

0
add Newton's third law flash gadget on blogger blogspot blog sidebarNewton's third law flash gadget preview

Add a gadget in your blog's sidebar, which represent newton's third law. If you love physics, like to share science with others, then this fantastic gadget might satisfy you. Put the codes below in any Html/ Javascript gadget and save the changes.
<object type="application/x-shockwave-flash" style="outline:none;" data="http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/newtonsCradle.swf?up_numBalls=6&up_speakerColor=999999&up_barColor=A9AAB0&up_stringColor=ECF078&up_bgColor=1D2C8F&up_ballColor=FCA9CD&" width="300" height="225"><param name="movie" value="http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/newtonsCradle.swf?up_numBalls=6&up_speakerColor=999999&up_barColor=A9AAB0&up_stringColor=ECF078&up_bgColor=1D2C8F&up_ballColor=FCA9CD&" /><param name="AllowScriptAccess" value="always" /><param name="wmode" value="opaque" /></object>
I will be very happy if you found this simple gadget as a educational tool for your child.

Oh! what Newton said on his third law?
For every action there is an equal and opposite reaction.
More explanation can be found on Wikipedia
Read More »

Mobile view of blogspot blog enabled

1
Now, you can view your blogger.com blog on any smartphone mobile device. You can view and visit blogspot blog from any smartphone viewing default web layout. But mobile template is fully different then original view. Blogger or any original web template has a common problem. When anybody trying to read a blogspot blog from mobile phone s/he might feel some disturb, when s/he has to always scroll through the screen. Mobile template is free from this kind of hassle.

My 'NetGator' blog on mobile view
My 'NetGator' blog on mobile view

How to enable mobile view on blogger.com blog? This is very easy. Just follow the suggestions below:
  • Login 'blogger.com' dashboard with corresponding user id and password.
  • Directly go to 'Settings> Email & Mobile'
enable mobile view blospot blog from draft.blogger dashboardSelect "Yes, On mobile devices, show the mobile version of my template." on 'Show mobile template' area of "Mobile Template" section. Click on 'MOBILE PREVIEW' to check your blog's mobile view.

If you use default new 'Designer' templates then you will get 6 more template to suit your blog. If you use customize blogspot template then you might get only one mobile view template. I publish my 'NetGator' blogs mobile view screenshot on this post.

I wish this new mobile view feature will bring your blog's visitor (who are visiting from mobile phone) to a new portable blogger horizon.

Keep in mind that this feature is still in 'Beta' version'. So, active this feature on your own risk. Things might happen different. Then you can not blame anybody. Blogger.com or I wont take any responsibility or your valuable loss.

At last click on 'SAVE SETTINGS' and Enjoy!!
Read More »