Skip to content
paapereira edited this page Aug 15, 2012 · 7 revisions

b3caster

b3caster is a podcast server based on dircaster and bashpodder. I was inspired by Farhad'd approach as featured in a Linux Action Show episode about bash scripts.

The name b3caster comes from podcast and the use of a Excito b3 server.


RSS Feeds

DirCaster is responsible for providing the RSS feeds for your podcasts. Something like http://yourserver/b3caster/dircaster.php.

You can then use your favorite podcast client to get your podcasts from your own podcast server.


Caster Zones and Subscriptions

Caster Zones are user defined aggregations of podcasts. You can have 1 or more podcasts for each caster zone. I order to make podcasts available in each caster zone you have to define Subscriptions for each caster zone.


Components

b3caster needs the following components to work:

  • Linux
  • Web Server
  • PHP
  • cron (optional)

It's divided in a php based rss feeder (DirCaster) and some scripts to get the podcasts you want and distribute them for your defined caster zones.


Install

b3caster is built and tested in a Excito b3 server.

Here are some steps to help you to configure b3caster:

  1. Download a working copy of b3caster (check the latest Tags)

  2. Copy the zip file to your server

    _scp Downloads/b3caster-M1-01.zip yourserver:/home/user/downloads/_
    
  3. ssh (or gui) to yourserver

  4. Be root (sudo or how you are setup)

    _$ su_
    
  5. Unzip

    _# unzip b3caster-M1-01.zip_
    
  6. Make a folder for the shell scripts and copy the necessary files

    _# mkdir /home/user/b3caster_
    _# cp /home/user/downloads/b3caster/*.sh /home/user/b3caster_
    _# cp -R /home/user/downloads/b3caster/config/ /home/user/b3caster_
    
  7. Make a folder visible on your web server and copy files

    _# mkdir /www/b3caster_
    _# cp -R /home/user/downloads/b3caster/DirCaster/* /www/b3caster/_
    
  8. Change the config file to reflect your folders

    _# vi /home/user/b3caster/config/b3caster.conf_
    
  9. Add your Caster Zones

    _# vi /home/user/b3caster/config/caster_zones.conf_
    
  10. Add your podcasts

    # vi /home/user/b3caster/config/urls.conf

  11. Add podcasts to your Caster Zones

    # vi /home/user/b3caster/config/subscriptions.conf

  12. Run for the first time

    # /home/user/b3caster/b3caster.sh

  13. Add to cron

    00 06 * * * /home/user/b3caster/b3caster.sh

Clone this wiki locally