{"id":27,"date":"2008-01-13T15:16:00","date_gmt":"2008-01-13T15:16:00","guid":{"rendered":"http:\/\/www.mohanjith.net\/wordpress\/?p=27"},"modified":"2009-08-25T12:22:57","modified_gmt":"2009-08-25T12:22:57","slug":"adding-social-bookmarking-links-to-blogger","status":"publish","type":"post","link":"https:\/\/mohanjith.net\/blog\/2008\/01\/adding-social-bookmarking-links-to-blogger.html","title":{"rendered":"Adding social bookmarking links to blogger"},"content":{"rendered":"<p>I recently wanted to add social bookmarking links to all of my blog posts. As you might notice my blog is hosted on blogger, only way I could do that is by editing the template. I thought I would share how to get about editing the template such that you add social bookmarking links which will automatically add the post permalink and the title if possible.<\/p>\n<p>To edit the template, Sign into your blogger.com account and goto Template -&gt; Edit HTML and then select Expand Widget Templates. Search for <code>&lt;data:post.body\/&gt;<\/code>, just after <code>&lt;data:post.body\/&gt;&lt;div style=\"clear: both;\"&gt; &lt;!-- clear for photos floats --&gt;<\/code> insert the following code.<\/p>\n<p><code>[code language='xhtml']<!-- Start of social bookmarks --><\/p>\n<div class='service-links'>\n<div class='service-label'>Bookmark this post with: <\/div>\n<ul class='links'>\n<li class='service_links_digg'>\n<a class='service_links_digg' expr:href='\"http:\/\/digg.com\/submit?phase=2&amp;url=\" + data:post.url + \"&amp;title=\" + data:post.title' rel='nofollow' title='Digg this post on digg.com.'><br \/>\n<img alt='Digg' src='http:\/\/www.mohanjith.net\/images\/service_links\/digg.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_stumbleupon'>\n<a class='service_links_stumbleupon' expr:href='\"http:\/\/www.stumbleupon.com\/submit?url=\" + data:post.url + \"&amp;title=\" + data:post.title' rel='nofollow' title='Bookmark this post on StumbleUpon.'><br \/>\n<img alt='StumbleUpon' src='http:\/\/www.mohanjith.net\/images\/service_links\/stumbleupon.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_delicious'>\n<a class='service_links_delicious' expr:href='\"http:\/\/del.icio.us\/post?url=\" + data:post.url + \"&amp;title=\" + data:post.title' rel='nofollow' title='Bookmark this post on del.icio.us.'><br \/>\n<img alt='Delicious' src='http:\/\/www.mohanjith.net\/images\/service_links\/delicious.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_reddit'>\n<a class='service_links_reddit' expr:href='\"http:\/\/reddit.com\/submit?url=\" + data:post.url + \"&amp;title=\" + data:post.title' rel='nofollow' title='Submit this post on reddit.com.'><br \/>\n<img alt='Reddit' src='http:\/\/www.mohanjith.net\/images\/service_links\/reddit.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_newsvine'>\n<a class='service_links_newsvine' expr:href='\"http:\/\/www.newsvine.com\/_tools\/seed&amp;save?u=\" + data:post.url + \"&amp;h=\" + data:post.title' rel='nofollow' title='Submit this post on newsvine.com.'><br \/>\n<img alt='Newsvine' src='http:\/\/www.mohanjith.net\/images\/service_links\/newsvine.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_facebook'>\n<a class='service_links_facebook' expr:href='\"http:\/\/www.facebook.com\/sharer.php?u=\" + data:post.url + \"&amp;t=\" + data:post.title' rel='nofollow' title='Share on Facebook.'><br \/>\n<img alt='Facebook' src='http:\/\/www.mohanjith.net\/images\/service_links\/facebook.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_google'>\n<a class='service_links_google' expr:href='\"http:\/\/www.google.com\/bookmarks\/mark?op=add&amp;bkmk=\" + data:post.url + \"&amp;title=\" + data:post.title' rel='nofollow' title='Bookmark this post on Google.'><br \/>\n<img alt='Google' src='http:\/\/www.mohanjith.net\/images\/service_links\/google.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='service_links_yahoo'>\n<a class='service_links_yahoo' expr:href='\"http:\/\/myweb2.search.yahoo.com\/myresults\/bookmarklet?u=\" + data:post.url + \"&amp;t=\" + data:post.title' rel='nofollow' title='Bookmark this post on Yahoo.'><br \/>\n<img alt='Yahoo' src='http:\/\/www.mohanjith.net\/images\/service_links\/yahoo.png'\/><br \/>\n<\/a>\n<\/li>\n<li class='last service_links_technorati'>\n<a class='service_links_technorati' expr:href='\"http:\/\/technorati.com\/cosmos\/search.html?url=\"+data:post.url' rel='nofollow' title='Search Technorati for links to this post.'><br \/>\n<img alt='Technorati' src='http:\/\/www.mohanjith.net\/images\/service_links\/technorati.png'\/><br \/>\n<\/a>\n<\/li>\n<\/ul>\n<\/div>\n<p><!-- End of social bookmarks -->[\/sourcecode]<br \/>\nAdd the following code before <code>]]><\/b:skin><\/code>.<br \/>\n[sourcecode language='css']\/** Service links style **\/<br \/>\n.service-links {<br \/>\npadding-top: 3px;<br \/>\n}<br \/>\n.service-links ul.links {<br \/>\nmargin:0pt; padding:0pt;<br \/>\n}<br \/>\n.service-links ul.links li {<br \/>\ndisplay:inline;<br \/>\nlist-style-type:none;<br \/>\npadding: 0pt 0px;<br \/>\nbackground: none;<br \/>\n}<br \/>\n.service-links ul.links li img {<br \/>\nborder: none;<br \/>\npadding: 3px;<br \/>\n}<br \/>\n.service-links ul.links li a {<br \/>\nborder: none;<br \/>\ntext-decoration: none;<br \/>\n}[\/code]<\/code><br \/>\nThen save the template. Adding social bookmarking links and submitting your posts to social bookmarking networks would improve the visibility of your blog and help drive traffic to your blog.<\/p>\n<div id=\"fb-like\" style=\"\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https:\/\/mohanjith.net\/blog\/2008\/01\/adding-social-bookmarking-links-to-blogger.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:300px; height:30px\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>I recently wanted to add social bookmarking links to all of my blog posts. As you might notice my blog is hosted on blogger, only way I could do that is by editing the template. I thought I would share how to get about editing the template such that you add social bookmarking links which &#8230; <a title=\"Adding social bookmarking links to blogger\" class=\"read-more\" href=\"https:\/\/mohanjith.net\/blog\/2008\/01\/adding-social-bookmarking-links-to-blogger.html\" aria-label=\"More on Adding social bookmarking links to blogger\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[89,114,7],"tags":[401,426,319],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-blog","category-blogger","category-hacking","tag-blog","tag-blogger","tag-hacking"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lUHm-r","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":14,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":429,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/27\/revisions\/429"}],"wp:attachment":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}