From 46b0d09c0a4a4d42d66772c104982a495a8ddd6d Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 23 Sep 2010 16:58:59 +0300 Subject: [PATCH] README and some changes --- README.markdown | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.markdown diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..399f9df --- /dev/null +++ b/README.markdown @@ -0,0 +1,22 @@ +BassoFeed +--------- + +Class for you peeps to get your fav. shows upcoming showtime as an iCal-formatted feed. Includes crude caching so basso.fi won't get bombed too much, yo! + +Uses the awesome [simplehtmldom](http://simplehtmldom.sourceforge.net/) as basic scraping tool, you should too check it out. + +Usage +----- +To get, for example the awesome Alas-show's broadcast times you + + header('Content-Type: text/html; charset=utf-8'); + date_default_timezone_set('Europe/Helsinki'); + + require_once("simple_html_dom.php"); + require_once("bassofeed.php"); + + $basso_alas = new BassoFeed('alas'); + echo $basso_alas->get_ical(); + + + \ No newline at end of file