X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Frssparse.php;fp=wwwroot%2Finc%2Frssparse.php;h=1ebb4dbda2ae353b6f49c18b28d50e2dc53c8644;hb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;hp=0000000000000000000000000000000000000000;hpb=dcee763368a1e3f380d07320a5254d91a09304e6;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/rssparse.php b/wwwroot/inc/rssparse.php new file mode 100644 index 0000000..1ebb4db --- /dev/null +++ b/wwwroot/inc/rssparse.php @@ -0,0 +1,23 @@ +cache_dir = './cache'; +$rss->cache_time = 3600; // one hour + +// load some RSS file +if ($rs = $rss->get('http://h-k.sk/scripts/google2rss.php?num=15&q=smallpox')) { + +print_r($rs); +} +else { + die ('Error: RSS file not found...'); +} + +?> +