Ciao ho risolto da solo :adhone: ... ho modificato la libreria aggiungendo pubdate come quinto parametro...
Cmq se non sbaglio ci dovrebbe essere un errore nel codice per quanto riguarda l'immagine:
Codice PHP:
//Image
if( $this->image['title'] and $this->image['url'] and $this->image['link'] ){
$out .= "<image>\n" .
"<title>" . $this->image['title'] . "</title>\n" .
"<url>" . $this->image['url'] . "</url>\n" .
"<link>" . $this->image['link'] . "</link>\n";
if( $this->image['description'] ){
$out .= "<description>" . $this->image['description'] . "</description>\n";
}
if( $this->image['w'] and $this->image['h'] ){
$out .= "<width>" . $this->image['w'] . "</width>\n" .
"<height>" . $this->image['h'] . "</height>\n";
}
}
manca la chiusura di image... ho corretto così
Codice PHP:
//Image
if( $this->image['title'] and $this->image['url'] and $this->image['link'] ){
$out .= "<image>\n" .
"<title>" . $this->image['title'] . "</title>\n" .
"<url>" . $this->image['url'] . "</url>\n" .
"<link>" . $this->image['link'] . "</link>\n";
if( $this->image['description'] ){
$out .= "<description>" . $this->image['description'] . "</description>\n";
}
if( $this->image['w'] and $this->image['h'] ){
$out .= "<width>" . $this->image['w'] . "</width>\n" .
"<height>" . $this->image['h'] . "</height>\n";
}
$out .= "</image>\n";
}
Se può essere utile posso postare tutta la classe con le modifiche per pubDate
ciao