Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to play audio podcast file from libsyn rss feed? (drupal)

Got an established libsyn rss feed, got a new drupal website for the podcast. Libsyn provides a player but not correct aesthetic. I can upload and play mp3 files with audio module and mp3player module, and like the mp3 player's output, a simple flash player, but I don't want to be manually moving the podcast audio files (mp3) over every week. Looked at importing automatically with Feeds, but it's not working and besides that's creating extra files unnecessarily on the drupal site.

Just want to use the mp3player modulee's flash player in a drupal page, which feeds the latest mp3 file from a libsyn rss feed. Don't really need to store or play multiple episodes, just the latest episode.

How would you do it?

like image 203
IdahoFamilyMan Avatar asked Apr 27 '10 21:04

IdahoFamilyMan


1 Answers

  1. Create a content type for my podcasts with a title and a field for the URL of the MP3
  2. Use FeedAPI and map the title to the title of the node
  3. Map the file URL to the URL field
  4. Use Contemplate to set the URL field to display as [swf file="token_for_URL_field"], which will use the SWF Tools module and whatever player I've selected to play the file

So you need these modules CCK, Contemplate, FeedAPI, and SWF Tools, and that should do the trick.

like image 179
Jimmy Avatar answered Sep 29 '22 15:09

Jimmy