Subversion Repositories Applications.projet

Rev

Rev 58 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
56 alexandre_ 1
<?php
2
<?php
3
/*vim: set expandtab tabstop=4 shiftwidth=4: */
4
// +------------------------------------------------------------------------------------------------------+
5
// | PHP version 4.1                                                                                      |
6
// +------------------------------------------------------------------------------------------------------+
7
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org)                                         |
8
// +------------------------------------------------------------------------------------------------------+
9
// | This library is free software; you can redistribute it and/or                                        |
10
// | modify it under the terms of the GNU Lesser General Public                                           |
11
// | License as published by the Free Software Foundation; either                                         |
12
// | version 2.1 of the License, or (at your option) any later version.                                   |
13
// |                                                                                                      |
14
// | This library is distributed in the hope that it will be useful,                                      |
15
// | but WITHOUT ANY WARRANTY; without even the implied warranty of                                       |
16
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU                                    |
17
// | Lesser General Public License for more details.                                                      |
18
// |                                                                                                      |
19
// | You should have received a copy of the GNU Lesser General Public                                     |
20
// | License along with this library; if not, write to the Free Software                                  |
21
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// +------------------------------------------------------------------------------------------------------+
23
// CVS : $Id: projetRSS.php,v 1.1 2005-10-25 13:50:34 alexandre_tb Exp $
24
/**
25
* Générateur de flux RSS à partir du bazar
26
*
27
*@package bazar
28
//Auteur original :
29
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*
31
*@copyright     Tela-Botanica 2000-2004
32
*@version       $Revision: 1.1 $
33
// +------------------------------------------------------------------------------------------------------+
34
*/
35
 
36
// +------------------------------------------------------------------------------------------------------+
37
// |                                            ENTETE du PROGRAMME                                       |
38
// +------------------------------------------------------------------------------------------------------+
39
 
40
include_once 'configuration/projet.inc.php'; //fichier de configuration de Bazar
41
include_once 'bibliotheque/projet.fonct.rss.php'; //fichier des fonctions RSS de Bazar
42
 
43
// +------------------------------------------------------------------------------------------------------+
44
// |                                            CORPS DU PROGRAMME                                        |
45
// +------------------------------------------------------------------------------------------------------+
46
 
47
if (isset($_GET['domaine'])) {
48
	$domaine=$_GET['domaine'];
49
}
50
else {
51
	$domaine='';
52
}
53
if (isset($_GET['nbitem'])) {
54
	$nbitem=$_GET['nbitem'];
55
}
56
else {
57
	$nbitem='';
58
}
59
if (isset($_GET['liste'])) {
60
	$liste=$_GET['liste'];
61
}
62
else {
63
	$liste='';
64
}
65
 
66
echo html_entity_decode(gen_RSS($domaine, $nbitem, $liste));
67
 
68
 
69
/* +--Fin du code ----------------------------------------------------------------------------------------+
70
*
71
* $Log: not supported by cvs2svn $
72
*
73
* +-- Fin du code ----------------------------------------------------------------------------------------+
74
*/
75
?>