vrijdag 21 januari 2011

Blogger tip: "Tweet this" button

A little tip for those of you who

  • use Blogger
  • want a "Tweet this" button to appear at the end of each post
  • want some text of your own, plus the title of your post to appear automagically in that tweet, like so (click the picture for a larger image):

Twitter has a nice widget, but it's tweet always has the same text. You want it to be different for each post, right? Twitter's widget can do that too. It accepts parameters. But how exactly you pass the proper parameters from within your Blogger template is not all that obvious. That what we're dealing with here.

Here's a picture of the code.
Open Blogger's template in HTML-edit mode to show all widgets, locate the text "span class='post-icons' " and put it in a spot in that sextion. You can download the code from here.

Geen opmerkingen:

Een reactie posten

Mogelijk gemaakt door Blogger.