19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: hb_rss.php,v 1.3 2006-10-31 12:39:23 jp_milcent Exp $ |
// CVS : $Id: hb_rss.php,v 1.4 2006-10-31 12:42:00 jp_milcent Exp $ |
/** |
* Générateur de flux RSS pour les Herbiers |
* |
29,7 → 29,7 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* |
*@copyright Tela-Botanica 2000-2006 |
*@version $Revision: 1.3 $ $Date: 2006-10-31 12:39:23 $ |
*@version $Revision: 1.4 $ $Date: 2006-10-31 12:42:00 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
36,7 → 36,7 |
//==================================== LES FLUX RSS================================== |
// Constantes liées aux flux RSS |
//================================================================================== |
define('HBR_CREER_FICHIERS_XML',0);//0=ne cree pas le fichier XML dans rss/; 1=cree le fichier XML dans rss/ |
define('HBR_CREER_FICHIERS_XML', 0);//0=ne cree pas le fichier XML dans rss/; 1=cree le fichier XML dans rss/ |
define('HBR_RSS_NOMSITE','tela-botanica.org');//Nom du site indiqué dans les flux rss |
define('HBR_RSS_ADRESSESITE','http://www.tela-botanica.org');//Adresse Internet du site indiqué dans les flux rss |
define('HBR_RSS_DESCRIPTIONSITE','www.tela-botanica.org, pour mutualiser l\'information sur les Herbiers.'); //Description du site indiquée dans les flux rss |
105,7 → 105,7 |
$GLOBALS['_HERBIER_']['url_rss']->addQueryString('type', $flux); |
$aso_infos['link'] = str_replace('&', '&', $GLOBALS['_HERBIER_']['url_rss']->getURL()); |
$aso_infos['description'] = 'Modifié par '.$ligne['prenom'].' '.$ligne['nom'].' le '.$ligne['date_derniere_modif']; |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime(str_replace('$', '', str_replace('Date: ', '', '$Date: 2006-10-31 12:39:23 $')))); |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime(str_replace('$', '', str_replace('Date: ', '', '$Date: 2006-10-31 12:42:00 $')))); |
$tab_infos[] = $aso_infos; |
} |
} |
187,6 → 187,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.3 2006/10/31 12:39:23 jp_milcent |
* Modification de la gestion de la date des flux via les infos cvs. |
* |
* Revision 1.2 2006/10/31 12:38:12 jp_milcent |
* Début gestion des différents type de flux. |
* |