Add to Technorati Favorites
Showing posts with label iTunes. Show all posts
Showing posts with label iTunes. Show all posts

Thursday, 15 November 2007

Thunderbirds are go!


After seeing the Zune software fall a bit short of the mark with podcasting, I've been playing about with the Pre-Alpha version of Thunderbird 3, Mozilla's email client. I respect Mozilla as a software company (if you can call them that, how much money do they actually make from selling software?) because they're innovative, but what they do works, and works well. Probably due to the fact that being an open-software company, each piece of software is like a forum of ideas, unlike Microsoft these days ;)

Even though this is a pre-alpha release, it's been working for me with no problems so far (more than can be said for some companies' final releases, not mentioning any names). One thing that is really looking good, even at this early stage in the game, is the RSS reader capability, which lets you see your RSS feeds alongside your inbox - why has nobody done this before now? (OK, I know you can get extensions for Outlook to do this, but the fact of the matter is that Microsoft should have added this functionality a long time ago). When you click a post, the actual link back to the site hosting the article is opened within a Thunderbird pane, which means no more clicking "read..." links! The really surprising thing though, was how well this all worked with podcasts - the audio/video file in the enclosure just shows up as an attachment to the post, allowing you to just save it where you want on your computer. Elegant, and all you really need from something not designed specifically for podcasting. I'm sure at some point Mozilla will add some basic mp3 player functionality so you can preview episodes and play them back once downloaded, or perhaps automatically generate a playlist within Media Player/iTunes with all the received episodes from a certain podcast. I'm just throwing ideas around. Of course because it's built by Mozilla, it has the Firefox rendering engine built into it, meaning that podcasts can take advantage of full HTML formatting in the description.

Now all somebody needs to do is build a podcast directory that bolts into Thunderbird, and there's the beginnings of some fairly decent podcasting software finally!

Wednesday, 14 November 2007

Microsoft FINALLY wakes up to podcasting...

I read with interest yesterday that Microsoft have finally got round to adding podcast support to their new Zune players, so I thought I'd have a look into it to see how the support fared against that found in iTunes.

I have a very love/hate relationship with iTunes - it seems to be getting slower and clunkier with every new version (I use it on windows, I understand it works much faster on Macs, but go figure), it looks ugly, and for such a huge company, the visualizations are laughable to say this has come from a huge company with such a huge budget when compared to single-man programmed vis's like Milkdrop (Winamp) or Twisted Pixel (Windows Media Player), which I can watch for hours and not see the same effect twice, and they're silky smooth. On top of that, not only does iTunes act slow, but it also slows your entire system down to a crawl as well (and this is on a 2.4Ghz Dual-Core with 2Gb RAM)! On the other hand, iTunes has pretty much been the one piece of software that has made downloading and listening to podcasts a no-brainer, which is really what it needed. Finding a podcast you want to listen to in iTunes is almost simplicity itself, and the reviewing system is helpful for finding out if a podcast is a waste of time, or other similar podcasts. Whilst making podcasting nice and easy for users though, iTunes is still lacking a lot of developer-end features like the ability to see easily how many people have downloaded and listened to your podcast, as well as basic HTML formatting in the descriptions for the episodes.

For my main media player right now, I've been using Media Player 11, which looks pretty, I can control from my taskbar, has good visualizations (once you've installed Twisted Pixel or something similar), rips super-fast and at decent quality (very important for a DJ), and the search is nice and fast also. I used to like Winamp for all my tunage needs, but even this has got a bit slow on the old search function in recent versions - but I can forgive that with them having a team of developers smaller than Microsoft's cleaning staff. The only downside to Media Player is that it has absolutely no podcast support, which is a real shame, and I'm sure would stop a lot of podcasters/listeners having to rely on iTunes just for this function (and I know a lot that do).


I decided to give the Zune software a try, if only to see how it fared against iTunes and Media Player. Installing it was no problem, and the download was less than half the current size of iTunes. It took about the same time to install as iTunes, but was much quicker to load once all my tracks were loaded into it's library (currently around 20k tracks). Interestingly, there was no feature to just work with Media Player's library, meaning that you have to go through the import process again, and the 2 libraries have to be maintained separately, which was a bit of a bummer.

The interface, whilst a little confusing at first looks beautiful, and you can choose from about 8 themes if you don't like the girly default one. It seems strange to me that the Zune2 players look very masculine, yet the software looks very feminine. It also seems strange to me that Microsoft would not just bolt the Zune syncing, podcasting and picture features into Media Player, which people will probably be using already if they don't have iTunes (which, if they're buying a Zune, they probably won't). All the menus fade in and out smoothly, or slide around, and compared to the grey boredom inducing look of iTunes, it really is quite refreshing to behold. It will not only allow you to organize and play your music, but your videos and pictures as well. The pictures part is especially nice for showing off your pics, as the interface is there over the top of the pictures, but doesn't get in the way, so you can see your pictures take up the full screen (with all the fady wizzy slidy effects you could want, it's all very pretty). Finding how to get to the podcast directory took me a bit of time, as the Zune software separates what's currently on your computer from what's on the internet, so going to your 'collection', then clicking on podcasts only shows you your current subscriptions, and their episodes. To get to the directory you first have to click on the marketplace (which I didn't think I could as Microsoft wouldn't let me create an account because I was born in the wrong part of the world), then on podcasts. This is a little confusing, as the assumption is that anything in the Marketplace is something you have to pay for, which is something which is invariably not the case with podcasts.

