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.

Beginning with version 4.0.21a, it can alternatively use an HTML5 "audio" tag to play the podcast. Be aware, however, that not all major browsers currently support the MP3 format with the audio tag.

Example Podcast Feed

????????? ??????? ????

??????????? ?? ???????? ?? 650 ??????
11 Aug 2017 at 8:54am
???????? ??????? ??? ????????? ?? ???? ??????????? ?????, ? ??????????? ?????????? ??????? ?? ???? – ???? ?????? ?????????? ?? ?????? ? ?????? ??????????? ?????: ????????? ?????????? ?? 650 ??????. ????? ?????????????? ?????????, ? ????????, ??????????? ?? ???? ? ???, ????? ?? ??????? ??????????? ???????? ? ??????? ???????? ?????. ???????? ????????? ?? ??????? ????????? ??? ? […]??????? ?????? ? ?????:????????? ???????? ?????? ?…????? ??????? ?????? ? ?????? ??…? ???????? ?? 4500 ????????????? ???????? ?? ?????? ?…?????? ? ??????: ????????? ?…

?? ??? ? ??? ???????
10 Aug 2017 at 5:53pm
? ???????? ? ???? ?????????? ??? ?????. ????????????, ????? ???? ???? ??????? ?? ??????? ????? ????????, ??? ?? ?????? ????????? ????? ????????? ???????? ??????? “?????? ???” ?, ?????? ??????, ??? ???????? ?????????? Starbuzz ??? ?????????? Al Faisal. ?? ???, ? ????? ??????? ?? ??????, ????????? ??? ?? ????? Fasil, ??????? ?? ????? ?? ???????? ?? […]??????? ?????? ? ?????:????????? ?????????????????? – ??????????…?????? ????????????? ?? ???????…???????? ? ????????????…? ?????? ??????????? ???…

? ???????? ?? 4500 ??????
4 Jul 2017 at 9:59am
?????? ?? ??? ??????? ??????????? ?????????, ????? ? ???? ??? ??? ????????? ??????? – ?? ????? ????????? ? ???????????? ????? ? ?????? ?? ????????, ??? ????? ?????????? ???????? ??????????? ? ????????. ?? ???? ?? ?????????? ????? ????????? ?? ~4500 ??????, ?.? ?? ?????? ?? ????????, ? ????????? ????? ????, ????? ????????? ? 14? ?????????? ? […]??????? ?????? ? ?????:????? ??????? ?????? ? ?????? ??…??????????? ?? ???????? ?? 650…??????????????? ?????? ???? ??…????????? ???????? ?????? ?…??????? ???????? ?? ?????? ?…

???????? ????????? ? ???????????
3 Jul 2017 at 1:37pm
? ???????? ??????? ?? ????, ?????? ????????????? ?????????? 3G ????????? ??????????? ? ???????????? ????????, ??? ?? ?????? ???? ????, ?????? ????????? ????, ?????? ??? ??????? ?? ???? ?????????. ??? ??? ????????? ???????? ? 20 ???? ?? 2Gb ?????????? ?????????, ???? ????????? ?????? ?? ?????????, ??? ??????? ??????? ? ???, ??? 99% ????? ?????? ????? ????????, […]??????? ?????? ? ?????:????????? 3G ???????? ?? ????????????? ???? ?????????????????????? ??? ????????…??????????? – ??????????…?????? ???????? ????? ???????? ?

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 Podcast plugin has the following settings, which are members of the array $podcastcarpconf:

Flash-Only Settings


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