website logo
Auteur
avatar
coolzen0

Forum » » Questions » » Flux RSS


Posté : 08-12-2008 09:43 icone du post



function buildRSS($nb) {

// En-tête du flux RSS version 2.0
$xml = '<?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0">';
$xml .= '<channel><title>WESRA - Web ESR A</title><link>http://wesra.free.fr/</link>';
$xml .= '<description>WESRA - Web Encyclopedie  du Savoir Relatif et Absolu</description><la nguage>fr-fr</language><copyright>Copyright 2008 wesra .free.fr</copyright>';

// Ajout de la date actuelle de publicatio n (suivant la DTD RSS)
$xml .= '<lastBuildDate>'.date(
"D, d M Y H:i:s").' GMT</lastBuildDate>';



Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=24043&forum=9