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.7 2006-10-31 16:03:42 jp_milcent Exp $ |
// CVS : $Id: hb_rss.php,v 1.8 2006-11-07 17:28:21 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.7 $ $Date: 2006-10-31 16:03:42 $ |
*@version $Revision: 1.8 $ $Date: 2006-11-07 17:28:21 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
87,7 → 87,7 |
$aso_meta['titre'] = 'Flux des Organisations'; |
break; |
case 'collection' : |
$requete = 'SELECT DISTINCT ID AS id, NOM_COLLECTION AS titre, '. |
$requete = 'SELECT DISTINCT PARENT_ID AS id, NOM_COLLECTION AS titre, '. |
'DATE_DERNIERE_MODIF AS date_derniere_modif, U_NAME AS nom, U_SURNAME AS prenom '. |
'FROM HERBIERS_COLLECTION, '.HB_BDD_NOM_ANNUAIRE.'.annuaire_tela '. |
'WHERE CE_MODIFIER_PAR = U_ID '. |
166,7 → 166,7 |
$GLOBALS['_HERBIER_']['rss']['url']->addQueryString('type', $flux); |
$aso_infos['link'] = str_replace('&', '&', $GLOBALS['_HERBIER_']['rss']['url']->getURL()); |
$aso_infos['description'] = 'Flux RSS sur les '.$flux.'s.'; |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime(str_replace('$', '', str_replace('Date: ', '', '$Date: 2006-10-31 16:03:42 $')))); |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime(str_replace('$', '', str_replace('Date: ', '', '$Date: 2006-11-07 17:28:21 $')))); |
$tab_infos[] = $aso_infos; |
} |
} |
257,6 → 257,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.7 2006/10/31 16:03:42 jp_milcent |
* Correction rendu xhtml dans Papyrus. |
* |
* Revision 1.6 2006/10/31 15:33:15 jp_milcent |
* Gestion d'un rendu XHTML pour Papyrus. |
* |