Tuesday, October 16, 2007

Audio file tracking

If you look closely at the source code for the RSS podcast feeds that we create, you will notice that the addresses for the enclosed audio files have changed. They now look something like http://feed.scripturecast.net/a/?id=###. These URLs will redirect to the actual audio file from the source site. They also allow us to keep usage statistics on the audio files.

There is a rate chance that some pod-catchers will re-download the audio files.

2 comments:

jacob said...

I had to reverse the change because iTunes wasn't picking up the audio files. Probably 'cause they didn't end in .mp3, so I'll probably try again later with a mod_rewrite hack!

jacob said...

I've re-enabled the feature, but now audio files will look like http://feed.scripturecast.net/audio/###.mp3

Again, it just does a re-direct to the audio files from the original source. It also keeps track in the database the count of the number of accesses to a particular file... for statistics sake!