mirror of
https://github.com/ivuorinen/BassoFeed.git
synced 2026-01-26 11:34:01 +00:00
Updated readme to amplify content-type
This commit is contained in:
@@ -11,7 +11,7 @@ Usage
|
||||
-----
|
||||
To get, for example the awesome Alas-show's broadcast times you
|
||||
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
header('Content-Type: text/calendar; charset=utf-8');
|
||||
date_default_timezone_set('Europe/Helsinki');
|
||||
|
||||
require_once("simple_html_dom.php");
|
||||
@@ -20,4 +20,5 @@ To get, for example the awesome Alas-show's broadcast times you
|
||||
$basso_alas = new BassoFeed('alas');
|
||||
echo $basso_alas->get_ical();
|
||||
|
||||
The "new BassoFeed(_showname_)" comes from the url, in Alas' case it's http://www.basso.fi/radio/*alas*
|
||||
The "new BassoFeed(_showname_)" comes from the url, in Alas' case it's http://www.basso.fi/radio/*alas*
|
||||
The *Content-Type: text/calendar* -part is really important, use it!
|
||||
Reference in New Issue
Block a user