Friday, December 29, 2006

Integrating Reddit Buttons Onto your Blog

I've become quite enamoured with Reddit of late - partially because it's so easy to use, and partially because it does seem to have an uncanny ability to drive quite preposterous quantities of visitors around -- assuming you have decent content to send them to.

On, you'll find a number of little Reddit buttons that you can add to news stories, web pages or blog posts. These put a nifty little reddit box onto your page, like you see on this post.

This is done by adding a tag like this to the HTML code of your blog post

Now, one thing that I've noted which is an impediment to using a service of this nature is that just about every blog provider I've seen will strip out the "" tags out of your HTML. Wordpress does it, does it, Clearblogs does it, etc. Now, Blogger seems to do it too -- and gives you a big, gnarly "dangerous code detected..." warning when you go to post. However, if you simply check the checkbox that says to ignore further errors, the post will post, and the script tags will end up on your blog post. The only other one that I've seen work is on, where it still allows you to just slap script tags right on to the HTML.
I still haven't gotten the Digg JS to work on Blogger, but the Reddit JS seems to work like a bomb.

1 comment:

Jamie said...

Thank and I'll try this out.