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: bazar.fonct.rss.php,v 1.79 2007-04-19 14:57:41 alexandre_tb Exp $ |
// CVS : $Id: bazar.fonct.rss.php,v 1.80 2007-04-20 09:57:21 florian Exp $ |
/** |
* |
*@package bazar |
28,7 → 28,7 |
*@author Florian Schmitt <florian@ecole-et-nature.org> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2006 |
*@version $Revision: 1.79 $ |
*@version $Revision: 1.80 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
688,7 → 688,7 |
$xml .= "\r\n "; |
$xml .= XML_Util::createStartElement ('channel'); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('title', null, utf8_encode(html_entity_decode($nomflux))); |
$xml .= XML_Util::createTag ('title', null, html_entity_decode($nomflux)); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('link', null, BAZ_RSS_ADRESSESITE); |
$xml .= "\r\n "; |
712,7 → 712,7 |
$xml .= "\r\n "; |
$xml .= XML_Util::createStartElement ('image'); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('title', null, utf8_encode(html_entity_decode(BAZ_RSS_NOMSITE))); |
$xml .= XML_Util::createTag ('title', null, BAZ_RSS_NOMSITE); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('url', null, BAZ_RSS_LOGOSITE); |
$xml .= "\r\n "; |
725,19 → 725,19 |
$xml .= "\r\n "; |
$xml .= XML_Util::createStartElement ('item'); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('title', null, utf8_encode(html_entity_decode(($ligne['bf_titre'])))); |
$xml .= XML_Util::createTag ('title', null, html_entity_decode(($ligne['bf_titre']))); |
$xml .= "\r\n "; |
$lien=$GLOBALS['_BAZAR_']['url']; |
$lien->addQueryString('action', BAZ_VOIR_FICHE); |
$lien->addQueryString('id_fiche', $ligne['bf_id_fiche']); |
$xml .= XML_Util::createTag ('link', null, utf8_encode(html_entity_decode($lien->getURL()))); |
$xml .= XML_Util::createTag ('link', null, $lien->getURL()); |
$xml .= "\r\n "; |
$xml .= XML_Util::createTag ('guid', null, utf8_encode(html_entity_decode($lien->getURL()))); |
$xml .= XML_Util::createTag ('guid', null, $lien->getURL()); |
$xml .= "\r\n "; |
$xml .= XML_Util::createStartElement ('description'); |
$xml .= "\r\n "; |
if ($_GET['action'] != BAZ_VOIR_TOUTES_ANNONCES) { |
$xml .= XML_Util::createCDataSection ( utf8_encode(html_entity_decode(($ligne['bf_description'])))); |
$xml .= XML_Util::createCDataSection ( html_entity_decode(($ligne['bf_description']))); |
} |
$xml .= "\r\n "; |
$xml .= XML_Util::createEndElement ('description'); |
1016,7 → 1016,8 |
$GLOBALS['_BAZAR_']['url']->addQueryString('action',BAZ_VOIR_FLUX_RSS); |
$GLOBALS['_BAZAR_']['url']->addQueryString('annonce',$GLOBALS['_BAZAR_']['id_typeannonce']); |
if ($GLOBALS['_BAZAR_']['categorie_nature']!=0) $GLOBALS['_BAZAR_']['url']->addQueryString('categorie_nature',$GLOBALS['_BAZAR_']['categorie_nature']); |
$res .= '{{Syndication titre="Dernières actualités" url="'.$GLOBALS['_BAZAR_']['url']->getURL().'" nb=10 nouvellefenetre=0 formatdate="'.BAZ_FORMAT_DATE_DEFAUT.'"}}'; |
$res .= '{{Syndication titre="Dernières actualités" url="'.$GLOBALS['_BAZAR_']['url']->getURL().'" nb=10 nouvellefenetre=0 formatdate="'.BAZ_TYPE_AFFICHAGE_LISTE.'"}}'; |
echo '{{Syndication titre="Dernières actualités" url="'.$GLOBALS['_BAZAR_']['url']->getURL().'" nb=10 nouvellefenetre=0 formatdate="'.BAZ_TYPE_AFFICHAGE_LISTE.'"}}'; |
} |
} |
|
1176,7 → 1177,10 |
|
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* $Log: not supported by cvs2svn $ |
* Revision 1.79 2007/04/19 14:57:41 alexandre_tb |
* merge |
* |
* Revision 1.77 2007/04/04 15:15:22 neiluj |
* débug pour nom wiki |
* |