<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d32007719\x26blogName\x3dSuper+Des\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://super-des.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://super-des.blogspot.com/\x26vt\x3d881026478208577187', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Let Your Blog Be Social

Social Bookmarking is often used for attract traffic to blogs and the easiest way to get your articles on such services is to invite your visitors to submit their favorite stories directly. Then you should have a bookmark area in your blog, frequently at the foot of each article, and there are many ways to get this.

I think that the most effective way to accomplish bookmarking is simply to link to the submission URL. So, to have a "bookmarking bar" I just added a line linking to the proper URLs in the blog template:

Add to: Service

where Service-URL is the URL to the service you want your visitors to submit the article.

Some URLs

The problem is that already exists a lot of bookmarking services and each one may have its own URL form. Here are what I know so far:
YOUR-ARTICLE-URL is the address that appears in your browser when you're reading the article (i.e. the permanet link or permalink). YOUR-TITLE is the article's title. Notice that some services let you specify an optional description.

You may find URLs for many other services too.

Update: As John said in this comment, you can find an excellent resource here. Thanks John.

Putting it in your template

In blogger there are two template codes that refer to permalink and article title. So, if you don't use blogger beta you have to:
  • Substitute YOUR-ARTICLE-URL by <$BlogItemPermalinkURL$> and
  • substitute YOUR-TITLE by <$BlogItemTitle$>
For example. If you want a "Submit to del.icio.us" line you should add this to your template:

Submit to: ;title=<$BlogItemTitle$>" >del.cio.us

I added it just after the posts body (i.e. after <$BlogItemBody$>)

Read the blogger help for more information about editing your blog template and html syntax.

Final note

As I said before, there are many other ways to do this task. Take PopMarks, for instance. It's am awesome tool but it requieres javascript enabled, and some people have this feature disabled in their browsers.

by nongeek

“Let Your Blog Be Social”

  1. Blogger Super Des Says:

    nice blog, I like the subject