Once you've found it, the podcast directory is nice to look at, but quite slow to load, even though it loads the podcast artwork after the page has loaded. At the moment, the directory is pretty sparse compared to Apple's huge directory, but it's early days yet. Apple are very good at keeping up with podcast additions to their directory, I've just submitted Ruforia to the Zune directory, so we'll see how long it takes to show up. Choosing a podcast to subscribe to is very similar to iTunes, although once you're on an individual podcast's page, it seems to take an age before you get a list of the actual episodes within that podcast. Clicking on an episode does show the description in place of the actual series description, which I think is much better in usability terms than the iTunes method of clicking the small grey 'i' next to the episode (which you'd be surprised how few people know how to use). Aside from the general lack of speed accessing the podcast details, the only other downer is that people can not review podcasts like in iTunes. What would have been one better for Microsoft would have been the ability to discuss in a forum-like manner podcasts and individual edpisodes (since they seem so hell bent on creating yet another social network... can't they have one social network that you can bolt extra components onto as you need/want rather than a million different ones... xbox live, MSN messenger, Zune, Live Spaces, it goes on...). Other minor gripes in what would have otherwise been a pretty decent media player:

  • Editing Track/Artist information in the library list view is a complete pain, and really slow.
  • What's with the girly pink/orange bar along the bottom of the window all about?
  • Why can't Microsoft program software that conforms to it's own UI guidelines? Every other program has a drop-shadow under Vista now, except the Zune software :s
  • On that note, why could they not have given it a full-size Vista icon?
  • Ok, I realize that this is primarily software designed for use if you have a Zune player, but could they not have all the 'device' options hidden until you register a Zune player with the software so that they don't get in the way. iTunes doesn't show any iPod options unless you actually have an iPod connected to it. Much less confusing for newbies.
  • It's actually harder in the Zune software than in Media Player to add album art to tracks. Can't someone invent a nice easy way to batch add album art to your tracks???
  • They've pretty much covered everything (almost) iTunes does in terms of podcasting and nothing more, how unimaginative.
  • Why do all the titles have to be in huge capitals? Most podcasts/tracks end up being cropped off the edge of the window. I can read you know, Microsoft.
  • No 'Users also liked...' function? Have we not established this is a Good Idea® if you want more business by now?
  • Only 3 levels of rating?? Every music software that uses the ratings system uses 5 stars! Oh and we've changed it to hearts/broken hearts to rate the tracks? I'm sorry, but just because I don't like a track doesn't mean that I've had my heart broken by it, I don't get all emotional just because a crappy Trance track has wormed it's way into my collection.
  • No visualizations??
  • Not only does it not tell me the title of the track currently playing in the task bar, but it doesn't allow me to control what's going on without maximising the application first. This wouldn't be so bad if it took any notice of the multimedia keys on my keyboard, but it doesn't.
  • Would it have been so hard to install a little sidebar gadget for Vista along with the software, so that you can see when new podcast episodes are available? It seems like it's just going to be another of those technologies that Microsoft heralds as the feature that will change the world, and then not make use of it in it's own programs.
One really thankful thing is that the Zune software actually reads the iTunes tags in the podcast definition file, instead of requiring it's own XML definitions. That could have been a lot more painful for everyone concerned. But apart from all that it could be a really good podcasting alternative to iTunes about 10 years down the line. By which time iTunes will have moved the goalposts again of course!

Friday, 27 July 2007

Podcasting: Beyond the Basics Pt. II - Use HTML in your description.

I know a few people have been waiting for this one, so hopefully Steve will leave me alone after this ;) Anyway, so far I've described to your the bare minimum you have to do in order to set up an XML file for podcasting. Now I'm going to show you how to set your podcast apart from the rest by using HTML in your XML file, so it looks much prettier and is more usable in podcatchers that can understand it, like Google Reader. I'm going to assume you have at least a bare-bones understanding of what HTML is, and how to program a simple web-page using it. If not, there's a half-decent tutorial here, or search for HTML Tutorial on Google.

So why should we do this? Well, ultimately, it's up to you, of course, but putting HTML in your XML file will benefit your subscribers in a few ways:
  • Most importantly, it will allow you to use line-breaks and paragraph breaks in HTML podcatchers. Without using this, your description will just be one large block of text. You can hit the enter key till you're blue in the face, and it might format correctly in iTunes, but nothing will change the way it looks in Google Reader.
  • Instead of offering web addresses to relevant websites for that episode, you can offer them as proper hyperlinks. Your subscribers will thank you for this alone.
  • Use pretty much anything you can do in HTML - tables, lists, images, backgrounds - make your XML mirror the style and layout of your website. About the only thing you can't do is to use JavaScript.
The only downsides are that it will take a bit more effort on your part to make sure everything works as it should, and that it will pretty much double the file size of your XML file. If you don't have many episodes in your podcast though, it's definitely worth doing.

