Cleared upload_data , commented out "gallery" feature, commented out jabber from...
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / rssparse.php
CommitLineData
51ff3226 1<?php
51ff3226 2// include lastRSS library
3include './lastRSS.php';
4
5// create lastRSS object
6$rss = new lastRSS;
7
8// setup transparent cache
9$rss->cache_dir = './cache';
10$rss->cache_time = 3600; // one hour
11
12// load some RSS file
f2e47e33 13// XXX
51ff3226 14if ($rs = $rss->get('http://h-k.sk/scripts/google2rss.php?num=15&q=smallpox')) {
15
16print_r($rs);
17}
18else {
19 die ('Error: RSS file not found...');
20}
21
22?>
23
This page took 0.198715 seconds and 4 git commands to generate.