I'm interested in podcasting. My only worry is how to create an xml file to give all the information about the audio file.
If you're trying to make one compatible with iTunes's format, what you need is a species of RSS XML. Apple's website gives as good a description of it as you probably need: Look here.
Here, I'll give you a template. The XML file begins with something like this:
There follows any number of items, which look like this:
And the file ends after all the items like this:
Perhaps you're wondering how to extract the information you need from the file itself. Assuming its id3v2 metadata tag is in good shape you can use id3v2 commandline too for some of it, e.g., I use:
to get the title of the track. (where $file is set to the filename).
To get the filesize, I use:
To get the duration, I use:
To get the current date in a suitable format for the date fields:
|show 1 more comment|
xml files: Can I use openoffice to create such a file? If yes, which one? As I can save in two different xml formats.
If all you want to do is put up a podcast and not write your own podcast hosting software, you might want to consider either a hosting service like libsyn or setting up your own WordPress installation with the PodPress or PowerPress plug-in.