Unfortunately, not all podcatchers understand HTML (including, unfortunately, iTunes - which is weird, as it uses HTML for the iTunes store. Bummer), which means we need to code our XML in such a way that people not using a HTML compatible podcatcher won't notice any difference to any other podcast out there. This took me a good few days of experimentation to work out an acceptable way of coding the XML to work in this way, and I've not seen any other podcast pull this off yet, so you're getting let in on an exclusive here.

First of all, you'll need to change the namespace tag at the top of your XML file. We're going to make it so it downloads definitions for not only the iTunes tags, but also for the HTML enclosure we'll be using. Right now, you're probably using this namespace tag:

<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

We're going to replace it with this one:

<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">

If you don't understand what we just did - imagine until this point, we've been writing our XML file in French. Which is fine, because we told the computer where to find a French dictionary so it could understand what we wanted to do. Now we want to write part of the XML in German as well, so we need to tell it where to find a German dictionary also.

Now for each episode of the podcast, we're going to need 2 <description> tags: one containing just plain text, for iTunes compatible podcatchers, and the other containing HTML for the more advanced podcatchers. The reason we can't have everything in one <description> block: plain text podcatchers will just show the raw HTML code to your users, which just looks ugly. Here's what the code is going to look like for the description for one of the episodes:

<description>This week, Jim McJim explores the climes of Glasgow through the ages, from the abhorrent weather in the dark ages, through to today's less tolerable rainstorm.

You can get further information on Jim's travels at http://www.jim-mcjim.com/ or email him at jim@jim-mcjim.com</description>
<content:encoded><![CDATA[
<p><img src="http://farm1.static.flickr.com/29/38329648_f43ddc78e2_m.jpg" align="left">This week, Jim McJim explores the climes of Glasgow through the ages, from the abhorrent weather in the dark ages, through to today's less tolerable rainstorm.</p>

<p>You can get further information on Jim's travels at the <a href="http://www.jim-mcjim.com/">Jim McJim website</a> or email him at <a href="mailto:jim@jim-mcjim.com">jim@jim-mcjim.com</a></p>
]]></content:encoded>


You'll see that the two description blocks are essentially the same (you'd be a fool not to copy and paste ;) but the second one is instantly more accessible to your users - it includes a small thumbnail which sets the scene for the content of the podcast, and also the links to the website and email will actually go to those places when the user clicks them. Make sure you keep these surrounding tags exactly as you see them here:

<content:encoded><![CDATA[
HTML description goes here
]]></content:encoded>


The extra ![CDATA[ bit just makes sure that iTunes will not try and display this information.

And that's pretty much it! As I said before, you can pretty much use any of the tags you'd use to build a webpage, giving you an infinite number of possibilities for presenting your information to people subscribing to your podcast. If you put this to good use in your own podcast, drop me an email and maybe I'll feature it on the site! Don't forget to put a little link here if you get this up and running!

Thursday, 28 June 2007

Step by Step: Making a Podcast, Pt. V

We have an episode, we have an XML feed, we've made sure it works, all that's left is to tell the world about it! If your feed is properly working, the description is accurate, you've made a nice picture for the episodes and to accompany the podcast in iTunes, there's absolutely no reason why Apple won't accept your podcast into their iTunes podcast directory. This is probably the easiest part of the process, but it won't happen if even one of the previous steps has not been completed properly.

Here we go!
  • Open iTunes
  • Click the "podcasts" tab on the left of the iTunes window
  • At the bottom right of the iTunes window, you'll see a link to the "Podcast Directory". Click this.
  • iTunes will open the iTunes Store Podcast Directory. In the middle of the page (usually) there is a large icon labelled "Submit a Podcast". If it's not there, at the bottom left of this page is a panel labelled "For Podcasters". Click the same link in this panel.
  • From here, the process is pretty simple, and iTunes will guide you though it, but for completeness, I'll include it here. You'll be asked for your podcast feed URL. Type the URL of your XML file (exactly as you typed it when testing your XML earlier).
  • When you click continue, you'll then be asked to provide your AppleID details (if you're not already logged into the iTunes store). If you don't have an AppleID account already, you can set one up for free, although as I remember, you are asked for a credit card number as part of the process.
  • Once iTunes has received the request, you'll be asked for your email address so that once the podcast has been vetted by Apple and approved to be added to the podcast directory, you will be notified.
Between receiving your request, and adding your podcast to the directory, it can take anything up to a week, so now you've done this, hang tight, all the hard work has been done. Apple will get back to you with an email confirming whether they have accepted your request to be added to the directory, and if they have allowed it, they'll also give you a web address so that you can link to your podcast directly within iTunes from your webpage.

Apple will remove your podcast from the directory even if it has been approved if the XML stops working for a few days, or becomes completely inaccessible to the Apple servers.

Whilst you're waiting for approval, you can always submit your podcast to other directories, although don't expect too many visitors from these. Here's a list of a few you might want to add yours to:
There are many others - try searching for "podcast directory" on Google.

Now you have a working podcast, all you have to do is keep making quality episodes, and maybe you can get yours in the iTunes charts! Apple are always on the lookout for quality podcasts, and if they think yours is worthy, they may make yours a "Featured Podcast". There's no way to ask them to do this, it just depends on how good your podcast is, and how many listeners it gets.

From now, I'll be discussing some advanced podcasting techniques, from how to make it easier for people to get at your podcasts, to making the description format much better in web-based XML readers like Google Reader.

I hope you've found this tutorial helpful in creating your podcast, if you have, please be gracious enough to link to it from your website, so that others may benefit from it in the same way (it's best to link to the first part of the tutorial, at this link) :) Thanks a lot, Rufus

