Archive for March 9th, 2006

Pandora Sidebar

March 9, 2006

Over at Pandora we’ve just added a new feed mechanism that makes it easy for you to add Pandora to your blog sidebar. For example, I added these two lines to my blog template:

<link rel=”stylesheet” type=”text/css” href=”http://www.pandora.com/styles/feeds/
songs-art-gray.css”/>
<script src=”http://www.pandora.com/feeds/people/tconrad/
favorites.js?max=5″><
/script>

This automatically generates the sidebar listing my favorite songs that you see at the right on this page. Similarly, you can add a list of your stations using these two lines:

<link rel=”stylesheet” type=”text/css” href=”http://www.pandora.com/styles/feeds/
stations-buttons-gray.css”/>
<script src=”http://www.pandora.com/feeds/people/tconrad/
stations.js?max=5″></script>

To generate something similar for your page, click here and follow the instructions.

Update: We released a new version tonight that should make things work better in a wider variety of settings. In particular we’re using CSS that is a bit more explicit about what should be displayed and how. We’ve also updated the mechanism we use for opening new windows that should fix some problems with popup blockers.

Follow

Get every new post delivered to your Inbox.