Commit | Line | Data |
---|---|---|
b3399798 | 1 | <?php |
2 | #dissabled for now, broken | |
3 | ||
4 | #// include lastRSS library | |
5 | #include './lastRSS.php'; | |
6 | # | |
7 | #// create lastRSS object | |
8 | #$rss = new lastRSS; | |
9 | # | |
10 | #// setup transparent cache | |
11 | #$rss->cache_dir = './cache'; | |
12 | #$rss->cache_time = 3600; // one hour | |
13 | # | |
14 | #// load some RSS file | |
15 | #// XXX | |
16 | #if ($rs = $rss->get('http://h-k.sk/scripts/google2rss.php?num=15&q=smallpox')) { | |
17 | # | |
18 | #print_r($rs); | |
19 | #} | |
20 | #else { | |
21 | # die ('Error: RSS file not found...'); | |
22 | #} | |
23 | ||
24 | ?> | |
25 |