Skip to main content

Tips To Get Sitelinks In Google Search Results - Blogger

Sitelinks are some links that are showing below site in search engines. Its not just in Google search results but in Bing, Yahoo and also in Yandex. There is no idea how to get sitelinks, even Google says that sitelinks are automatically generated links to help visitors reach important pages of your site. Also you have no control over which page you want in sitelinks and also there is no code which can do it. You might be thinking that if nothing is known about sitelinks, how am I going to get it for my site ? Well, the answer is simple you will get it as I got them ! What Are Google Search Result Sitelinks: Above is the sceenshot of sitelinks of my blog. If you search "101helper" oon Google you will see the sitelinks live. These are featured links from my blog and are shown to visitors to help them reach deeper pages or help them to reach the content of interest on a site. Note that sitelinks never remain the same they change time to time and we have no control over it. Goog...

Blogger Not Accepting Javascript / Error Parsing XML - Solved !


If you are blogging for even 2 months you must have seen this error once when you tried to add a javascript in you blog theme. This error appears when a javascript contains some symbols like $ or & or sometime =. All these errors show error when theme is saved. and the error says "Error parsing XML, line number, column number: The reference to entity "version" must end with the 'example' delimiter".


As shown in above image, blogger is not accepting Facebook like button code and showing error. To solve this error I have to simply make this code acceptable by blogger.

You might have problem saving codes of some ads like media.net ads, chitika ads, bidvertiser ads etc all these ads are sometimes not accepted by blogger so you can fix them by following this post and run ads or custom scripts.


How to add javascript codes in blogger without parsing error ?

Follow below steps:

(1). Grab the javascript code which you want to fix in to a notepad or paste it in your blog's <head> or elsewhere in your blog template.

(2). Copy below piece of Text / HTML tag.

//<![CDATA[

(3). Now paste it after <script> or <script type='text/javascript'> of your javascript code.

(4). Now find the closing tag of your script i.e <script> and paste below piece of HTML above it.

//]]>

(5). Save your theme.

You didn't see any error right ? if this worked for you feedback and share this post with others. If not share your problem by leaving a comment below.

Your final code should be like below:

<script type='text/javascript'>
//<![CDATA[
function myFunction() {
var btn = document.createElement("Click");
window
.open("URL")
}
//]]>
</script>

Though it is a small error but I thought to share how to fix it because it is asked by many bloggers who encountered this error. Hope it helps!

Thanks for visiting +101helper.

Search keywords: blogger not accepting javascript error,how to add javascript in blogger post,fix xml parsing error blogger,how to fix xml parsing error blogspot,javascript not accepting blogger template

Comments

Popular posts from this blog

Horizontal Scrolling Menu For Blogger Mobile Site

Mobile screen being small can't hold a wide horizontal menu so people add vertical menu for mobile site specially bloggers do so but there is a simple way of install a horizontal menu in blogger mobile site that is making a scrollable menu so it will show some tabs of the menu and others can be seen by touching and scrolling. As you know that almost everyone is now using a touch screen mobile so it is a good menu for your mobile site. So in this post I am going to share 4 different types of horizontal scrolling menus. Follow below steps to add any of the menu in your blog's mobile site. Live Demo  (Open In Mobile For Best Experience) How To Add Horizontal Scrolling Menu For Blogger Mobile Site? Step 1: Go to blogger and open Layout. Step 2: Add a gadget just above your " Blog Posts Gadget" as shown in below image and click on Html/Javascript. Note:  If you are not able to add gadget above Blog Posts then simply add it in sidebar and drag it above Blog Posts because ...

How To Install Emoji Reactions(Smileys) In Blogger

We all are familiar with emoji reactions because all of us use social networks and chatting and texting is incomplete without emoji reactions(smileys). These emoji reactions help us to explain our feelings about things and so I decided to create a post about it. So far I have seen in many blogs that they have emoji reactions in comment form and a emoji code is to be placed where emoji is to be shown but that's too old and most people don't like it. So I decided to tell you about these new type of emoji reactions that are placed in the bottom of post and show reaction of people to that post. Maybe you are thinking why should I add emoji reactions in my blog, it is useless but let me tell you that blogging is not just about growing blog more and more and earn money, but you must have something more which will make your blog special and these emoji reactions will grab attention of many visitors and will also tell them about how many people liked your post. Here is a picture of emo...

Backlinks Violating Google's Guidelines (Autobacklinks Pros & Cons)

My blog reader asked me to write a post about auto backlinks building and its cons and pros so I decided to tell you about auto backlinks building and other backlinks that violate Google's guidelines for webmasters so you can avoid these backlinks generating methods and save your blog from Google penalties. Before telling you about types of backlinks that violate Google's guidelines, let me tell you first what is autobacklinking. Auto backlinking is a way to get free backlinks without working hard, though it is easy way and works for sometime but if you get penalized then all your work go in vain. There are many software that do it all you need is to put your link and make backlinks, some online tools are also available for this work. But I don't recommend it because these backlinks are not from sites which are similar to your site topic and these backlinks doesn't have value. Also there is a high risk of penalty. So auto backlink generating methods are not successful a...