Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

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