Implement PrismJs Syntax Highlighting to your Blogger/BlogSpot

As the web becomes more open source and beautiful, programmers and designers are coming up with their own ideas. Syntax Highlighter is the most used code highlighter for websites since it was the first of it's kind and opensource. The web has changed then and now and you need a brand new Syntax highlighting plugin that really looks like the 2012's site
Last updated: 15th April 2017

Still wondering what's PrismJs ? Check it's official page for more information http://prismjs.com/, it's the second generation of syntax highlighting, it is more lightweight and that doesn't affect your page load time at all.


The overall adding procedure is the same as mentioned on the PrismJS official page but there are yet some modifications need to be made if you want it to work properly on Blogger blogs. In this tutorial i will provide the links to minified version of the codes, once you get the idea about adding it, you can use whatever version you want.

Include the files in your template

The first thing you have to do is adding the CSS and JavaScript files, to make Prism Syntax Higlighter work, you just need to add two files into your template and both are less than 10kb. That's a good thing for you Page Speed.

<link rel="stylesheet" href="http://prismjs.com/themes/prism.css"/>
<script type='text/javascript' src="http://prismjs.com/prism.js"></script>

And where to add this ? It is simple, just above the ending </head> tag. Go to your Template -> Edit HTML -> Proceed -> Use CTRL+F to find </head> and paste the HTML script and link tag just above </head>


Note : The links in the script and link tag is only for demo of the code, if you want to use different theme then you can download the version of your choice on PrismJS Download page, upload it to your hosting service and replace the links with your hosted file's links.

Now display codes in your post

Wrapping the display code into <pre> tag is normal for displaying codes on webpages and to display the codes in Prism style you have to do it like this way. (demo for codes display)


The following example is for displaying HTML codes in your pages, to define any languages you have to edit language-xxx
<pre class='language-markup'>
<code>
// Your HTML Code here
</pre>
</code>

Tip: You can add the class for a language to any parent element and the children elements will inherit the defined language. It is very useful when you just want to display codes of the same language in a page.

Escape HTML characters

But in Blogger you have to escape the HTML characters so it don't get interpreted as raw HTML. Use QuickEscape tool to convert Raw HTML into displayable HTML. For example, if you want to display this HTML code
<ul class='make-tea'>
<li>Tea</li>
<li>Water</li>
<li>Sugar</li>
<li>Milk</li>
</ul>
It should be converted into this, so you can paste it into the HTML mode of Blogger post editor to make it displayable
&lt;ul class='make-tea'&gt;
&lt;li&gt;Tea&lt;/li&gt;
&lt;li&gt;Water&lt;/li&gt;
&lt;li&gt;Sugar&lt;/li&gt;
&lt;li&gt;Milk&lt;/li&gt;
&lt;/ul&gt;
The whole code witth <pre> and <code> tag will be then look like this.
<pre class='language-markup'>
<code>
&amp;lt;ul class='make-tea'&amp;gt;
&amp;lt;li&amp;gt;Tea&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Water&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Sugar&amp;lt;/li&amp;gt;
&amp;lt;li&amp;gt;Milk&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
<code>
</pre>
The HTML is then ready to be pasted in your post. In the post editor switch to HTML view and place the code but always remember to escape raw HTMLs.

Languages

To define languages you just have to change the language-xxxx in the class you can find in <pre> and <code> tags.
  • For HTML we will use this tags to wrap the display codes
    <pre class='language-markup'>
    <code>
    // Your HTML Code here
    </code>
    </pre>
    language-markup is used for HTML markups. You may use this for XML codes too.
  • CSS will be wrapped into this tags
    <pre class='language-css'>
    <code>
    // Your CSS Code here
    </code>
    </pre>
  • JavaScript can be wrapped into this
    <pre class='language-javascript'>
    <code>
    // Your JS Code here
    </pre>
    </code>
    JQuery can also be displayed with this.
  • Want to learn more than check out the PrismJS homepage

For Different Themes

The great thing about PrismJS syntax highlighter is that you can make the code blend with your site's overall theme by using different themes provided by PrismJS. There are the following themes available by default for it : default, dark, funky, okaidia, twilight, coy and solarized light

With a single addition of a CSS file you can change the theme for all PrismJS syntax highlighter instances on your blog.
In the first step we added the default theme,

<link rel="stylesheet" href="http://prismjs.com/themes/prism.css"/>
<script type='text/javascript' src="http://prismjs.com/prism.js"></script>

The http://prismjs.com/themes/prism.css in the first line of code sets the theme to default, while the following sets it to its corresponding theme.

Dark 
<link rel="stylesheet" href="http://prismjs.com/themes/prism-dark.css"/>

Funky
<link rel="stylesheet" href="http://prismjs.com/themes/prism-funky.css"/>

Okaidia
<link rel="stylesheet" href="http://prismjs.com/themes/prism-okaidia.css"/>

Twilight
<link rel="stylesheet" href="http://prismjs.com/themes/prism-twilight.css"/>

Coy
<link rel="stylesheet" href="http://prismjs.com/themes/prism-coy.css"/>

Solarized Light
<link rel="stylesheet" href="http://prismjs.com/themes/prism-solarizedlight.css"/>

Your feedback

I tried to put as much information as I can but if you find something missing or needs to be reviewed then please drop your comments. Also you can write to us on depy45631@gmail.com or see the contact page.

Remove default share buttons from Dynamic Views Blogger

Dynamic views is now used by many people. But everyone don't want every feature of Dynamic views and e the share buttons are a feature that many Blogger users asked me how to remove it, this tutorial is specially for them.

Why one would want to remove the social share feature ?

Good question, the answer is that people having private blog don't need the share feature at all and even if the blog is not private some might just want keep away from social sites. Whatever the reason is, there's no option in Dynamic views to disable the search features and that's why you are here to learn how to remove it. Continue for the trick to hide/remove the share buttons

The trick

