I needed this for the site I'm building, and it seemed like the easiest way to solve it was as a feature for itunes.module itself. ;)
Once you use itunes.module to get some nice feeds and submit those to the itunes store, you get a unique podcast ID that you can link to like so:
http://www.itunes.com/podcast?id=378333126
That opens the thing inside iTunes automagically, etc. It's nice to display these URLs as feed icons whenever you have feed icons attached (e.g. in a block or page).
So, I added a setting to the style plugin for the "iTunes Store ID", and some logic to render a little iTunes icon with a link like the above if it's defined.
For now, I've just stolen an iTunes icon, so we should see about getting something freely available to use before we commit this. ;)
Are you interested in such a feature?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 830840-2.itunes-feed-icon.patch | 4.06 KB | dww |
| #1 | 830840-1.itunes-feed-icon.patch | 3.05 KB | dww |
Comments
Comment #1
dwwTechnically this needs work, since we need a usable icon .png for this, but here's the rest of it...
Comment #2
dwwAfter trying to actually style this, I realized I was screwed on page displays, since the RSS icon was being handled via drupal_add_feed() while the iTunes icon was via the view, so they were in radically different parts of the page markup. See the giant comment in itunes_plugin_style_rss::attach_to() in this patch. ;)
Comment #3
drewish commentedinteresting...