Step by Step: Making a Podcast, Pt. IV.

At this point in the tutorial, we're pretty much on the home stretch: you've made an episode, and uploaded it to the web. You've also made an XML file, which describes your podcast and links to this mp3 file. Theoretically, we should be at the point where we can start threatening iTunes that you have a new podcast to unleash on the world. However, first we need to make sure that there's no mistakes in your XML file which would cause podasting software to fall over and die.

This is where the similarity between HTML and XML ends. If a mistake is made in a HTML web page, the web browser might display the information a little iffy, but it will probably still display it. If you make a mistake in an XML file, the software will just stop reading your file, and nobody will be able to get your podcast. XML is very unforgiving in this sense, which is why it's important to make sure that your code has no mistakes before you submit it to any podcast directories or iTunes.

So what can go wrong with an XML file? Well, most mistakes will boil down to:
  • Typing error - even one letter out of place can stop your file working if it's in an XML tag.
  • Forgetting to close a tag - this will make anything trying to read your XML file get it's knickers in a twist.
  • Not escaping a character. This is something I'm always doing, and it makes iTunes instantly fall over. I'll explain this properly in a minute.
Just in case you're thinking "Well, I copied and pasted the code exactly, there's no way I could have made any mistakes!" - mistakes have a habit of creeping into XML files without you even noticing, and even if you've not made a mistake this time, there will come a time in the future when you do, so this is good to know about. If you're using something like Dreamweaver, there's much less chance of you making mistakes, as it highlights all the XML tags for you, and this makes things a little easier.

Before you give up on podcasting, thinking that you have to go through your XML with a fine-toothed comb in order to be able to find where the mistakes are, don't worry, help is at hand. Because you've already uploaded your XML to the web, you can now run it through a feed validator. This is a web program which will pick apart your code, and tell you about any errors it finds. You fix them, re-upload the file, and then try again. When you eventually get to the point when you have no errors in your code, you've achieved the amazing, and you're ready to test your podcast in iTunes, and then submit it to the directory.

Head over to the Feed Validator here. You'll notice it looks a lot like Google. All you do is type (or copy and paste) the URL of your XML file into the box and press the Validate button. You'll see a list of errors in your XML (and in most cases, an explanation on how to fix them), then a copy of your code, showing you exactly where the errors are. If you've just copied and pasted the code I gave yesterday, you'll probably have 2 errors which are non-critical (ie. they won't stop your XML from being read, but it's advising that you should do something about it):
  • item should contain a guid element
    iTunes likes to have a Globally Unique Identifier, to differentiate every single episode of every podcast - however, if this tag is not included, iTunes will just create it's own guid from the mp3 filename associated with the episode.
  • Missing recommended iTunes channel element: itunes:explicit
    This is another tag you can add to each episode (or under the <channel> tag, meaning that all episodes will have strong language) to tell iTunes that the recording contains explicit language. This is what it looks like:
    <itunes:explicit>yes</itunes:explicit> - use if your episode does contain strong language
    <itunes:explicit>no</itunes:explicit>
    - use if your episode does not contain strong language
    <itunes:explicit>clean</itunes:explicit>
    - use if your episode contains no strong language or anything that might be considered offensive in any way.
Something else that is very important to watch out for when coding your XML is making sure that you have escaped your characters. This is nothing to do with writing a novel about Colditz or anything even that exciting, unfortunately. Basically, in XML there are certain symbols which have special meanings, and if you want them to show up the way you intended, you have to substitute them with little codes. You've seen this already, without realizing it, probably - take a look at this snippet from yesterday's code:

<itunes:category text="Places &amp; Travel"></itunes:category>

