

Sean & Paul discuss recent happenings in the PHP world.
Sorry all. We lost the comments for this entry. My bad. We're phpbb N00bs all over again. S
Hello there,
somehow, the enclosure urls as presented by the feed are incorrect as there is quite some junk following the mp3 file extension. Aside of the fact that itunes refuses to download files not ending in .mp3 or .aac, the provided links are not correct anyways.
What I did was to create this quick and dirty solution and directed iTunes to the output of that:
<?php
$fh = fopen('http://c7y.phparch.com/c/tag/podcast?feed=atom', 'r');
header('Content-Type: text/xml');
while(!feof($fh)){
$l = fgets($fh);
echo preg_replace('#/([0-9]+\.mp3)[0-9]+"#', '/$1"', $l);
}
fclose($fh);
?>
still - I - and probably other listeners would appreciate if you fixed the atom feed of the podcast :-)
Philip
PS: The preg_replace could probably be optimized a bit, but this was the quickest solution possible I could come up with - enough PHP for today - I want my dose of Mass Effect :p
Hi Philip, Nice catch! I changed the way this works on Monday, and I forgot that the feed transformer needed to know. Sorry about that; it's fixed now. S
I can't for the life of me figure out how to subscribe to this podcast via itunes... the only subscribe option I can find is the RSS feed icons, which trigger Google Reader. Is it possible to subscribe to this podcast using itunes?
Hi, Yes, you can subscribe via iTunes. The easiest way to do this is to right click on the feed link ( http://c7y.phparch.com/c/tag/podcast?feed=atom ) and "Copy URL" or "Copy Link" (depends on your browser). Then, switch over to iTunes, and from the "Advanced" menu, choose "Subscribe to Podcast." Paste in the podcast feed URL you copied, above, and iTunes should dutifully start downloading episodes for you. Hope that helps. (We're waiting for our submission to ITMS to go through so you'll be able to find it in the Podcast Directory within iTunes, as soon as they feel like approving it (or whatever they do... )-: )). S
That did it... I never noticed that option under Advanced... then again, I wouldn't have thought to look there either :P Thanks!
I'll be honest here, for the most part Apple has a "Clue" when it comes to desigining products. There's probably >$5K worth of apple hardware in my appartment. But there's some aspects of their software that I think either Microsoft, or some Open Source project snuck in and designed for them. Adding an iTunes feed, and their god awful XML design as cases in point.
Hi there, Is there any ETA on RSS support? I miss having my PSP find new content by itself :) (Ideally, the redirect from the old RSS URL should go to the new RSS feed, not the Atom feed).
RSS feeds coming up (probably on Wednesday). Code is in svn, now. S

