secret beta feature

Posted by jared on November 22, 2009

So this weekend on the whim of  a request, I implemented the ability to create a “badge” a la twitter badges so a band can list their shows on their site, blog, or anywhere else and style to their heart’s content.

Example via thrice since I’m seeing them tmw :)


Here’s the code snippet:

<div id="sbox_div">
<h2>Upcoming Shows</h2>
<ul id="sbox_shows_list"></ul>
<a href="http://thesqueakerbox.com/thrice" id="twitter-link" style="display:block;text-align:right;">follow me on thesqueakerbox</a>
</div>
<script type="text/javascript" src="http://thesqueakerbox.com/javascripts/show_badge.js"></script>
<script type="text/javascript" src="http://thesqueakerbox.com/thrice/shows.json?callback=shows_callback&amp;count=5"></script>

I’ll probably add instructions for bands to do this soon.

cool.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments