28 Oct 2010, 17:36
28 Oct 2010, 18:51
28 Oct 2010, 19:01
28 Oct 2010, 22:42
29 Oct 2010, 08:39
29 Oct 2010, 08:55
mysql_query("SET NAMES UTF8");
29 Oct 2010, 09:17
29 Oct 2010, 10:37
<?php
include ("includes/connection.php");
mysql_connect($url_db, $login, $password);
mysql_select_db($table);
$titre = $donnees['titre'];
$contenu = $donnees['titre'];
?>
<?php
$rss.='<?xml version="1.0" encoding="utf-8"?>';
$rss.='<rss version="2.0">';
$rss.='<channel>';
$rss.='<title>****.free.fr|RSS</title>';
$rss.='<link>http://****.free.fr</link>';
$rss.='<description>Les dernières nouveautés de ****.free.fr </description>';
$retour = mysql_query('SELECT * FROM news ORDER BY id DESC LIMIT 0,5');
while ($donnees = mysql_fetch_array($retour));
$rss.='<item>';
$rss.='<title>';
$rss.= echo $titre;
$rss.='</title>';
$rss.='<description>';
$rss.= echo $contenu ;
$rss.='</description>';
$rss.='</item>';
$rss.='</channel>';
$rss.='</rss>';
echo $rss;
?>
29 Oct 2010, 21:41
<?php
include ("includes/connection.php");
mysql_connect($url_db, $login, $password);
mysql_select_db($table);
$titre = $donnees['titre'];
$contenu = $donnees['titre'];
$rss.='<?xml version="1.0" encoding="utf-8"?>';
$rss.='<rss version="2.0">';
$rss.='<channel>';
$rss.='<title>monsite.free.fr|RSS</title>';
$rss.='<link>http://monsite.free.fr</link>';
$rss.='<description>Les dernières nouveautés de monsite.free.fr </description>';
$rss.='<image>';
$rss.='<url>http://monsite.free.fr/minibanniere.gif</url>';
$rss.='<link>http://monsite.free.fr/</link>';
$rss.='</image>';
$retour = mysql_query('SELECT * FROM news ORDER BY id DESC LIMIT 0,5');
while ($donnees = mysql_fetch_array($retour)){
$rss.='<item>';
$rss.='<title>'.$titre.'</title>';
$rss.='<description>'.$contenu.'</description>';
$rss.='</item>';
}
$rss.='</channel>';
$rss.='</rss>';
echo $rss;
?>
<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>monsite.free.fr|RSS</title><link>http://monsite.free.fr</link><description>Les dernières nouveautés de monsite.free.fr </description><image><url>http://monsite.free.fr/minibanniere.gif</url><link>http://monsite.free.fr/</link></image><item><title></title><description></description></item></channel></rss>
30 Oct 2010, 14:00
<?php
include ("includes/connection.php"); //connection
mysql_connect($url_db, $login, $password);
mysql_select_db($table);
mysql_query("SET NAMES UTF8");
$titre = $donnees['titre'];
$contenu = $donnees['contenu'];
$retour = mysql_query('SELECT * FROM news ORDER BY id DESC LIMIT 0,5');
$rss.='<?xml version="1.0" encoding="utf-8"?>';
$rss.='<rss version="2.0">';
$rss.='<channel>';
$rss.='<title>RSS</title>';
$rss.='<link>http://monsite.fr.free.fr</link>';
$rss.='<description></description>';
$rss.='<image>';
$rss.='<url>http://monsite.fr.free.fr/minibanniere.gif</url>';
$rss.='<link>http://monsite.fr.free.fr/</link>';
$rss.='</image>';
while ($donnees = mysql_fetch_array($retour))
{
$rss.='<item>';
$rss.='<title>';
echo $donnees['titre'];
$rss.='</title>';
$rss.='<description>';
echo $donnees['contenu'];
$rss.='</description>';
$rss.='</item>';
}
$rss.='</channel>';
$rss.='</rss>';
echo $rss;
?>
Retourverslefutur.com participe au Programme Partenaires d’Amazon EU, un programme d’affiliation publicitaire conçu pour permettre à des sites de percevoir une rémunération grâce à la création de liens vers Amazon.fr. |