« Not too many good movies
Bush vs Kerry »


iPodders podcast on Webmaster Cookbook show #9

Posted by ChefTD on Oct 7, 2004

Good news for those who can’t make the live show each week. We just added the ability to start including RSS enclosures for iPodders to listen to each week’s radio show in full and to date without any editing. All new shows will have the RSS enclosures as part of the Official Menu at the conclusion of the weekly Live show. These are 8-9MB MP3 files typically. This post has the enclosure for our most recent broadcast: show #9. Enjoy!

Update: It seems like there might be some trouble with the current scheme I’m using. Here’s the story: the only problem I have with this RSS enclosure scheme is leaving the mp3 files in public areas.

Instead, I would like to put them in a non-public directory and serve them up via a PHP script gateway (and logger so I can run stats on them without having to scrape the access logs) but this doesn’t seem to be compatible (yet) with the most recent version of iPodder.

It will create the directory but not transfer the file unfortunately. I can download the MP3s through both Firefox and Internet Explorer, but cannot load them up through iPodder as an RSS enclosure in the blog.

Anybody reading this that might know any of the iPodder developers directly please pass this along. I’m going to try and contact them through Sourceforge. Here’s an example of the feed with enclosure that currently doesn’t work through iPodder: http://www.webmastercookbook.com/wp-rss2.php

The link to the enclosure directly is here

5 Comments »

Erik:

Thanks, it’s a bug allright. iPodder now only works with rss-streams where all the items have an enclosure. Your stream only has an enclosure in the first item. The feedparser throws an exception when we want to read the enclosure of the next. Consider it fixed in the next release. For now solution is to setup a different stream for your enclosures.

October 8th, 2004 | 2:05 am
Erik:

forget previous post, it does parse so the rss is fine. i think it has something to do with this
link http://www.webmastercookbook.com/dl.php?id=1

thanks again, but i have no solution yet sorry.

October 8th, 2004 | 2:19 am
Erik:

problem solved: the ipodder can’t deduce a name from your url, try to point it to a real file.

downloading - http://www.webmastercookbook.com/dl.php?id=1
Traceback (most recent call last):
File “iPodder.py”, line 552, in ?
ipodder.start(-1, -1)
File “iPodder.py”, line 516, in start
self.downloadcontent()
File “iPodder.py”, line 431, in downloadcontent
tinfo = urllib.urlretrieve(enc, prefix+filename, self.progress)
File “c:\python23\lib\urllib.py”, line 83, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File “c:\python23\lib\urllib.py”, line 216, in retrieve
tfp = open(filename, ‘wb’)
IOError: [Errno 2] No such file or directory: u’downloads\Webmaster Cookbook\dl.php?id=1′

October 8th, 2004 | 2:23 am
TDavid:

Hi Erik — that is a real file. You can download it yourself from your browser if you’d like. What happens is it redirects to the actual location to include the file.

Thanks for including the Python code, I’ll see if I can work this out on my end and get back with you.

October 8th, 2004 | 5:28 am
TDavid:

BTW, for reference, I created a separate RSS feed for the podcasts only here: http://www.webmastercookbook.com/wmcookbook_podcasts.xml

October 8th, 2004 | 8:43 am
Leave a Reply

Comment