Showing posts with label blogging. Show all posts
Showing posts with label blogging. Show all posts

Tuesday, October 23, 2007

How to add DZone voting to your Blogger blog

Update:Formatted XML and removed top-level div tag and added instruction to expand widget template, thanks to James.

DZone released voting scripts which allows site visitors to vote from the site itself. You can find voting widgets for Wordpress as well as for Jroller, but nothing for blogger :(.

So here's simplest way to add it to your Blogger blog, Just copy/paste lines below to your Blogger HTML template (after expanding widget templates):
<div style='float:right; margin-left:10px;'>
<script type='text/javascript'>var dzone_url = '<data:post.url/>'</script>
<script type='text/javascript'>var dzone_title = '<data:post.title/>'</script>
<script type='text/javascript'>var dzone_style = 1</script>
<script language='javascript' src='http://widgets.dzone.com/widgets/zoneit.js'/>
</div>


right before

<p><data:post.body/></p>


Here's the image screen shot:



Click on it to enlarge. You might want to customize it a bit, just try out different div styles. Developers, Keep voting!

Monday, May 28, 2007

On the road again

Last month had been a good vacation time for me after a really long time. Now that I'm back on track, I'm seeing lots of new things on the Internet. Things have changed here fast. Oh and what's this? Blogger has became less irritable, it has new feature to save drafts in background, Gmail has now bigger attachments ....

Well, I've switched to Google reader and it's really good for what it says. I had been traveling here and there without computer and found it useful. Since I don't own a mobile computer yet, my FireFox live bookmarks are useless. So I exported my live bookmarks to OPML(plug in here) and imported it into Google reader. Now I can have look at what's happening on Internet from a single application :).

Now I'll keep posting here!