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

Buzz Out Loud 887: Flip a you-know-what
8 Jan 2009 at 12:20pm

CES has officially begun and we discuss a slew of offerings from the show floor, as well as the Steve Ballmer keynote. Also, Tom is offered the chance to record his voice for TomTom GPS devices. That's a lot of Tom!




Buzz Out Loud 886: That's our title!
7 Jan 2009 at 12:15pm

We're coming to you from CES 2009 in Las Vegas, Nevada and it's all about Netbooks today. I'm sure we'll get more buzz about 3D TVs and more later this week. Also, Ellie doesn't like it when we call out the title of the show, but that makes it easier for Jason to find them for his special edition! (And please excuse a bit of distortion in today's episode. Sorry! -Jason)




Buzz Out Loud 885: CES 2009 preview
6 Jan 2009 at 10:00am
How about a little preCES prediction? We talk about the things we expect to see at this year's Consumer Electronics Show in Las Vegas.


Buzz Out Loud 884: Hormonal beef
5 Jan 2009 at 1:31pm
In today's episode, Natali offers her hormones to help out Steve Jobs, but she doesn't do it on the actual show, so we have to tell you about it now. The actual news is that the mystery behind Steve's absence from the Steve-note has been revealed: a hormonal imbalance that's causing massive weight loss. Also, Viacom goes wingnut crazy. Hear all about it!


 

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');
?>