WordPress RSS 2.0 feeds parsed incorrectly
Status: Beta
Brought to you by:
kellan
When parsing RSS feeds from WordPress there is a string catenation error in MagpieRSS that causes the item content to be stored as "Array" string instead of the actual content.
To fix this, change the "concat" method of rss_parse.inc to following:
function concat (&$str1, $str2="") {
if (!isset($str1) ) {
$str1="";
}
if (is_array($str1))
{
$str1[] = $str2;
return;
}
$str1 .= $str2;
}
This will ensure Magpie doesn't try to incorrectly catenate strings on top of arrays.