allora, supponendo di dover realizzare questo rss che ho preso da http://www.xml.com/pub/a/2002/12/18/...ml.html?page=2
codice:
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>XML.com</title>
<link>http://www.xml.com/</link>
<description>XML.com features a rich mix of information and services for the XML community.</description>
<language>en-us</language>
<item>
<title>Normalizing XML, Part 2</title>
<link>http://www.xml.com/pub/a/2002/12/04/normalizing.html</link>
<description>In this second and final look at applying relational normalization techniques .</description>
<dc:creator>Will Provost</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
<item>
<title>The .NET Schema Object Model</title>
<link>http://www.xml.com/pub/a/2002/12/04/som.html</link>
<description>Priya Lakshminarayanan describes in detail the use of the .NET Schema Object Model.</description>
<dc:creator>Priya Lakshminarayanan</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
<item>
<title>SVG's Past and Promising Future</title>
<link>http://www.xml.com/pub/a/2002/12/04/svg.html</link>
<description>In this month's SVG column, Antoine Quint looks back at SVG's journey .</description>
<dc:creator>Antoine Quint</dc:creator>
<dc:date>2002-12-04</dc:date>
</item>
</channel>
</rss>
ci troveremmo con il problema di dover fornire un output identico tramite php.
il primo passo è quello di crearsi un database consono. Semplificando MOLTO diciamo che dovresti avere almeno una tabella per memorizzare le news con un campo per il titolo della news, uno per il linkj, uno per il testo esteso, uno per l'autore ed uno per la data di creazione.
quindi il tuo PHP potrebbe essere una cosa del genere
codice:
<?php
//ALCUNE VARIABILI
$titolo = "titolo del canale";
$link_channel = "http://www.miosito.com";
$desc_channel = "Descrizione del canale";
$lingua = "en-us"; //oppure italiano francese etc
//incomincio a creare la dichiarazione del documento etc etc
echo "<rss version=\"2.0\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">".
"<channel>".
"<title>".$titolo."</title>".
"<description>".$desc_channel."</description>".
"<language>".$lingua."</language>";
//recupero le news dal db on una quesry di questo tipo
$sql = "SELECT titolo, link, descrizione, autore, data FROM TABELLA_RSS ";
//eseguo la query ed ottendo un risultato:
mysql_connect("hostname", "user", "password");
mysql_select_db("miodb");
$ris = mysql_query($sql);
//quindi scrivo tutte le news che ho ottenuto
while ($row = mysql_fetch_object($ris)) {
echo "<item>".
"<title>".$row->titolo."</title>".
"<link>".$row->link."</link>".
"<description>".$row->descrizione."</description>".
"<dc:creator>".$row->autore."</dc:creator>".
"<dc:date>".$row->data."</dc:date>". //per la data, prima bisognerebbe trasformarla in formato europeo
"</item>";
}
//libero la memoria
mysql_free_result($ris);
//chiudo il tutto
echo "</channel>";
echo "</rss>";
?>
ora, non l'ho provato, perchè su questo pc non ho un server attivo, ma diciamo che "potrebbe" funzionare.
Naturalmente è tuto da sviluppare (gestione errori etc etc)

p.s.
mi sa che sta cosa è orrendamente OFF topic, mi scuso con i mods