Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / inc / rssparse.php
1 <?php
2 error_reporting(0);
3 // include lastRSS library
4 include './lastRSS.php';
5
6 // create lastRSS object
7 $rss = new lastRSS;
8
9 // setup transparent cache
10 $rss->cache_dir = './cache';
11 $rss->cache_time = 3600; // one hour
12
13 // load some RSS file
14 if ($rs = $rss->get('http://h-k.sk/scripts/google2rss.php?num=15&q=smallpox')) {
15
16 print_r($rs);
17 }
18 else {
19 die ('Error: RSS file not found...');
20 }
21
22 ?>
23
This page took 0.328347 seconds and 4 git commands to generate.