Who here is willing to help a PHP noob with what should be a simple task?
We want to build a semi-live playlist for our radio station, showing what songs are played hour-by-hour. The idea of typing each song in totally sucks, especially when sites like Yes.com are already monitoring the on-air stream and "fingerprinting" the songs.
We would just use the Yes.com feed, but there are two major problems with it: (1) It's riddled with affiliate links, and (2) we play lots of local music, which it does not recognize. So we need to be able to type in the 3-5 songs an hour it skips.
If you've got the kindness and the inclination, have a look at this:
http://www.yes.com/log/?station=WFPK&day=0&hour=7
To see, for instance, what I played in the 7 o'clock hour this morning. What we'd love to have is a PHP script that, once an hour, snags this page (with the hour= parameter adjusted for the hour that just ended - so, at 8:05 or thereabouts, it would grab the 7 o'clock hour), pull out just the pertinent info (artist, song title, time played), and write it to an editable format.
That editable format? Could be as simple as a text file, one for each hour. More ideally, I'd love it if it could write the results to a Wordpress entry, one blog post per hour, since WP inherently tracks the date of the post, and that would make it reaaallly easy to (a) add a clickable calendar to the site and (b) let jocks go back in and add the cuts that were skipped.
Am I kidding myself that this is a fairly simple task for PHP, if only one knows how to do it? (We're non-commercial radio, BTW, with a technical staff of 0, hence me posting here.)
posted by Blazecock Pileon at 12:36 PM on June 18, 2007