Podcasting Plugin for Movable Type
The Podcasting Plugin for Movable Type allows users to easily link to and include MP3 at any URL in their Movable Type blog and to manage those podcasts as assets within Movable Type's asset management system.
- Link to any podcast on the Internet. All you need is a URL.
- Let the plugin automatically extract the content type and content length of the podcast being linked to.
- Automatically embed a streaming, flash based MP3 player into your posts to allow your readers to listen to your content easily.
- Manage podcasts as assets within Movable Type's asset management system.
How it Works
Once a podcast is in Movable Type's asset management system one can then use Movable Type's default template tags to encode podcasts as enclosures within RSS and Atom Feeds.
Before we proceed, make sure each of the following prerequisites have been satisfied.
- User has MovableType 4.01 or greater installed
- User has LWP installed
Install the plugin's files.
To install this plugin, unpack the plugin's archive. Then copy the contents of Podcast's mt-static directory into Movable Type's mt-static directory:
cp -pR Podcast-1.13/mt-static/* /path/to/mt/mt-static/
Then copy the contents of Podcast's plugins folder to Movable Type's plugins folder:
cp -pR Podcast-1.13/plugins/* /path/to/mt/plugins/
In the event that you are unable to unpack the plugin's archive directly on the server, you may need to install the files manually. To do this, each of plugin's files needs to be placed in a specific directory, as outlined below:
==> $MTHOME/plugins/Podcast/lib/Podcast/ plugins/Podcast/tmpl/*
==> $MTHOME/plugins/Podcast/tmpl/ plugins/Podcast/Podcast.pl
The following files are static files and must be placed in your static web path. By default this is $MTHOME/mt-static.
mt-static/plugins/Podcast/* ==> $MTHOME/mt-static/plugins/Podcast/
Set Your StaticWebPath.
Podcast makes use of a freely available flash file to stream MP3 files from your blog. This must be accessible via a web browser.
To change your static web path, open up your mt-config.cgi file and look for the following lines:
# If you place all of your MT files in a cgi-bin directory, you # will need to place the directory containing your static files # (mt-static) elsewhere, so that the webserver will not try to execute # them. StaticWebPath is the path to your mt-static directory. # # StaticWebPath http://www.example.com/mt-static
Set the value of StaticWebPath to the fully qualified URL of your mt-static directory.
Adding Podcasts to Your Feeds
Some of your feeds must be edited manually to make this plugin fully compatible with podcasting services and people wishing to subscribe to your podcasts.
The following can be inserted anywhere within the
<mt:Entries> tag within your Atom feed. While iTunes supports Atom, the RSS feed is recommended as it is the most well documented format for iTunes and podcasting support (see below).
<mt:EntryAssets> <mt:SetVarBlock name="assettype"><mt:AssetType></mt:SetVarBlock> <mt:if name="assettype" eq="podcast"> <link rel="enclosure" type="<mt:AssetMimeType>" title="<mt:AssetLabel>" href="<mt:AssetURL>" length="<mt:AssetProperty property="file_size" format="0">" /> </mt:if> </mt:EntryAssets>
See download links below.
The Podcast Plugin for Movable Type is available for free but must be used in accordance with the terms of your Movable Type license (either free for personal use, or for commercial use when used in conjunction with your Movable Type Commercial License).
Support is provided through Movable Type's forums.