PHP Classes

Proxy Cast: Generate JSON from podcast feeds to serve players

Recommend this page to a friend!
  Info   View files View files (36)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-10-27 (17 days ago) RSS 2.0 feedNot enough user ratingsTotal: 297 This week: 1All time: 7,398 This week: 491Up
Version License PHP version Categories
proxy-cast 4Custom (specified...5.3XML, PHP 5, Audio
Description Author

This class can generate JSON from podcast feeds to serve players.

It can retrieves and parse the XML definitions of a given list of podcast feeds.

The class can generate and serve JSON output suitable to be handled by JavaScript on the browser side that can retrieve the podcast audio and play it.

Innovation Award
PHP Programming Innovation award nominee
September 2012
Number 3


Prize: One book of choice by Packt
RSS feeds are often used to provide information about audio and video clips of play lists that you may want to listen or watch in a browser.

On the browser side the players are often controlled using JavaScript code. So the RSS feeds need to be parsed to extract the relevant information to be passed to the player in order to play a given play list.

This class simplifies that task by retrieving a given RSS feed, parse it to extract the play list clip information, and generates JSON data that is easier to process by the JavaScript player code on the browser side.

Manuel Lemos
Picture of Karl Holz
  Performance   Level  
Name: Karl Holz <contact>
Classes: 14 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 9x

Details
@author Karl Holz <newaeon|a|mac|d|com>
@package SalamCast Podcast Player
@link http://www.salamcast.com/demos/Player/

My old HolzCast Podcast Player is now SalamCast Player...

I'm sure you're wondering what's the difference?

Well the HolzCast podcast player is a javascript/jQuery only plugin that just delt with the RSS format,
all feeds had to be local files or localdomain resources; SalamCast Podcast Player uses PHP to download podcasts
from a remote server so content can be played on your web server and the jQuery Plugin will parse the podcast
XML namespace, and will eventually have ATOM XML namespace support.


The Demo will have some podcast configured to show you how it works with feeds you have no control over.

I have added a few supprise podcast heardoc configs in the code, check it out to find other podcast selections
that you can play.  Search through iTunes for more podcast to play.
  Files folder image Files  
File Role Description
Files folder imagecss-one (2 files)
Files folder imagecss (2 files, 1 directory)
Files folder imagejs (7 files)
Plain text file css-ui.php Class css-one
Accessible without login Plain text file index.php Example css-one loader
Accessible without login Plain text file LICENCE.txt Lic. Apache 2.0 licence
Accessible without login Plain text file podcast.html Data SalamCast HTML Mark up
Accessible without login Plain text file podcast.ini Data podcast config
Accessible without login Plain text file podcast.js.php Example load podcast via jQuery ajax
Plain text file podcast.php Class Podcast class
Accessible without login Plain text file README.txt Doc. Readme
Accessible without login Plain text file SalamCast.php Example loads podcast config, demos 2 different config methods

  Files folder image Files  /  css-one  
File Role Description
  Accessible without login Plain text file LICENCE.txt Doc. css-one license
  Accessible without login Plain text file README.txt Doc. css-one read me

  Files folder image Files  /  css  
File Role Description
Files folder imagevader (1 file, 1 directory)
  Accessible without login Plain text file podcast-1col.css Data links wont work on iPhone :(
  Accessible without login Plain text file podcast.css Data SalamCast CSS Doc

  Files folder image Files  /  css  /  vader  
File Role Description
Files folder imageimages (15 files)
  Accessible without login Plain text file jquery-ui-1.8.21.custom.css Data jquery-ui css

  Files folder image Files  /  css  /  vader  /  images  
File Role Description
  Accessible without login Image file ui-bg_flat_0_aaaaaa_40x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_glass_95_fef1ec_1x400.png Icon jquery-ui css
  Accessible without login Image file ui-bg_gloss-wave_16_121212_500x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_highlight-hard_15_888888_1x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_highlight-hard_55_555555_1x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_highlight-soft_35_adadad_1x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_highlight-soft_60_dddddd_1x100.png Icon jquery-ui css
  Accessible without login Image file ui-bg_inset-soft_15_121212_1x100.png Icon jquery-ui css
  Accessible without login Image file ui-icons_666666_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_aaaaaa_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_bbbbbb_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_c98000_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_cccccc_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_cd0a0a_256x240.png Icon jquery-ui css
  Accessible without login Image file ui-icons_f29a00_256x240.png Icon jquery-ui css

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file holzcast.js Data SalamCast jQuery plugin
  Accessible without login Image file Jplayer.swf Data jPlayer flash player
  Accessible without login Plain text file jquery-1.7.2.min.js Data jquery
  Accessible without login Plain text file jquery-ui-1.8.21.custom.min.js Data jquery-ui
  Accessible without login Plain text file jquery.jplayer.js Data jplayer
  Accessible without login Plain text file jquery.touch-punch.js Data touch support for jquery
  Accessible without login Plain text file JSON.js Data JSON functions

Downloadproxy-cast-2022-10-27.zip
Downloadproxy-cast-2022-10-27.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
CSS One Download .zip .tar.gz Used by jQuery ui for the plugin demo Optional
 Version Control Unique User Downloads Download Rankings  
 100%
Total:297
This week:1
All time:7,398
This week:491Up
For more information send a message to info at phpclasses dot org.