Back to news

Blog Alike uses BlogAlike services

Although there are only few posts in our blog (this is the fifth one), which is least than amount that BlogAlike displays as similar links, we still included BlogAlike script, to generate lists of similar links / articles, just to show you how simple it is.

So what did we do?

  • Logged in to our account at BlogAlike.com
  • Copied BlogAlike javascript code
  • Pasted it into our blog module template, right under where article appears
  • Put some text like "You may also be interested in:" before code
  • (Optional) Added link back to BlogAlike service - script will not generate it

Javascript code to put in your website is similar to this one:

<div id='blogalike_list'></div>
<script type='text/javascript'>
blogalike_id = 0;
(function() {
var ba = document.createElement('script'); ba.type = 'text/javascript';
ba.async = true; ba.src = 'http://scripts.blogalike.com/main.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ba, s);
})();
</script>

That's it. Now every article displays list of similar BlogAlike posts. Just like you see one below.

You may also be interested in:



Add comment:

Username:
Email:
Comment text:

Verification code:
security