I’ve been tinkering with my simple approach of using MovableType as a publisher engine to create podcast feeds and content listings for audio content that is used across several different web sites. While there are many ways one could go about this, I am finding this to be efficient and fast. I only have about 7 feeds set up, but they are pushing across multiple web sites, with different design layouts.
This allows me to create a single directory of content and RSS files that can be accessed by any of our other PHP web pages. So the main podcast entry page lists all the casts on our site, and th elistings provide links to web sites connected to the audio, a description, a URL for the MP3 file, and now, stealing the idea from the EDUCAUSE blogs, the slick niftyplayer, and embedded flash audio player, e.g.:
But by setting up categories, I can have content filtered to feeds that are associated with specific project, such as our Dialogue Day podcasts, Ocotillo podcasts, and our Online Learning Group podcasts.
MovableType generates the correct RSS 2.0 feeds with proper enclosure tags, as well as generates the small text files that are used to provide the content to these pages. There is also another template that provides the content used to display as “What is Podcasting” info on these different pages. It works well because it is not publishing a full blog, just some small bits of content files.
For example, a snapshot of my current directory includes:
where *.inc are the main podcats listings, *_nav.inc are shorter listings that are just links to the sites that include the audio, and *.xml is a podcast feed.
Below I will describe in a bit more detail how it is done and provide a download of the template files. To use these you will need to
* have a web site that uses PHP for its content pages
* have an understanding of linking to web directories up and down a web server structure
* use or be able to set up MovableType on your server (I use the last free version, 2.661, but it ought to work on the 3.x versions)
The Road to Podcast Publishing
Again, this is assuming you have a running version of MovableType and are capable of creating new weblog sites.
- Download my set up template files:
- Download and install MT-Enclosures plugin from:http://brandon.fuller.name/archives/hacks/mtenclosures/
- My template includes the niftyplayer Flash MP3 file, but if you want to do more or learn more about, it check out:
- Create top level directory on your web server named “podcast” (it need not be top level, but makes it easy to reference links via HTMNl like
href="/podcast/somefile....". Set permissions on directory to 0777.
- Create a new MT blog that publishes to this directory. It’s name and description do not matter as that info is not even used.
- A total of 6 templates are used:
You will only need 3 of the Index templates listed below, the others can be deleted. The content for each is brief:
- About The content that describes what podcasts are. Save as filename: about.inc using about.inc.template
- All The main listing file for all podcast., Save as filename: all.inc using all.inc.template
- RSS 2.0 The main podcast feeds for all podcasts. Save as filename: all.xml using all.xml.template
- Create 3 Category Templates:
- Category RSS 2.0 (podcast feeds) using template category-rss.template
- Category Short (sidebar links) using template category-short.template
- Category Summary (displayed feeds) using template category-summary.template
- Create Movabletyoe categories for all subsidiary web sites that will have their own feeds. Use abbreviated names- mine are “ocotillo”, “dd”, and “olg”:
- The template downlaod includes a basic index.php file that can be used as a starter for the main /podcast site. The relevant parts are:
12345678910111213141516<p><a href="/podcast/all.xml"><img src="/podcast/rss.gif" alt="RSS" width="36" height="14"hspace="4" align="left" border="0"></a>Podcast feed:<a href="/podcast/all.xml">http://www.mybigfatsite.com/podcast/all.xml</a></p><!-- begin all site feeds --><?php include $_SERVER['DOCUMENT_ROOT'] . '/podcast/all.inc'?><!-- end all site feeds --><h2>More About Podcasts...</h2><!-- begin podcast info --><?php include $_SERVER['DOCUMENT_ROOT'] . '/podcast/about.inc'?><!-- end podcast info -->
and a sample subdirectory podcast,php file shows how a site specific include works- note the association of the
category_namethat matches the names created above:12345678910111213141516<p><a href="/podcast/category_name.xml"><img src="/podcast/rss.gif" alt="RSS" width="36"height="14" hspace="4" align="left" border="0"></a>Podcast feed: <a href="/podcast/category_name.xml">http://www.mybigfatsite.com/podcast/category_name.xml</a></p><!-- begin all site feeds --><?php include $_SERVER['DOCUMENT_ROOT'] . '/podcast/category_name.inc'?><!-- end all site feeds --><h2>More About Podcasts...</h2><!-- begin podcast info --><?php include $_SERVER['DOCUMENT_ROOT'] . '/podcast/about.inc'?><!-- end podcast info -->
- When creating the posts that provide the podcast content for one audio file, we are using two of the MovableType entry fields as special containers:
- Use any title that is descriptive
- Assign to one of more categories
- In the Entry Body, include a description, and also include a full hyperlink for the MP3 file so the Enclosure tag will pick it up
- Put the Full URL for the MP3 file in the Excerpt field
- Put a URL the Feed title should link to in the “Keywords” field
Hope that helps someone. Your mileage may vary, blah blah blah.