|Browse in :||
> St.Ego's Blog
All > Topics > CMS Blog
All > Topics > F.N.F.T.
Any of these categories - All of these categories
After listening to some of the other podcasts that are out there, I decided that the time has come for me to give it a try.
I recently downloaded Audacity, which offers voice-activated recording features and accepts the line-in that is currently carrying the mic from an old over-the-ear gaming headset I had sitting around. I have to increase the Gain quite a bit to hear myself after recording through such a low-end mic, but it gets the job done.
In order to run a podcast, however, you need more than just a few mp3's.
In about two hours, I worked out a way to run podcasts from Xaraya using only Xarpages, a new articles pubtype and a couple of templates. Continue reading to see the actual templates and get started setting up your own podcast using Xaraya!
Before loading anything else, you need to establish a page template in your theme that will use RSS/XML format instead of HTML/XHTML. It needs to point at the iTunes XML namespace and then just loads the rest of the page inside.
With this in place, we can move on to our Xarpages component. I created a new Xarpage type for "podcasts" and gave it the following template as default (eg: [theme]/modules/xarpages/page-podcast.xt).
This template displays the podcast meta data as pulled from individual Xarpages of type "podcast". It has a few interesting tweaks in place to handle file size determination, etc, but I won't go into that here.
At the end of the template you can see where all of the remaining data is piped in from Blocks. So, we create a new "podcast" blockgroup and create a "topitems" article block to put in it. The "topitems" block is then directed to use the following template for "[theme]/modules/articles/blocks/topitems-podcast.xt".
I took some extra effort to ensure that keywords were included, as well as file size calcs. Once completed, you just point iTunes at the URL for your new podcast Xarpage and publish mp3's to that articles pubtype!
From here, it is only a matter of producing the audio recordings and splicing them together for a complete podcast solution. Look forward to seeing (hearing?) St.Ego's Ivory Tower Podcast in the days ahead!