The MyBlogLog Blog The source for all things MyBlogLog.

20Feb/08

MyBlogLog Current Visitor

A few days ago I posted about some More New Web Magic by the Intense Debate crew on my personal blog ToddSampson.com.  As it turns out, the Intense Debate team created their magic by monitoring the MyBlogLog Reader Roll for the most recent reader and using that information to pre-fill the blog URL in their sign-up form.  This is a really cool hack.  However, as of today, there is a much easier way.

The MyBlogLog tracking script (which is auto-magically included with the MyBlogLog Reader Roll) is now making the following global Javascript variable available:

"mbl_current_visitor"

Who's There? Creative Commons photo by Thorpe1uk on Flickr
This variable will return the 16-digit MyBlogLog Member ID for the person visiting the site.  If the person does not have a MyBlogLog Member ID, is not logged-in, or has "blocked" themselves from displaying on the site the Javascript variable will be blank.

As reported by Marshall Kirkpatrick on Read/Write Web, and unveiled at last weeks's Search Sig event, Kent Brewster has already put this new feature to great use in his wicked-cool application BlogJuice.
Kent's app gives a taste of the power combining the current reader on your site with the MyBlogLog API can have.  I can't wait to see more of these fantastic hacks; and the even cooler ones that will be possible with our soon-to-be-released new features.

Note:  The MyBlogLog API is currently an invite-only beta.  To apply for an invite, click here.

Comments () Trackbacks (0)

Leave a comment


No trackbacks yet.

Recent Readers

Follow

Join My Community at MyBloglog!

Search

Categories

Archives