RSS 2.0 is broken, I mean XML is not valid.
If I look at the XML result, I see near the end :
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/free.fr/1/5/fgilles/s9y0.8cvs/include/functions_entries.inc.php</b> on line <b>770</b>
If I have a look at $entrie array provided to serendipity_printEntries_rss() function, I see that :
Code: Select all
print_r($entrie) => Array
(
[0] => Array
(
[0] => 23
[id] => 23
[...]
[display_dat] => xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
)
serendipity_printEntries_rss() does a foreach() on that $entrie array, so it fails on the last entry witch is not an entry
I did a workaround replacing foreach ($entries as $entry) line 687 with :
Code: Select all
foreach ($entries as $__k => $entry) {
if(!is_numeric($__k))
break;
Florent aka Kzar