The category shows up in iTunes as "Places & Travel", yet in your code, it's "Places &amp;amp;amp;amp;amp;amp; Travel". This is because the ampersand symbol has a special meaning for programs trying to interpret XML, so by substituting the &amp; code, you're telling it that you actually want the ampersand to show up in the text, and not to interpret it as a piece of programming. Here is a list of symbols that need to have these escape codes in place of them:
Character name xml
& ampersand &amp;amp;amp;amp;amp;amp;
< less-than sign &lt;
> greater-than sign &gt;
’ apostrophe '
" quotation &quot;
Try to be aware of these characters when coding your XML, as even one without the correct code substituted instead will stop iTunes (and most other podcasting software) from being able to read your file. I usually find it helpful to do a find-and-replace on the & symbol before I publish a new episode of my podcast (Ctrl-H in notepad/found under the "edit" menu in most other editors).
Once you've validated your feed, and it's not throwing up any significant errors (remember you'll have to save your file in your editor, then upload it to the same place as before, then put it through the validator to check the new version), it's time to test it in iTunes to see if it works, before we submit your podcast to the directory.
  • Open iTunes
  • Click Advanced (on the menu bar) > "Subscribe to Podcast..."


  • Type the URL of your podcast, and click ok.
  • You'll be taken to the podcast area of iTunes, and iTunes will start trying to get your podcast. All being well, you should see a spinning orange icon next to your podcast title, indicating that it's currently being downloaded:

    If it's not worked, and iTunes has found an error in your XML, or can't find the URL you're pointing it to for the mp3 file, you'll get an exclamation mark next to your podcast:

    In this case, you need to go back to your XML code, find the problem (or problems), correct them, and try this process again. If your code has validated ok, then chances are you've either not escaped a symbol somewhere in your code, or you've put the wrong URL to your mp3 file in your code. Pay special attention to these things.
If you got the spinning orange icon first time, congratulations! You now have a working podcast! Next we'll look at submitting your podcast to the iTunes directory, so you can start getting some listeners!

Tuesday, 26 June 2007

Step by Step: Making a Podcast, Pt. III

Now that we've got an mp3 file stored somewhere on the net, we need to create our XML file, so that iTunes and other podcatching software knows where to find and download this mp3 from.

First, let's have a look at what an XML file actually looks like. Below is some typical XML podcast code:

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>Jim's Scottish Podcast</title>
<link>http://www.jim-mcjim.com
</link>
<language>en</language>
<copyright>Jim McJim, 2007</copyright>
<itunes:subtitle>A weekly changing podcast on the ever changing weather of Scotland</itunes:subtitle>
<itunes:author>Jim McJim</itunes:author>
<description>Have you ever wondered what the weather was like in Scotland last week? Wonder no more as Jim McJim takes you on a whistle stop tour of Scottish Weather through the ages.</description>
<itunes:image href="http://www.jim-mcjim.com/jimsporran.jpg"> </itunes:image>
<itunes:owner>
<itunes:name>Jim McJim</itunes:name>
<itunes:email
>imjim@jim-mcjim.com</itunes:email>
</itunes:owner>
<itunes:category text="Places &amp; Travel"></itunes:category>
<itunes:keywords>Scotland, Weather, Jim McJim, Rain</itunes:keywords>
<item>
<title>Aberdeen</title>
<itunes:author>Jim McJim</itunes:author>
<link>http://www.jim-mcjim.com/aberdeen26062007.mp3</link>
<itunes:subtitle>A quick look at Aberdeen's greyness through the ages.</itunes:subtitle>
<description>Don't be fooled by Global Warming and El Nino, Aberdeen has always had crummy weather, as we set out to prove in this weeks installment of Jim's Scottish Podcast. Jim is always taking suggestions for where to do his Scottish podcast on next, and he'll happily tell you exactly how rainy it's been just about anywhere in the country. Contact Jim on imjim@jim-mcjim.com.</description>
<enclosure url="http://www.jim-mcjim.com/aberdeen26062007.mp3" length="57099128" type="audio/mpeg"/>
<pubDate>Thu, 19 Apr 2007 11:14:18 GMT</pubDate>
<itunes:duration>59:12</itunes:duration>
<itunes:keywords>Scotland, Aberdeen, Rain</itunes:keywords>
</item>
</channel>
</rss>

At first it looks like a complete mess, but if you look closely, it actually makes a lot of sense - XML was designed so that computers could interpret it, but it was also designed so that the average human could look at it and see exactly what was going on as well. You could pretty much copy and paste that snippet into a blank notepad document, change it to the details you need, and use it as your XML if need be, without even reading the next part.

If you've programmed a web page using HTML before now, the XML will appear very familiar to you - the difference between them though is that whilst HTML describes everything that goes on in a page (including pictures, formatting, backgrounds, tables etc.), XML only describes the data, and leaves the formatting up to the page hosting the XML document, or the program or device it's being shown in. You'll notice, like HTML, that each snippet of data is held between two "tags", which describe what data is contained in that tag. There is always an opening tag: <data> , and a closing tag: </data>

Now we know the basics of an XML file, let's pick apart the above example, tag by tag, so that we can better understand what's going on with this file.

  • <?xml version="1.0" encoding="UTF-8"?>
    This tag must always be at the start of every podcast XML file - it basically just tells any program reading this file that it's an XML file. Never change this tag, as anything trying to "tune in" to your podcast will just get confused.
  • <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">...</rss>
    This is what is known as the "namespace" tag. Every XML file must have one, and it tells any program reading the file what each tag means. For just a standard podcast, use this tag, as it includes all the information needed for the iTunes tags, as well as standard podcast tags.
  • <channel>...</channel>
    This is where the podcasting magic begins. This tag just tells us that everything between these tags will be a new podcast. You can put more than one channel into an XML file, but I wouldn't recommend it. You'll notice that just about everything else in the file is enclosed in these tags.
  • <title>Jim's Scottish Podcast</title>
    This is the title of the pocast, as it will show up in the podcasting software.
  • <link>http://www.jim-mcjim.com</link>
    This is just the website associated with the podcast. If there's the option to link to a website in the podcasting software, this is where it will take you.
  • <language>en</language>
    This is the default language for the podcast. In this case it tells us that it will be standard English. We could be more specific and set this instead to "en-gb", which software would interpret as British English. There is a list of different values for different languages here.
  • <copyright>Jim McJim, 2007</copyright>
    Pretty self-explanatory, who holds the copyright for this podcast. This might be a single person, as in this example, or it might be a company.
  • <itunes:subtitle>A weekly changing podcast on the ever changing weather of Scotland</itunes:subtitle>
    The iTunes subtitle: gives an annotated description of what the podcast is about in iTunes. There's a couple of other podcast directories that read this value as well. It's best to be as concise as possible when setting this, as it may be the deciding factor as to whether someone listens to your podcast, or passes it by.
  • <itunes:author>Jim McJim</itunes:author>
    Another iTunes specific tag - this is the Author or main producer of the podcast. This will usually be the same as the copyright holder.
  • <description>...</description>
    This is where you can be as descriptive as you want on what your podcast is about. iTunes shows this description on the individual podcast page, as do most podcasting websites.
  • <itunes:image href="http://www.jim-mcjim.com/jimsporran.jpg"> </itunes:image>
    This is the image that iTunes will show in the podcast charts, and on the individual page describing your podcast. This must be a JPEG, and it is most effective if it is square. Your podcast will get much more exposure if you have a decent image.
  • <itunes:owner>
    <itunes:name>Jim McJim</itunes:name>
    <itunes:email
    >imjim@jim-mcjim.com</itunes:email>
    </itunes:owner>
    More iTunes specific owner information. Again, this will usually be the same as the copyright holder's details.
  • <itunes:category text="Places &amp; Travel"></itunes:category>
    This is the category that your podcast will be placed under in the iTunes directory. Some other podcasting websites also use this. There's a full list of what you can set this value as here.
  • <itunes:keywords>Scotland, Weather, Jim McJim, Rain</itunes:keywords>
    Words that people might use to search for your podcast in iTunes. Try to think of as many words as possible, but keep within the realms of what your podcast is about. The more words you choose, the further down the "relevance" list your podcast will appear, so be as specific as possible. Seperate each term with a comma.
  • <item>...</item>
    This is the next tag you need to pay attention to. Everything between a set of <item> tags describes one episode of your podcast. You can many item tags in one XML file. You'll notice that a few of the tags contained within this one are the same as for the podcast itself - these fulfill the same function, but instead of describing the podcast now, they're describing an individual episode.
  • <link>http://www.jim-mcjim.com/aberdeen26062007.mp3</link>
    For each episode, include a link tag which is the URL of the mp3 file associated with this episode. This will allow people looking at the podcast on websites to go straight to the mp3 file, and stream or download it. It's less helpful for an episode link tag to go to the podcast website.
  • <enclosure url="http://www.jim-mcjim.com/aberdeen26062007.mp3" length="57099128" type="audio/mpeg"/>
    This is where the real magic happens - the tag which tells iTunes and other podcasting software where the episode mp3 file (or video file) is contained. Change the value in the quotes next to url to the URL where you stored the mp3 file. The length value is the size (in bytes) of the file (right click the file in windows explorer, and go to properties so get this value). Type is the type of file this is, in most cases this will be an mp3 file, but it could be a video file. The following table shows other file types values this might be:
    File Type
    .mp3 audio/mpeg
    .m4a audio/x-m4a
    .mp4 video/mp4
    .m4v video/x-m4v
    .mov video/quicktime
    .pdf application/pdf
  • <pubDate>Thu, 19 Apr 2007 11:14:18 GMT</pubDate>
    The date this episode was produced. It must be kept in this exact format, or your episodes will most likely end up in the wrong order.
  • <itunes:duration>59:12</itunes:duration>
    The duration of the episode, in hours:minutes:seconds. In this case the episode is 59 minutes and 12 seconds long. It's important to set this right, otherwise iTunes will list your episode as having no duration.
  • <itunes:keywords>Scotland, Aberdeen, Rain</itunes:keywords>
    Keywords applicable to the individual episode.
  • </item>
    </channel>
    </rss>
    These close the episode, channel, and XML file, respectively. Remember that after the closing item tag, and before the closing channel tag, you might have one or more item tags, each with their own title, description, enclosure etc. tags within them, and all describing seperate episodes.
This is pretty much a bare bones XML file, which as stated earlier, you could copy and paste into notepad, change the values so they are applicable to your podcast, save it as "podcast.xml" (or similar - just make sure that your filename ends ".xml" - in the "save as type" chooser in the "save as..." dialog box, you might want to change it to "*.*" instead of "*.txt", as this will ensure that notepad doesn't change the file extension), and upload to the web. This is the bare minimum of tags that are required to get your podcast into most podcasting directories, and iTunes, but there are other tags as well, these are listed in the Apple technical specifications here. Some of the iTunes tags just double up on tags that are already described here though, which is why I've chosen not to include them. iTunes is big enough and ugly enough to work out what should go where without you having to put the information in twice.

Next I'll take you through the process of validating your XML file to make sure it works in iTunes and other podcasting software, before we list it in the iTunes directory.

Step by Step: Making a Podcast, Pt. II

OK, yesterday we covered what a podcast actually is, and what it consists of. Today I'm going to give you some advice on sound files, then we'll cover the basics of creating your first XML file. Video podcasting is almost exactly the same, but I have no experience of it, so don't feel qualified to advise on the best filetypes for doing this. If you're video podcasting I'll give you some hints at what format to encode in later.

Creating your sound files:
I'm not going to go into the actual mechanics of creating your podcast programme itself, as I don't know what sound editor you've chosen to use (although there is some advice on how best to record DJ mixes in an earlier blog post). When you're recording, it's best to record a high-quality file, then we can make it lower quality (if need be) when we put it onto the 'net. It's not possible to make a high quality file out of a low quality recording, so at this stage in the process it's important to work at a fairly high recording quality. This will usually mean recording your podcasts in stereo, at 44.1Khz, 16bit. These are the settings you would choose in Adobe Audition to get this:

It's not totally necessary to know what these numbers mean, just that the higher these numbers, the more accurate the recording will be (the quality of the end recording obviously depends on other factors as well though, like the quality of the microphone and sound card you're using, as well as the amount of background noise whilst recording). The settings mentioned before are the same as CD quality sound, which is fine for this stage in the process.

Once you have your first programme recorded and ready to go, it's now time to compress it ready to put on the net. At the moment, you've probably got it saved as a Wav file (or maybe an Aiff file if you're using a Mac), but right now for every minute of audio, this file is taking up about 10 megabytes (Mb), so a 20 minute recording would weigh in at 200Mb. Obviously this is far too big for people to download, so we compress it to save them time, and you bandwidth charges. If we make this into an Mp3 file, we can keep roughly the same quality, but make the recording only take 1Mb for every minute of audio. This is clearly much better.

To produce my podcast, I encode my mp3 files at 128Kb/s, stereo, 44.1Khz, but you may want to use a lower/higher bitrate depending on how necessary it is to retain the original quality of the recording. I chose these settings, because for music, it still gives a fairly decent sound quality - if I were to choose a bitrate of 256Kb/s, the recording would not really be noticeably better, and would take twice as much bandwidth and twice as long for everybody to download. These are things that you need to be very aware of when creating these files. If you're using Adobe Audition to create your recordings, just go to file>save as... type a file name, then under "save as type" choose "mp3PRO (FhG) (*.mp3)".

Click the options button at the bottom of the window, and choose the "128Kbps Stereo (Internet)" preset from the list. If you want to make your final files higher or lower quality than this, now is the time to change these settings.

Now you have a file that people can listen to, but there's still a couple of things we need to do before we put it onto the internet...

Adding extra information to your sound files:
All we have so far is an mp3 file, with some audio in it, but mp3 files can also store a lot more information than just the audio in them - they also contain the name of the track, the artist and copyright information, and often some album artwork as well. It's usually a good idea to make sure that each of your podcast episodes contains this information in case it gets separated from the rest of the podcast for any reason, and also this is the information that will show up when it's played on an iPod or other portable mp3 player.

iTunes is fine for adding this information to your tracks, and the process is the same on both Macs and PCs, so I'll use this.
  1. Open iTunes up, then go to file>add file to library...
  2. Choose the mp3 file you saved, and click "open".
  3. You should now see the file you created in your iTunes library. (You may need to click "music on the left hand side of the iTunes window to bring up your library. If you can't find your file in the list, search for the filename using the search box in the top right hand corner of the window)
  4. Right-click on your file, and choose "Get Info" from the top of the menu. This will bring up all the information that this mp3 file contains in a summary.
  5. Click the "Info" tab at the top of this window, and you will be able to fill in the artist and title information. Make sure you put your email address in the comments field so that people know how to get in touch with you if they have comments on your podcast. Also be sure to choose a suitable genre for your podcast, if the genres already in iTunes don't fit the bill, don't be afraid of typing your own into this box. It's far better to have a fitting custom genre, than to label it "Pop" because it's the nearest fitting thing. Put the name of your podcast in the "Album" field.
  6. When you're done, click the "Artwork" tab at the top of the window, and click the "Add..." button. Choose a suitable picture to grace your recording with. This is the picture that will show up in iTunes whenever somebody plays your podcast, and on newer iPods. It's usually best to give each episode the same picture for consistency, and I'd recommend setting this as your podcast logo (if you don't already have one, I suggest you make one now - you'll need this to list your podcast in the iTunes directory). It looks best if this image is a square Jpeg file, but iTunes can cope with a rectangular one. My logos are 512x512 pixels in size.
  7. Click the OK button at the bottom of this window. iTunes will now save all the information you've just entered to the mp3 file. If it's a long recording, this can take a little while, so be patient.
Now your mp3 file is ready to upload! Upload it to anywhere on the web that will give you the space and bandwidth to put your files, next I'll show you how to make your XML file.

Monday, 25 June 2007

Step by Step: Making a Podcast, Pt. I



Ok, there seems to be a lot of information out there on the internet on making podcasts, but nothing that really makes a lot of sense - I basically had to cobble together information from a lot of different sources in order to get mine up and running, so I thought I'd make a guide on how to produce your own podcast from start to finish, including the all-important getting it in iTunes steps. I'll also show you how to make your accompanying textual information for each episode to look nice in not just iTunes, but HTML readers like Google Reader as well, which is becoming just as important as iTunes.

First I'll explain a little about what a podcast actually is, for people that don't know - a podcast is basically like an internet newsletter - every time a new issue is produced, your computer automatically downloads the latest one. The difference between a podcast and a newsletter though is that a podcast can contain audio and video, meaning that you can set your computer up to automatically put the newly downloaded episode onto your mp3 player (no, it doesn't have to be an iPod, although Apple have made all this very easy with their iTunes software). There are podcasts on virtually anything, from just simple audio/video blogs to your favorite bands and language courses, and the best thing is that most of them are free! The beauty over traditional streaming internet media is that once you've subscribed to a podcast you like, you don't really have to do anything else to get any new episodes as they're produced, they come to you!

What you will need to make your first podcast:
  • A text editor. Notepad will do, but if you want to use something more suited to web programming like Adobe Dreamweaver, it's up to you. I wouldn't recommend Microsoft Frontpage, as it seems to get in the way more than it helps you to do this.
  • A sound/video editor for creating the episodes. Personally I use Adobe Audition 1.5, version 2 is out now, but for what I do, a lot of the features aren't necessary. If you got Nero with your CD Burner or your computer, there's a sound editor built into it. You'll probably also need a microphone, or some other way of getting sound into your computer.
  • Some space on the internet somewhere. If you don't already have some, go to Googlepages for 100Mb free.
  • iTunes is helpful, but not essential (most people who listen to podcasts do so through iTunes, so making your podcast iTunes compatible will increase your listenership by a huge amount). iTunes is also free, and is useful for adding album artwork to your episodes.
Before we start on what goes on behind the scenes in a podcast, you need to think about what you're going to put on your podcast. Remember there are so many podcasts out there already, how are you going to set your's apart from any other that's out there? This is something that you should really try and work out before you start producing anything, if you have a clear creative focus, people will know what to expect from your podcast, and are more likely to subscribe to it.

Now a bit of information about what actually makes the magic of a podcast happen. A podcast consists of one XML file, and many sound/video files. You're probably already familiar with sound and video files on your computer, so I'll save you an explanation of that. An XML file is basically a contents file: it just tells the computers subscribed to the podcast the location of each sound/video file, plus a description of the content of the files. It's this file which we'll be concentrating mostly in this tutorial. You'll have come across XML files more than you think as you browse around the internet - any time you see this symbol in your web browser (at the end of the page address if you have Firefox, or usually on the button bar if you have Internet Explorer 7 (Microsoft have only just cottoned on to the fact that this is actually usful). If you click this icon in Firefox, you'll see a lot of the information that makes up the page, but without any of the formatting. You'll also be able to tell Firefox to subscribe to this information in Google Reader, meaning that every time the information is updated, it will get listed in your Google Reader, and you'll be able to get all your interesting stuff in one place, instead of having to go to 100 different websites for it. The XML file basically contains just the information on the site, without any formatting information, which means that the same file can be used in Google Reader, or your E-mail program, or your mobile phone. It's up to the software itself to decide how best to display this information. Even this blog has an XML file, automatically produced every time I write a new entry. If you were to subscribe to it in Google Reader, this is how it would appear:

All the information is the same, but it's presented in a much more structured and information-centric way (much like usenet groups used to be presented in days of yore, but with websites, instead of discussions), along with any other subscriptions listed to the left of the page, and without any of the website branding and images getting in the way.

Tomorrow I'll show you what a raw XML file looks like to us mere mortals, and how to create a podcast using this magical technology, for now, try going to a few of your favorite websites, and try subscribing to their feed by clicking the orange icon (if they have one), you never know, if you have a blog on the internet, you may have already created your own feed without realizing it!

On to Part 2...

Friday, 27 April 2007

Avril Lavigne is next to me...

In the iTunes charts that is. Right now I'm sandwiched between Avril and Tiesto. He keeps trying to get his grubby Dutch mitts on her, but I won't let him. Mwahahaha. Go take your sex festival elsewhere, you crazy Dutch bastard.

What I'm really trying to say of course, is that I'm higher than Dutchboy in the iTunes charts. You might as well pack your bags and go, old chum. Yeah, I'll play that show for you tonight, oh and if you wouldn't mind leaving that suitcase of cash as well.
Thanks very much.

Saturday, 21 April 2007

iPoo

Oh Ho Ho! Which piece of software has incurred my wrath today? It's everyone's favorite, iTunes! Yay! I put it back on my computer today, and presumably because it's been installed in the UK this time, it shows a completely different set of reviews for Ruforia than when I installed it in the US. Not only that, but the podcast charts are seperate as well! In the UK charts, Ruforia is currently #61, whereas it doesn't even register on the US charts.

I can understand them having seperate charts for paid music, but for free podcasts? And seperating the reviews just seems even stranger - surely 5*s means the same, regardless of the language the rest of the review is written in? (Yeah, that's a little cocky, I know ;)