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

How To Show Star Ratings In Google Search Results - Blogger

Google rich snippets allow you to make your site's search results view better to get maximum visitors. And it is seen that sites with rich snippets enabled get more visitor specially sites selling products or sites about review of any ad network or site with cooking recipes. Among Google rich snippets most popular are search box in search results and star ratings widget because most of sites are able to show them for their search results but not all! other rich snippets like logo of company or organization or social profiles in search results appear only for big companies or organization. So in this post I am going to show you how to show star ratings for all posts in Google search results. How to add Google Rich Snippet schema for star ratings in blogger? Step 1: Go to blogger dashboard, go to template and edit html. Step 2: Search for below code: <div class='post-footer'> You will find this code 2 times paste the below code above the second one. Step 3: Copy below c...

How To Setup Google Custom Search Box In Two Pages In Blogger

Do you use Google webmaster tools? if yes then I am sure that you are aware of Google custom search engine. Google custom search engine is a feature of Google webmaster tools which lets you to create a custom search engine for your blog or site and you can add it your blog also. It works on javascript and doesn't need any experience in Html or java. All you need is to setup search engine for your blog. You can read a post in which I have shared some search box where I have mentioned Google custom search engine too. You can read that post and create a custom search engine for your blog by following it, if you haven't setup a search engine yet. Click here to read that post. In this post I will tell you how to add Google custom search in blogger(two pages). If you didn't get me that what am I talking about then read below paragraph. What is this article about? This post is about adding Google custom search in blogger in two pages. Let me explain it more accurately. Google pro...