Pandora provides HTML code for several blog widgets, including one that creates a radio station from a song or artist name and another that displays Pandora headlines in various styles. You can embed these widgets in your blog by pasting the HTML code within your site template.
Choosing a Pandora Widget
The two most interactive widgets Pandora offers are the Create a Station widget and the Live Pandora Headlines feed. On the Linking to Pandora page, the website provides HTML code for several other banner links and buttons, but only the Create a Station widget enables users to search for music (link in Resources). To help you choose a widget, the page shows an example of each banner or button next to its embedding code, and you can test the Create a Station widget by entering a song or artist name in the text box and clicking “Go.” To configure the Live Pandora Headlines widget, visit its Reddit page and choose from a selection of listing, sorting and display options. The default options create a styled widget with headlines from Pandora's Reddit page, but you can customize the widget by selecting “Remove CSS Styling” to make it match your blog's style or by specifying background and border colors in the appropriate fields.
Embedding a Widget in Your Blog
Most blogs expose your site template through a control panel, but if you have access to the underlying HTML code, you can paste the iframe or script element directly into your page. After pasting the code, click “Update HTML” or a similar option to apply the changes and view the widget's placement. If your blogging platform includes a container object for HTML widgets, as WordPress does with its Text Widget, you can paste the HTML code into the widget and then add the widget to your template.
- Photo Credit kzenon/iStock/Getty Images