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.9 2007-08-22 14:34:04 jp_milcent Exp $ |
// CVS : $Id: hb_rss.php,v 1.10 2007-11-23 10:04:12 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.9 $ $Date: 2007-08-22 14:34:04 $ |
*@version $Revision: 1.10 $ $Date: 2007-11-23 10:04:12 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
137,7 → 137,7 |
$aso_infos['title'] = $ligne['titre_prenom'].' '.$ligne['titre_nom']; |
$aso_infos['link'] = str_replace('&', '&', sprintf($url, 32, $ligne['id_org'], $ligne['id_equipe'])); |
$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', $ligne['date_derniere_modif']); |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime($ligne['date_derniere_modif'])); |
break; |
case 'note' : |
if ($ligne['titre'] != '') { |
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: 2007-08-22 14:34:04 $')))); |
$aso_infos['pubdate'] = strftime('%d %b %Y %H:%M:%S GMT', strtotime(str_replace('$', '', str_replace('Date: ', '', '$Date: 2007-11-23 10:04:12 $')))); |
$tab_infos[] = $aso_infos; |
} |
} |
257,6 → 257,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.9 2007-08-22 14:34:04 jp_milcent |
* Correction problème : même nom de fonction que dans Bazar... |
* |
* Revision 1.8 2006-11-07 17:28:21 jp_milcent |
* Correction concernant les urls des collections. |
* |