A one line code can work like a charm to hide elements from a page and for the share buttons in Dynamic views this one line CSS will do the job. Copy the CSS code below and then follow the instruction to add it
.share-controls {display:none !important;}
To add this CSS into your Dynamic views template Go to Blogger Dashboard -> Template -> Customize -> Advanced -> Add CSS -> Paste the CSS and hit Apply to Blog and that's it.
Check your updated page by refreshing your page with CTRL+F5.

Your feedback

As you know we love to hear from you and to say thanks and ask question comment is the best way. Also subscribe to our blog for regular updates and Blogger tips and tricks. 

Hover effect Heat meter design Popular post widget on Blogger

Any Blogger blog can be easily customized but did you know that we can also customize the existing gadgets   ? It becomes very easy to design gadgets on a blog with CSS and i love doing it. In this tutorial you will learn about adding heat meter style for popular post gadget.
In this tutorial you don't have to add any external HTML into a gadget. We will be applying CSS style on the default popular post widget in Blogger to give it a heat meter style with hover effect. Follow the steps below to continue to the tutorial.

Demo preview

1. Configure the Popular post widget

Before we put styles onto it, we have to configure the popular post widget for the style to be compatible with it. To do that that go to your Blogger Dashboard -> Layout -> Edit/Add Popular Post gadget -> And configure it like this
Leave the image thumbnail and snippet check mark unchecked, and set to display 5

2. The CSS

CSS for this effect is very long. You don't need to edit or customize the CSS, it looks the best in what it is.
But if you know what to do then you can try your hands on this. But before that follow the instruction and add this CSS to your template.
.sidebar .PopularPosts .widget-content ul li{
height: 100%;
line-height: 22px;
float: left;
clear: left;
list-style-type: none;
overflow: hidden;
color: gray;
}
.sidebar .PopularPosts .widget-content ul{margin:0;padding:5px 0;list-style-type:none;}
.sidebar .PopularPosts .widget-content ul li{position:relative;margin:5px 0;border:0;padding:10px;opacity:0.8;
-webkit-transition:all 0.4s;
-moz-transition:all 0.4s;
-ms-transition:all 0.4s;
-o-transition:all 0.4s;}

