Line 14... |
Line 14... |
14 |
// +------------------------------------------------------------------------------------------------------+
|
14 |
// +------------------------------------------------------------------------------------------------------+
|
15 |
*/
|
15 |
*/
|
16 |
define('MAGPIE_DIR', 'api/syndication_rss/magpierss/');
|
16 |
define('MAGPIE_DIR', 'api/syndication_rss/magpierss/');
|
17 |
define('MAGPIE_CACHE_DIR', 'tmp/magpie_cache');
|
17 |
define('MAGPIE_CACHE_DIR', 'tmp/magpie_cache');
|
18 |
define('MAGPIE_CACHE_ON', true);
|
18 |
define('MAGPIE_CACHE_ON', true);
|
19 |
define('RSS_URL', 'http://www.tela-botanica.org/actu/backend.php3');//http://www.tela-botanica.org/actu/backend.php3
|
19 |
define('RSS_URL', 'http://www.gentiana.org/page:actu_rss');//http://www.tela-botanica.org/actu/backend.php3
|
20 |
define('RSS_DESCRIPTION_LONGUEUR', 200);
|
20 |
define('RSS_DESCRIPTION_LONGUEUR', 200);
|
21 |
require_once MAGPIE_DIR.'rss_fetch.inc';
|
21 |
require_once MAGPIE_DIR.'rss_fetch.inc';
|
22 |
require_once 'accueil/class.html2text.inc';
|
22 |
require_once 'accueil/class.html2text.inc';
|
23 |
$rss = fetch_rss(RSS_URL);
|
23 |
$rss = fetch_rss(RSS_URL);
|
24 |
function recupererImage($txt)
|
24 |
function recupererImage($txt)
|