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: herbier_rss.php,v 1.5 2006-10-31 15:33:15 jp_milcent Exp $ |
// CVS : $Id: herbier_rss.php,v 1.6 2006-10-31 16:03:42 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.5 $ |
*@version $Revision: 1.6 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
40,6 → 40,10 |
if (!isset($_REQUEST['appli'])) { |
$_REQUEST['appli'] = 'hb_rss'; |
} |
// Gestion de l'url d'appel des flux hors de Papyrus |
// TODO : voir pourquoi le contenu de $GLOBALS['_HERBIER_']['rss']['url'] est vide dans hb_rss.php |
$chemin = str_replace($_SERVER['DOCUMENT_ROOT'], '', dirname(realpath(__FILE__)).DIRECTORY_SEPARATOR); |
$GLOBALS['_HERBIER_']['rss']['url'] = 'http://'.$_SERVER['HTTP_HOST'].$chemin.basename(__FILE__); |
|
// +------------------------------------------------------------------------------------------------------+ |
// | CORPS du PROGRAMME | |
52,6 → 56,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.5 2006/10/31 15:33:15 jp_milcent |
* Gestion d'un rendu XHTML pour Papyrus. |
* |
* Revision 1.4 2006/10/31 15:19:15 jp_milcent |
* Amélioration de la gestion des Herbiers hors de Papyrus. |
* |