.sidebar .PopularPosts .widget-content ul li:hover {border-radius:30px 0px 0px 0px;margin-left:10px;opacity:1.0}
.sidebar .PopularPosts .widget-content ul li:first-child {background:#ff4c54;width:90%}
.sidebar .PopularPosts .widget-content ul li:first-child:after{content:"1"}
.sidebar .PopularPosts .widget-content ul li:first-child + li{background:#ff764c;width:80%}
.sidebar .PopularPosts .widget-content ul li:first-child + li:after{content:"2"}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li{background:#ffde4c;width:70%}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li:after{content:"3"}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li{background:#c7f25f;width:60%}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li:after{content:"4"}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li{background:#33c9f7;width:40%;padding-right:20px;}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li:after{content:"5"}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li +li{background:#7ee3c7;width:30%}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li + li:after{content:"6"}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li + li +li{background:#f6993d;width:20%}
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li + li + li:after{content:"7"}
.sidebar .PopularPosts .widget-content ul li:first-child:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li + li:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li + li:after,
.sidebar .PopularPosts .widget-content ul li:first-child + li + li + li + li + li + li:after{position:absolute;top:15px;right:-5px;border-radius:9%;background:#353535;width:30px;height:40px;line-height:1em;text-align:center;font-size:22px;color:#fff;}
.sidebar .PopularPosts .widget-content ul li .item-thumbnail{float:left;border:0;margin-right:10px;background:transparent;padding:0;width:30px;height:90px}
.sidebar .PopularPosts .widget-content ul li a{font-size:12px;font-weight:bold;color:white;text-decoration:none;text-shadow:0px 0px 6px white;
-webkit-transition:all 0.4s;
-moz-transition:all 0.4s;
-ms-transition:all 0.4s;
-o-transition:all 0.4s;
}
.sidebar .PopularPosts .widget-content ul li a:hover{color:black;text-decoration:none;text-shadow:1px 1px 1px white;}
Copy the CSS into your notepad or any word processing program.
Note : This is a scroll box so make sure to copy the whole code.

3. Adding the CSS

Now it's time to add the CSS to your blogger template.
Add from Template Designer : The easiest way is to add from the Template designer. To do that go to your Blogger Dashboard -> Template -> Customize -> Advanced -> Add CSS -> Paste the copied CSS in custom CSS box and preview, if it's okat then hit Apply to Blog.

Or add directly to Template : For a long CSS i recommend you adding the CSS directly to the Template. And to do that Go your Blogger Dashboard -> Template -> Edit HTML -> Proceed -> Now use CTRL+F to find ]]></b:skin> and paste the copied CSS just above this tag. Preview the template and Save.

That's it ! Now see your Popular post gadget design, isn't it amazing ?

You tried but nothing happened ? Don't worry i am here to assist you, just provide your blog address in the comments and i will tell you what to do. Also comment if you loved this post and want to say thanks.

Google+ tab option in Blogger interface

Since the launch of Google+, almost every part of Google had change and Blogger is also one of them. Recently blogger have made some changes and attached Google+ as tab in Blogger dashboard.
Google+ have made things easier for Bloggers, it's became easier to connect your G+ to your blogger and display authorship information in searches. You may be familiar with the feature of Blogger to switch to a Google+ profile instead of a Blogger profile and that was one of the most discussed change. The reason many people didn't liked it was they weren't able to post with their nickname they used in their blogger profile instead they had to post with their Google+ name, most people prefer nickname from real name in blogger.

What's inside the option

I am bit disappointed this time, there's no new features. If you haven't switched to Google+ profile for blogger then you will see invitation to Upgrade to Google+ and if you are already using Google+ for your blogger then you will see the details of your Google+ and couple of settings regarding your G+ profile for Blogger.
Just a reminder from Blogger that you can connect your Google+ to Blogger. And i think you must try it, because you have the option to revert back Blogger profile under 90 days. Give it a try and experience a brand new feeling of Google+Blogger

With this change i think we will get to see more new features on Blogger in future.

Your Feedback

Thanks for reading this post, hope we provided all the information you want. If you enjoyed reading this post then do subscribe to our blog via email to receive updates. The discussion form is waiting for you, comment and discuss this post.

Why never use sites and services that provides Facebook likes

If you are blogger and own a Facebook for your blog then at the start your blog you won't get fans and subscribers instantly and due to that, frustrated peoples with less likes on their FB pages starts finding ways to get instant likes and fans on their page and using services provided by websites to increase your likes count but is it okay to use those service ? Read further for more information
There are numbers of websites providing services to increase your Facebook likes for some amount of money or sometimes free.I won't mention those services here.


You will be happy to see the increasing numbers of fans on your FB page and in greediness of more fans you may also want to buy for more likes and you will get the likes as well, there will be no problem at first but even if there's no error or problem that doesn't means that everything is going smooth.

How it can harm your page ?

There might be no problem for most of the users using these services, but it still affects your reputation for the Facebook page and your page will be marked as a spam. You must think how reputation is affected on Facebook page, but it does. If not reputation then your page can be marked as and it your page can get banned temporary or even permanently. Here's an example, this page was banned for spammed likes.

illegal likes spammed banned facebook page
(Thanks to Akshay Jain for the photo). You can see how the Facebook community page of that person was banned temporarily for spammed likes. The page wasn't disabled completely but limitations were placed on the page, just like if you send friend requests repeatedly then limits are placed on account. All like buttons for that page have been disabled and will be only available after the limitation expires on 28th August (1 month ban).   

Should i continue using it ?

After reading this post do you think using these services is safe for your page ? Never ever use this spammy services, in greed of increasing likes you can end up with a permanently banned page. Be happy with your original fans and that's the fun and challenge, you have to increase your fan following by hard working not with using these fake services.

Why URL of deleted blog is not available for new blogs in Blogger

Blogger is undoubtedly the most used Blogger platform and over 80% of Blogger user uses .blogspot.com domain provided by Blogger for free and people love to have their desired blogspot address for their blogs.
But you aren't always lucky to get your desired domain, if the blog URL is already taken by other then you will see message saying 'Sorry, this page is not available', if you see this message than the possible reason could be that the address is being used by an other blogger user.
But when you check the URL you see that the blog has been removed ! The first question that pops up in one's mind is why the blog URL isn't available even if the blog with that URL has been removed ? What it exactly says is
Sorry, the blog at blogname.blogspot.com has been removed. This address is not available for new blogs.
And this is the page where you will see this message

What's reason ?

Have you tried deleting any of your blog on Blogger ? If you are familiar with the deletion process of blogger then it's easy for you to understand why sometimes blog address isn't available even if the is deleted or removed.
When you delete a blog on blogger the Blog will be still available for you to undelete it under 90 days after the deletion. For others your blog has been removed but you know that you can still undelete the blog with it's URL and that is the reason why blog address aren't available sometimes.

What to do now ?

There are couple of things you can do to get your favorite domain name for your blog. Using any of the tips below can help you get your preferred blogspot address.
Wait for 90 days : This is the easiest one, we know that blogspot can be undeleted before 90 days of it's deletion. Yup, you guessed right, you can wait for 90 days or not even 90, maybe it's the 89th day when you  tried for that domain and the next day it will be available. You can try for that domain every day and if it's over 90 days of deletion of the blog then it's URL will be available for new blogs, you can then choose the URL for your own blog.
Contact the blog owner : If you are impatience and want the domain without waiting and checking for the availability of the domain for 90 days then what you can do is contact the owner of deleted blog. Now you maybe thinking how it's possible to find out whose blog it is ? Google is just a click away, search Google for the blog address and if the blog owner ever participated any forums or commented on other blogs you can easily find their Blogger profile or email id through which you can contact him/her. Tell them to undelete the blog and transfer the controls of their blog to your account. If they are kind then you will get your desired blogspot address.
Buy a custom Domain : I recommend you using Custom domain for your blog, you can choose what TLD you want i.e if the domain you want isn't for .com then you have the option to choose other TLDs like myblog.net, myblog.org etc.
I hope you get helped with these tips and suggestion. 

Add Syntax Highlighter into Blogger to display codes

Syntax Highlighter is a widely used code highlighter on websites and blogs, almost every web developer, web designers or any people who want display codes on their pages. In this tutorial you will learn how to add it on your blog on blogger.

Use the PrismJS,a simple and lightweight opensource syntax highlighting plugin
Syntax Highlighter is a tool by Alex Gorbatchev and thanks to him for developing such useful tool. In order to the add the Syntax highlighter scripts and make it work on your blog follow the steps.

Add the scripts 

The script files i will be giving links to in the script tag is hosted on the developer's server, if you want to download it to host on your own server then click here to download Syntax Highlighter files.
<!-- SyntaxHighlighter starts -->
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCoreMDUltra.css' rel='stylesheet' type='text/css'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shLegacy.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushAS3.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushColdFusion.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushErlang.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushGroovy.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJavaFX.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPowerShell.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushScala.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<script language='javascript'>
SyntaxHighlighter.config.bloggerMode = true;
SyntaxHighlighter.defaults[&#39;auto-links&#39;] = false;
SyntaxHighlighter.config.clipboardSwf = &#39;http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf&#39;;
SyntaxHighlighter.all();

</script>
<!-- SyntaxHighlighter ends -->
Looks very heavy but all you have to with is to add it into your Template.

Add it to your blog's Template

And to do that Go to Blogger Dashboard -> Template -> Edit HTML -> Proceed -> Use CTRL+F to find </body> in the template and paste the codes above </body>


Tip : The codes can differ in your page loading time, if you don't display codes on your homepage then use this script, which is same to above scripts but only added blogger conditional tag around it to load it only on post pages.
<b:if cond='data:blog.pageType == "item"'>
<!-- SyntaxHighlighter starts -->
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/>
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCoreMDUltra.css' rel='stylesheet' type='text/css'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shLegacy.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushAS3.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushColdFusion.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushErlang.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushGroovy.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJavaFX.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPowerShell.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushScala.js' type='text/javascript'/>

<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js' type='text/javascript'/>
<script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'/>
<script language='javascript'>
SyntaxHighlighter.config.bloggerMode = true;
SyntaxHighlighter.defaults[&#39;auto-links&#39;] = false;
SyntaxHighlighter.config.clipboardSwf = &#39;http://alexgorbatchev.com/pub/sh/current/scripts/clipboard.swf&#39;;
SyntaxHighlighter.all();

</script>
<!-- SyntaxHighlighter ends -->
</b:if>
The adding process is same as the above

Highlighting the codes in posts

Once you have added the code in your template, now you have to make the your code display in the Syntax highlighter and to do that you have to wrap your display codes into <pre> tag with special attributes into it to define what language you are displaying the code in.

Displaying the code if it's HTML

This is an example of how you have to markup the codes if you are display HTML codes.
<pre class='brush:xml'>
// HTML Code here
</pre>
The HTML code is wrapped into <pre> tag and with class='brush:xml' and it's what tells SyntaxHighlighter that it's an HTML code (HTML and XML both looks similar)

Brushes : There are more languages SyntaxHighlighter supports and here's the list of values you can put in the brush value. Following are the brushes you can apply on your codes
as3, bash, csharp, coldfusion, cpp, css, diff, erlang, groovy, jscript, java, javafx, perl, php, plain, powershell, phython, ruby, scala, sql, vb, xml

Add it to your post

Let's say you want to display a HTML code, the whole code with the wrapping <pre> tag will be this
<pre class="brush:xml">
<ul class='make-tea'>
<li>Tea</li>
<li>Water</li>
<li>Sugar</li>
<li>Milk</li>
</ul>
</pre>

To add it open your Post Editor, switch to the HTML mode and paste the your HTML code between the <pre> tags.

Note : If you paste your display HTML raw, it will interpret itself and then it can't be displayed as HTML, to prevent it you must first convert your raw HTML into escaped characters. Use Quick Escape to convert your HTML to escape characters.
Example -
This is the Raw HTML before conversion
<ul class='maketea'>
<li>Tea</li>
<li>Water</li>
<li>Sugar</li>
<li>Milk</li>
</ul>
This is the converted HTML codes.
&lt;ul class='maketea'&gt;
&lt;li&gt;Tea&lt;/li&gt;
&lt;li&gt;Water&lt;/li&gt;
&lt;li&gt;Sugar&lt;/li&gt;
&lt;li&gt;Milk&lt;/li&gt;
&lt;/ul&gt;
Just put the converted Raw HTML code into the <pre> tag and you are ready to paste it into your post, just switch to HTML mode and paste it at the right place.

Customizing the SH skins

You can use different skins and colors for your SyntaxHighlighter, to make changes to the skins you just have to change the  2nd<link> tag in the SyntaxHighlighter scripts HTML. This is the link tag you have currently
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCoreMDUltra.css' rel='stylesheet' type='text/css'/>
You can use any of the following styles, just replace the yellow highlighted text with any style below (each style is separated by a comma).
shThemeRDark, shThemeMidnight, shThemeMDUltra, shThemeFadeToGrey, shThemeEmacs, shThemeEclipse, shThemeDjango, shThemeDefault, shCoreRDark, shCoreMidnight, shCoreMDUltra, shCoreFadeToGrey, shCoreEmacs, shCoreEclipse, shCoreDjango, shCoreDefault
For examply if you want to use shCoreEmacs skin then the href value in link tag will be this
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCoreEmacs.css' rel='stylesheet' type='text/css'/>
Simple as that.. Now choose whatever skin or theme you want and apply it.

Your feedback

I tried my best to keep this tutorial as easy as possible, but if there's something you can't understand or wrong then you can contact me. If you have successfully implemented SH in your blog using this tutorial then you can thank us by dropping your comments.

Subscribe to our blog for more blogger tricks updates. 

Blank white screen when creating or editing post in Blogger

The new Blogger User Interface really gives bloggers a feel of the web 2.0 and i mostly use the New Interface, i rarely face any problem with the New UI but there are people having difficulties running the New Blogger UI.
In Blogger help forum, there are lots of post with questions
When i try to create or edit a post, nothing appears, only a blank screen
This is a known issue in Blogger but it's annoying that when you want to create a blog post you are welcomed with a blank page.

But even today many months after the release of new Blogger UI the problem is yet the same, probably the reason of this problem could be a slow internet connection or because the new Blogger UI is server from the new blogger server. But if you are sure about your connection speed and even the problem is still persisting then there's an way you can get rid of it. Learn how.

Fixing it

There's no single way to fix it, the fix depends on why you are facing this error. The most common reasons is some half dead browser like Internet Explorer. Does that mean using firefox or Chrome will fix it ? Not always, you know the new Blogger UI is rich in terms of latest designing techniques.

Make sure you have updated version of your browser and also update your computer system drivers regularly, that keeps you up to date with the internet and it's newest technologies.

Upgrade Browser : First thing you must do is upgrade your browser to Google Chrome, it's best for the Blogger interface, renders everything quickly.

Clear your Caches : If you have up-to-date browser but yet you are facing this problem than try clearing your browser caches and then try reloading the post editor by hitting CTRL+F5, this will load every files freshly.

The last option : If none of the above method works then there's only one way to solve this problem or an alternative. Revert back to the old interface, old but gold, for most of the old users like me the old interface is easy to use but new users will find it difficult, check Blogger Support guide to learn about each features of it.

To get back to the old interface go to your Blogger Dashboard -> click on the Gear icon on top right corner and select Old Interface from the menu list.

People registered on Blogger newly wouldn't see this option in their Blogger dashboard but there's a trick you can get into the old internet [Click here to know]

Helped ?

I hope you get helped with this article and i will be glad if you have any suggestion to improve this post. If you loved this post and want to say thanks then comment is always available, drop your precious comments on this post and if you want to contact us then send us an email on depy4531@gmail.com 

Put videos, photos or any HTML in Tabs in Blogger with Jquery

There have been many question about adding content into easily switchable tabs without any page load, blogger users normally don't find using JQuery and most of them never headed to the Jquery plugin site, the instruction are complicated there and it's not easily understandable. But i will give easy and clear instruction to install this Tabs JQuery plugin on Blogger.

Update 25th March 2017 - Due to some issues in hosting the script files the plugin might not be working properly for everyone who implemented this. I would request you to come back here in a day or two and re-add the script codes with update URLS (you do not have to re-do the tabs you created in your post.)

Before we start this tutorial, thanks to sunsean.com for this JQuery plugin called idTabs, you are going to install that JQuery plugin on your blog.

Every blogger wants to add dynamic function but they are unable to do it, because there are not much people who writes about installing JQuery plugins on Blogger Blogs. If you want to display your post contents in a new way then this plugin is what you need, this plugin is useful for video bloggers having lots of videos in one post , if they use this plugin they can reduce space used for the videos.

If you aren't sure this is what you are looking for then please see the demonstration of the code.

Demo

tab contents in post blogger tabify blogger videos
Believe me this tutorial is very easy but yet some people with less experience with codes will find this tutorial difficult and to make this easy for you, i have divided the steps in parts, read further for the instructions.

Follow these steps

Before you proceed keep a backup of your template so if anything goes wrong you can revert it back to normal.

Include JS files

The first step is to include the JQuery library and the JS file for this plugin into your template. JQuery lib. This is the script tags you need.

To add it go to Blogger Dashboard -> Template -> Edit HTML -> Proceed -> Use CTRL+F to find </head> in the template. Paste the following code just above </head>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js' type='text/javascript'></script>
<script src='http://cdn.stramaxon.com/stramaxon/ext/idTabs-stramaxon.js' type='text/javascript'/></script>
  • Line 1 : This is the script for latest version of minified JQuery library hosted on Google, if you have already included it in your template then don't add it again.
  • Line 2 : The second line is for the main plugin JS file which makes the tabs work. The file is being hosted my DropBox, you can host it on your own server, download the JS file here.

The HTML

The HTML is only where you will can confused but if you try to understand the concept of this plugin and how it works then it becomes easy for you to work with this HTML. Anyway, i am going to tell briefly about each element.

Here's the HTML we need
<ul class="idTabs">
<li><a href="#tab1">First</a></li>
<li><a href="#tab2">Second</a></li>
<li><a href="#tab3">Third</a></li>
<li><a href="#tab4">Fourth</a></li>
<li><a href="#tab5">Fifth</a></li>
</ul>

<div id="tab1">
<!-- Content Below this -->
</div>

<div id="tab2">
<!-- Content Below this -->
</div>

<div id="tab3">
<!-- Content Below this -->
</div>

<div id="tab4">
<!-- Content Below this -->
</div>

<div id="tab5">
<!-- Content Below this -->
</div>
  • Line 1 : It is the starting tag of the UnorderedList (ul)
  • Line 2 : This is the link tab for the content in div element with id='tab1' which is on line 9
  • Line 3 : Similar to the description of line 2, this tab link is for the content in div element with id='tab2'. 
  • Line 4 : This also do the same thing as the line 2 and line 3 but goes for the div element with id='tab3' 
  • Line 9 : From line 9 to line 11 is the first div element which will appear for a tab, you can put any valid HTML into it, just like i put the Video embed code in the Demo
  • The other div elements are for their corresponding links, if the <a> element has #tab1 in it's href value then it's the tab for the div element with id='tab1' and that's how it works.
Note : When you are giving an anchor link a href value with a hash like this #target, then it thinks links that to the current page (post editor) with the this #target. For example if i give the href value #mytab then the whole URL becomes
http://www.blogger.com/blogger.g?blogID=6219123568585811984#mytab

And that sometimes stops the plugin from working. To prevent this put the current Post URL before the target tag. Now we have got Custom permalink, so you can see what's the URL even before publishing the post. For example see this
<ul class="idTabs">
<li><a href="#tab1">First</a></li>
</ul>

<div id="tab1">
<!-- Content Below this -->
</div>
Should be turned to
<ul class="idTabs">
<li><a href="http://stramaxon.blogspot.com/2012/07/jquery-tabs-plugin-blogger.html#tab1">First</a></li>
</ul>

<div id="tab1">
<!-- Content Below this -->
</div>
If you turn the URL correctly then your plugin will work well and there will be no bugs.

The Final CSS

If you take a look at your post after adding the CSS, it will look very dull and to give it a professional look we need to apply the CSS on the tabs, we will be applying styles just on tabs. Following is the CSS

.idTabs {padding-left:0px !important;}
.idTabs li {display:inline;padding-left:0px;}
.idTabs li a {
padding:5px 15px;
background-color:#2EA537;
color:white;
text-decoration:none;
-webkit-transition:all 0.3s;
-moz-transition:all 0.3s;
-ms-transition:all 0.3s;
-o-transition:all 0.3s;
font-weight:bold;
border:1px solid transparent;
border-radius:10px 10px 0px 0px;
}
.idTabs li a:hover {
padding:5px 15px;
background-color:#805D5A;
color:white;
text-decoration:none;
}
.idTabs li a.selected {
background-color:#42BEF8;
}
.idTabs li a.selected:hover {
background-color:#42BEF8;
}
[Click here] To see how to add CSS to your blog.
There's no special instruction for CSS, you apply your own CSS design on the tabs to make it look good with your blog or if you don't have any idea about the editing the CSS then contact me for help at depy45631@gmail.com

Great ! You Did it

Hows the tab switcher looking, i hope you integrated it without any difficulties. If you have question, suggestion or just want to say thanks then your comments are welcomed. We will be publishing more JQuery  plugins for blogger so subscribe to our Email Newsletter.

Listverse like Template for Blogger - 'The Thriller Template' premium

This template is the Blogger version of the theme used on the site Listverse.com,  the original theme is for Wordpress and it's for $70, i thought of making template for Blogger that looks like it and make it affordable.
This blogger theme is premium, because it took a lot of hard work to create the template and it's worth it. On WordPress, templates of this standard are sold for over $70 and they are worth it.

Many readers are impressed with the theme on listverse and as many of them were on Blogger platform they weren't able to find a template which looks exactly like the theme on LV (Listverse).

Preview Buy it for $30 Get it for free!

Note: If this is not the template that attracted you then you can contact me on my email depy45631@gmail for more premium templates in less than $32

Features of this Template

It has almost all the features and design on Listverse, from header to footer, you will find everything similar to it but due to some reasons some features couldn't be added. But that's not a huge matter, you will yet love the template. Read some selective features of it below

Custom Header

Let's start from the top, the good looking black header box with 728x90 advertisement banner and Social network links in separate boxes in the header. And the most important element is the search box, it gives the users more accessibility to your website.


Note : You have the edit the links HTML of the social network links in the header to point it to your profiles.

Blog title and PageList

The smart placement of blog title and pagelist brings the page to life.It has the same looks with better technique used for backgrounds, instead of using pictures, we used CSS3 background image property and that improves the page load time.


One more thing that's amazing about the blog title and pagelist is that it's full size and expands to the sides of screen, you won't see this design on every blogger template.

Post display

It's almost like the interface in Listverse and i focused on it mainly, as it was the main element which users see. The title is in the center, on it's left is the date when it was published and on it's right is the comment link to the post with comment count. Here's a quick preview of it.


Great ! Isn't it ? The post separator gives the post body a professional look.
You have the read more button next to the post excerpt and the author name below it, the author name is fetched automatically, so you don't have to make changes to anything.

Subscribe Gadget

The subscribe gadget is a plus point of the template, the sidebar is on the sidebar and it's what on the listverse site. Although, you have to edit it's HTML to point it to your profiles just as in the header. You can do it by editing your template or editing the gadget by going to Layout.


As the template is premium, i will do it for you when you place an order. You just have to provide the links to your profiles and i will edit the HTML which will work for you.

Categories Gadget

It is the default label gadget but has been styled with CSS. Each label are of different colors and in order like on the listverse website. You have to configure the label gadget to be list for this CSS to work.

Social share buttons below and above the post

I have put 3 social share buttons which are Facebook like, Tweet and AddThis share. The share buttons have been placed into boxes that makes it look cleaner and the reader will often use the share buttons which is good for your traffic and readership.

Numbering list design

This is the exclusive feature of this template, if you are a fan of listverse and always wanted the numbering list like on listverse then this is what you need. The design is already on the template, now all you need is to know how to put it on your posts. This tutorial will help you http://stramaxon.blogspot.com/2012/07/listverse-number-list-design-blogger.html


Note : Don't include the CSS provided in the tutorial, those CSS are already applied on the Template, all you need is the HTML.

Custom Footer

One more great element in the template is this footer, which has all the links to your important pages on your blog and attribution. You have to edit the HTML in the template to place correct values in the anchor links. But this is a premium template, so i will do it for you, you just have to give the links.

Buy this Template

If you are impressed with the template and want to buy it then just contact us via email depy45631@gmail.com or deepakblogger45631@gmail.com. The template is the $30, but as promotional offer we are taking it down to $28 for the first 10 buyers.

Keep updated

If you want discount on the template then subscribe to us and we will be happy to sell you the template with discount.
Enter your email address:


Delivered by FeedBurner

Listverse like Number Listing design for Blogger and Websites

Listverse, one of the most interesting site with collection of top 10 list on different topic. If you are also a regular reader of Listverse like me then you may know about it's list numbering design, it is what led me to create this tutorial.
If you want Listverse like template for your blog then check this post, we recently published the template details  http://stramaxon.blogspot.com/2012/07/listverse-template-blogger-seo-friendly.html 

For a direct demonstration of what you will be learning to create in this tutorial can be seen on the listverse.com itself. Below is the demo by me on a blogger blog.


Demo

The first time i saw it, i felt that it was made with HTML tables but then i inspected it and found that it was with simple HTML div elements and CSS was used to give it a grid view.


You can implement this into any website if you can edit it in HTML. Follow the steps below to scornfully add it into your blog post or website.  

The HTML we need

The trick is simple, first we will use the HTML which is very important and then simply we will apply the CSS onto it but we will talk more about CSS in next section, see the structure of this HTML to know more about it. (Copy this HTML)
<div class="itemheading"><span class="itemnumber">10</span>
<div class="itemtitle">This is an Item</div>
<div class="itemmore">Description</div>
<div class="cl"></div>
</div>
Now before we implement the codes, read what each HTML line means
  • Line 1 : The first div element is parent of all div elements in it. As for the span element , it's what displays as the number on the list and you can edit it to your needs, for example change the 10 to 9,8 etc. or even letters.
  • Line 2 : This div element is for the title of the list item, you can change the text in it 
  • Line 3 : This is for the description of the list item. It's optional you can also keep it's value empty.
  • Line 4 : Just clear:both for clean look

Guidelines to add into Blogger Post

To add this HTML into your Blogger post, then read the steps below
  1. First open the post in Post Editor
  2. Now switch to HTML mode, you can switch to HTML mode by clicking the button next to 'Compose' in the post editor which says HTML. When you are in the HTML view of your Post Editor , now place your cursor at where you want the numbering to be and then copy-paste the HTML shown above . 
That's it, now you can continue writing your post. But there are some things you must remember
  • Never style the text into the HTML with the customization option in Blogger Post Editor
  • Delete any BR tag into the numbering HTML or it will look cluttered (The br issue is already solved with the CSS, but you may make it a habbit) 
  • Put text out of the closing div tag in the HTML
  • For every numbering item you have to put this HTML separately.  
If you keep these things in mind, you will successfully finish the first step of adding this list design.

CSS styling

The HTML bone structure is ready but we still have to make it look like the numbering items on Listverse, to do that, a few lines of CSS is needed. Below is the CSS needed to design the numbering items like Listverse.
/* LISTVERSE ITEM LIST DESIGN CSS BY DEEPAK KAMAT */
/* Chunk Font */
@font-face {
font-family: 'ChunkFiveRegular';
font-style: normal;
font-weight: 700;
src: url(http://s0.wp.com/wp-content/themes/vip/listverse2/extras/Chunkfive-webfont.woff) format('woff');
}
.itemheading {
border-top: 1px solid #C5DDD8;
margin-bottom: 20px;
margin-top: 31px;
}
.itemheading .itemnumber {
border-right: 1px solid #C5DDD8;
border-top: 1px solid #C5DDD8;
color: #2C2C2A;
float: left;
font-family: 'ChunkFiveRegular',Arial,serif;
font-size: 37px;
font-weight: bold;
line-height: 37px;
margin-right: 10px;
margin-top: 3px;
min-width: 45px;
overflow: hidden;
padding: 17px 10px 10px 0px;
text-align: center;
}
.itemheading .itemtitle, p .exclusions {
border-top: 1px solid #C5DDD8;
color: #2C2C2A;
font-family: Georgia,"Times New Roman",Times,serif;
font-size: 24px;
line-height: 24px;
margin-top: 3px;
padding: 17px 12px 0 31px;
}
.itemheading .itemmore {
font-size: 16px;
line-height: 16px;
color: #6D6D6A;
font-family: Georgia, "Times New Roman", Times, serif;
font-style: italic;
}
.itemheading br {display:none;}
.cl {
clear: both;
height: 0;
font-size: 0;
line-height: 0;
overflow: hidden;
}
Yaa, this is the few lines of CSS which you need. Learn, how to implement it into your blogger blog.

Adding CSS in Blogger

On Blogger platform, adding the CSS is very simple. Just follow the steps below to quickly add the CSS into your blogger template. (Click here for tutorial)
  1. Go to Blogger Dashboard 
  2. Now select the Template tab
  3. Click on the Customize button in the Template tab
  4. You will be taken to the Template Designer, select the Advanced tab
  5. From the Advance menu you will see Add CSS 
  6. Click on the Add CSS and paste the CSS in the custom CSS box and hit Apply.
That's it ! You are done with adding the numbering list design on your blog. Thanks to listverse.con for being an inspiration for this design.

Your suggestions 

Thanks for reading this. If you have any suggestion or just want to say thanks to us then drop your comments below. Your comments are very important for us to improve our post and tutorials. Check more blogger tutorials on our blog.

Buy the ListVerse like Blogger Template for Blogger

We have published the details of the template here to buy it [Click here]. You can see it in action at this link. We will soon write about the template on our blog but if you want to buy it now, see below

The Template is premium and you have buy it. The template is only for $30. For information contact us on
depy45631@gmail.com 

Add 'Read Previous post' link at bottom of Posts in Blogger

If you have a well structured blog with links to right things at right places then your chances of getting more readers increases and that's what any blogger wants. This tutorial shows you how to add an good looking link to previous post at bottom of every post automatically.
When you are new with all this HTML and CSS thing in blogger then you add a static thank you message at bottom of post one by one in all blog post while writing it, but there's more you can do with the template, you can add your own elements in the template to make your blog look better.
Demo
This is a post you will find helpful if you want to add something at bottom of every post : http://stramaxon.blogspot.com/2012/07/adding-any-thing-under-every-post.html
Coming back to main topic of the post, it's about adding a link to previous post under each and every post automatically. Read further for the codes.

The skeleton HTML

Before you start, Backup your template.
As usual we need the HTML to be in place and then we will add some CSS effect on it. The HTML code is actually just an anchor HTML with bloggers layout data tags to dynamically get the link of previous or older post.
<a class='lst-post' expr:href='data:olderPageUrl' target='blank'>Read our Previous Post</a>
Copy the above HTML to your clipboard by selecting and clicking CTRL+C.

How to add this HTML

We have to place it in the template and to do that follow these steps.
  1. Go to your Blogger Dashboard 
  2. Select the Template tab (in new interface)
  3. Now click on the 'Edit HTML' button on the page
  4. Click on 'Proceed' 
  5. Then check mark the box which says 'Expand Widget Template' (Important)
  6. Use CTRL+F to find <div class='post-footer'> in the template, you may not copy and paste the text from here, type <div class='post-footer'> yourself in the search box which appears after hitting CTRL+F
  7. Once you find this line  <div class='post-footer'> paste the HTML provided just above the code.

  8. When you have place the right code at right place then you can Save the Template.
Now check one bottom of your one of post and you will see the link to previous post, but doesn't it look so dull ? It needs to be painted in CSS3 to attract reader's attention.

The CSS

    .lst-post
    {
    display:block;
    font-family:'verdana' !important;
    cursor:pointer;
    background-color:rgba(10, 74, 133, 0.49);
    margin-bottom:-5px;
    margin-top:16px;
    color:white !important;
    padding:5px 10px;
    -webkit-transition:background-color 0.3s ease-in-out;
    -moz-transition:background-color 0.3s ease-in-out;
    -o-transition:background-color 0.3s ease-in-out;
    -ms-transition:background-color 0.3s ease-in-out;
    box-shadow:0px 0px 4px gainsboro,inset 0px 0px 2px white !important;
    font-size:14px;
    text-shadow:1px 1px 1px grey;
    border-radius:4px;
    }
    .lst-post:hover
    {
    background-color:rgba(6, 128, 224, 0.49);
    text-decoration:none;
    }
    The CSS code is lengthy but useful, all you have to do is now to add the CSS in your template to apply the style onto the link.


    Now follow these steps to know how to add the CSS into the template
    1. Go to your Blogger Dashboard
    2. Now select and Template 
    3. In the Template tab you will see the customize button
    4. You will enter the template designer
    5. Click on the Advanced tab > Add CSS 
    6. Now paste the CSS in the custom CSS box, Preview it before you save to make sure it's working well.
    7. If it's okay, hit the Apply to Blog button refresh your blog with CTRL+F5 and see the link just below any of your post !
    That's it ! This feature will keep your visitors engaged with your page and that's a good thing for your SEO and pageviews. Your readers will stay online for more time on your blog.                  

    Your suggestions

    You can help us make our blog post better by giving your suggestions and informing us about any error in post or the codes. Drop your precious comments which is very important for us. We will love to hear from you. 

    Why Cultek(dot)com is in referring sites in Blogger

    Cultek(dot)com, this is what in the news in blogosphere and many are asking why in my referring sites list ? Are you getting some visitors from their, your blog has become famous and many things comes in mind but don't you want to check what is it actually ?
    But before you decide anything just read what is it actually. No doubts it is another cheap referring spam site and all they want is from you to click on their link and then get affected by their virus or malware.



     
    The pageviews you get from the website is totally fake and is increased by computer bots and that's how they work. The reason they increase your pageviews in this way is that they will get place in your stats and to curiosity you will try to open the site and if you don't have a good protection software installed then your computer might catch malware or virus and that's the worst.

    No one knows what type of virus they are actually spreading cause i haven't tried opening these sites but if the virus or malware is very dangerous then it's possible for them to take control of computer or fully make your computer malformed.

    Moral of the story is not to click on these links until you are sure that the link is safe to visit, your one single click can get your computer hacked so think twice before clicking. You are here means that you first tried to find out more about it, good :)

    There's actually no way to stop these nonsense, not even Google can block it, as far as i know. The only way that i always suggest people is not to click on these links, once they stop getting 

    any victim in their trap they will cool down automatically and that's what we need. 

    Check our post about savegco.anitivir(dot)com referrer spam to know more about it.
    Please subscribe to get updates about blogger and more other topics that you might like. You can subscribe via email below :)





    Blog redirecting to kunoichi.info - Fix it

    Recently there have been many complaints about blog being redirect to this web page kunoichi.info, this is not only about this website but every blog and website using scripts which is no longer available.
    I came to know about this in Blogger Help forum (on this thread) and as soon as i saw the post i understood what was the case. It was same as the old issue with Fileave scripts in this post http://stramaxon.blogspot.com/2012/06/websiteblog-being-redirect-to.html

    In both the cases problem is same, this is small post for users facing this problem. First fix it and then read the reason behind it.

    Fixing it

    The whole problem is because of a JS script in your template or blog. But in this case the script is supposed to be in a gadget. Actually the script is for loading recent comments in gadget and the script can't be found into the template until your 'Expand Widget Template' but more easy is to remove it directly from your layout.


    To do that go to Blogger Dashboard > Layout > The script is supposed to be in a HTML/JavaScript gadget,  if you know in which gadget is the script then click on 'Edit' below it or if you don't know then open each and every HTML/JavaScript gadget and look for this code into it.
    <script style="text/javascript" src="http://kunoichi.info/blogger_buster/comments.js">
    </script>
    <script style="text/javascript">var a_rc=3;var m_rc=true;var n_rc=true;var o_rc=100;</script><script src="http:/yourblog.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments">
    </script>
    Once you find the Gadget, remove it from your Layout and Save arrangement. Now you may try opening your blog.

    Why this happened ?

    The reason is clear, the domain where the JavaScript file were being hosted was removed and no JS file was there so what happens is that the domain where file was ever hosted loads itself in the place of JS file. Seeing the script seems like it was for some 'Recent comment' gadget purpose.

    Now whenever this happens (hope not) to you or your friends then you can help them remove the script. Just remember if you are being redirected to xyz.com then try searching for xyz in your template with 'Expand Widget Template' checked marked and delete the corresponding script.

    Thanks for reading this, hope you are helped with this post.  
       

    Switching to Custom domain effects existing backlinks ?

    There are hundreds of questions in one's mind when he is going to change his blogspot or wordpress domain to their own custom domain.One of the most common question is about backlink, backlink is important for SEO and Pagerank, so this may always be a concern but is it really affects your backlinks ?

    When switching to a new custom domain then it's obvious that you will see downfall of your traffic and believe me it's normal, you will again see your traffic back to normal when your page got crawled by search engine bots. But what about backlinks, will your old backlinks will be yet credited and help your SEO and pagerank ?

    The answer to this question is NO, switching to custom domain doesn't affect your backlinks in any way as long as you are redirecting your blog to the custom domain from server side. The reason is that search engine bots not only sees the URL but get into the link and indexed the link redirected when visits that link.

    It's clear that if you are pointing your blog to your custom domain then the backlinks of your .blogspot domain will even work for your custom domain, cause the bot is also redirected to the custom domain when it's crawling the url.

    It means you never need to worry about the backlinks, it's obvious that you will see backlinks count fluctuated in Alexa because their system is different, Alexa is not a search engine bot so that doesn't even matter for you. I suggest you to use your .blogspot domain whenever linking from sites, that will make sure that if you again switch the domain to different domain name then the backlinks would work.

    It will also not effect your pagerank, your pagerank will also be the same when Google crawls  your blog it will see your new custom domain after the redirection and that's when your pagerank will be also transferred on your new domain

    It was that simple, this was a small post to let blogger and other users on subdomain provided by the service,  so it's safe for your search ranks and PR to get a custom on your blog as long as the redirection is made on server side.