CaRP Evolution Box
Web This Site

CaRP: Caching RSS Parser - Documentation


CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates

Podcast

Podcast is a plugin bundled with CaRP Evolution 4.0.8 and higher. It works with the 1 Pixel Out Audio Player to display a Flash-powered audio player for each MP3 in a podcast feed.

Example Podcast Feed

Buzz Out Loud (MP3)

Buzz Out Loud Ep. 1299: Apple iPod announcement shuffles the buttons (Podcast)
1 Sep 2010 at 3:06pm

Steve Jobs revealed today three new iPods, including a Shuffle with buttons, a Nano that can double as a wristwatch (we think) and a razor-sharp iPod Touch. Also: Sony and Amazon have media news of their own, and Zuckerberg wants his privacy.




Buzz Out Loud Ep. 1298: Forking tired of Android forks (Podcast)
31 Aug 2010 at 1:58pm

On today's show, Google does us a solid in the ham-filtering department, we wonder whether Paul Allen might have waited too long to sue the Internet, or whether this is just the beginning, and we speculate whether seven inches is, in fact, the perfect size after all. Plus, Internet vigilantes on the loose! --Molly




Buzz Out Loud Ep. 1297: Facebook wants to own your face (Podcast)
30 Aug 2010 at 1:38pm

We're back from our BOL summer vacation, only to find that Paul Allen is trying to patent-troll the Internet out of existence, Netflix seems to have finally put BlockBuster out of existence, and Foursquare ain't going down without a fight. Oh, and Donald Bell gives us his predictions for Apple's Sept. 1 event. --Molly




FLASHBACK! Buzz Out Loud 1262: Apple raises the bars (podcast)
27 Aug 2010 at 2:41am

You say Flashback, I say Unicorn of Rock! Go!

There's a fix coming for the iPhone 4's antenna problems: Apple will make the signal strength meter go higher, no matter what. Seriously? Yes. Also, Steve Jobs did not say, "It's just a phone," Microsoft doesn't care which way you insert your batteries, and there is no space dust on Hayabusa.




 

Installation:


To install Podcast:
  1. If "podcast.php" is not already found in your "plugins" folder, upload it to that folder.
  2. Download the 1 Pixel Out Audio Player.
  3. If you have a WordPress blog, you may wish to install it in your WordPress plugins directory.
  4. Otherwise, upload just audio-player.js and player.swf to your webserver. You can put them anywhere as long as they're web-accessible and both files are in the same folder.
 

Use:


To tell CaRP Evolution to use Podcast:
  1. Enter the following command into your webpage after "require_once '/path/to/carp.php';":
    CarpLoadPlugin('podcast.php');
  2. Tell the plugin where audio-player.js and player.swf are located by adding a line of code like this:
    $podcastcarpconf['player-path']='/blog/wp-content/plugins/audio-player/';
    • The path should end with "/".
    • If the files are not on the same server as the page where you're displaying the podcast, enter the full URL of the folder. Otherwise, you can enter just the path as in the example above.
  3. By default, the plugin adds a "<br />" (line break) tag after the podcast player. If you wish to change that, or add something before the podcast player, use CaRP's "bipodcast" and "aipodcast" settings to specify what to display. Be sure to set those settings after loading the plugin.
  4. If desired, use the settings below to customize your podcast players.

Important Notes:
 

Configuration:


The Sort plugin has the following settings, which are members of the array $sortcarpconf. In most cases, you'll use the functions listed above to control these settings:


Example Code:

<?php
require_once '/YOUR/PATH/TO/carp/carp.php';
CarpLoadPlugin('podcast.php');
$podcastcarpconf['player-path']='/blog/wp-content/plugins/audio-player/';
$podcastcarpconf['bg']='FFFFFF'; // White page background
$podcastcarpconf['player-settings']['bg']='FFFFCC'; // Yellow player background
$podcastcarpconf['player-settings']['track']='006633'; // Dark green track
CarpCacheShow('http://example.com/podcast.rss');
?>