Subversion Repositories Applications.papyrus

Rev

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

Rev Author Line No. Line
572 alexandre_ 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
// +------------------------------------------------------------------------------------------------------+
577 florian 22
// CVS : $Id: projetRSS.php,v 1.2 2005-10-28 07:34:32 florian Exp $
572 alexandre_ 23
/**
24
* Générateur de flux RSS à partir du bazar
25
*
26
*@package bazar
27
//Auteur original :
28
*@author        Alexandre Granier <alexandre@tela-botanica.org>
29
*
30
*@copyright     Tela-Botanica 2000-2004
577 florian 31
*@version       $Revision: 1.2 $
572 alexandre_ 32
// +------------------------------------------------------------------------------------------------------+
33
*/
34
 
35
// +------------------------------------------------------------------------------------------------------+
36
// |                                            ENTETE du PROGRAMME                                       |
37
// +------------------------------------------------------------------------------------------------------+
38
 
39
include_once 'configuration/projet.inc.php'; //fichier de configuration de Bazar
40
include_once 'bibliotheque/projet.fonct.rss.php'; //fichier des fonctions RSS de Bazar
41
 
42
// +------------------------------------------------------------------------------------------------------+
43
// |                                            CORPS DU PROGRAMME                                        |
44
// +------------------------------------------------------------------------------------------------------+
45
 
46
if (isset($_GET['domaine'])) {
47
	$domaine=$_GET['domaine'];
48
}
49
else {
50
	$domaine='';
51
}
52
if (isset($_GET['nbitem'])) {
53
	$nbitem=$_GET['nbitem'];
54
}
55
else {
56
	$nbitem='';
57
}
58
if (isset($_GET['liste'])) {
59
	$liste=$_GET['liste'];
60
}
61
else {
62
	$liste='';
63
}
64
 
65
echo html_entity_decode(gen_RSS($domaine, $nbitem, $liste));
66
 
67
 
68
/* +--Fin du code ----------------------------------------------------------------------------------------+
69
*
70
* $Log: not supported by cvs2svn $
577 florian 71
* Revision 1.1  2005/10/25 13:50:34  alexandre_tb
72
* version initiale
572 alexandre_ 73
*
577 florian 74
*
572 alexandre_ 75
* +-- Fin du code ----------------------------------------------------------------------------------------+
76
*/
77
?>