I-PHPodder

I spend my saturday writing a very simple script that would work somehow like Adam Curry’s i-podder script as far as i understand it (I don not have a mac..)
Because i’m an internet developer and do my everyday coding in php i decided to use php. It’s not a brilliant peace of work but it does the job. I decided to call it i-phpodder ;-)
The script scans rss-feeds for mp3-links included in the description-tag and downloads these mp3-files to your local-disk.

so here’s version 0.01 of I-phpodder

There are two files in the zip:
1. i_phpodder.php
2. i_phpodder_feeds.db

The first one is the script itself and you should not have to change anything in there. In the second one you type the rss-feeds that you would like to be searched and the destination-folder for the downloaded mp3’s:

http://live.curry.com/rss.xml|N:curry
http://radio.weblogs.com/0100368/rss.xml|N:gilchrist

Make sure you place those in the same directory and that that directory is writable cause the first time you run the script its going to create a third file called i_phpodder_memory.db in which the names of downloaded items are placed to prevent you from downloading the same file multiple times.

php.ini - settings
Because the downloads will take some time the normal setting of max_execution_time (default = 30 secs) will not do. I changed it to 100000 just to be sure

ok, allready told you that the script is not perfect so i’m open for suggestions!

Greetz, Pieter Overbeeke

5 Responses to “I-PHPodder”

  1. Bernard Flach Weblog » i-Podder script Says:
    […] n sourcecode om binnen Delphi ook een iPodder script te maken. Scheelt weer tijd )))) trackback : http://www.ipportunities.nl/wordpress/wp-trackback.php/9 Comments » The URI to TrackBack this entry is […]

  2. Neo Says:

  3. BMCaleb Says:

    Excellent site, added to favorites!!
    adult

    I am sorry if it to you not interestingly.

  4. Robert Says:

    I like everything positive. I’m on this website since the first day of its existence and I have never seen anything negative on it. This website is made by people, who think positive and who have many things to tell others. I love this website, I always get positive emotions from it and I can stay here the whole days and nights!

  5. delicious mark hubery Says:

    Blog Hopper…

    Hi There. I’m blog hopping….

Leave a Reply