Support » How-To and Troubleshooting » Parsing RSS Feeds

Parsing RSS Feeds

  • Hi, I have been parsing RSS feeds from a wordpress blog for the last couple of weeks and everything seemed to be working fine. But today I am receiving errors.

    I am using MagpieRSS. All feeds are valid and not sure why the stopped working.

    Here is an error that I have received.

    Warning: MagpieRSS: Failed to parse RSS file. (Mismatched tag at line 310, column 19) in xxx on line 238 Warning: array_slice() expects parameter 1 to be array, null given in xxx on line 56
    Warning: Invalid argument supplied for foreach() in xxx on line 58


Viewing 6 replies - 1 through 6 (of 6 total)
  • Anyone??

    Looks to me like the 2.8 update breaks RSS feeds. From a quick run-through of the code, they’ve moved wp-includes/widgets.php to wp-includes/default-widgets.php and added some SimplePie-specific things to the RSS feed handling in wp_widget_rss_output().

    Hopefully someone will fix it soon…

    Edit: Should have mentioned that I did the automatic upgrade.

    We’re having huge problems parsing RSS feeds from wordpress blogs as well!

    I am getting this error when using the ‘wp_widget_rss_output()’ function:

    Warning: gzinflate() [function.gzinflate]: data error in /home/unbride/public_html/wp-includes/http.php on line 1787

    I tried re-uploading the ‘http.php’ file according to this thread. It seemed to work at first, but the error came back.

    Just tried a quick fix and it seemed to work for now:

    Changed line 1787 from

    $decompressed = gzinflate( $compressed );


    if (false !== $compressed) $decompressed = gzinflate( $compressed );

    I got same error message.

    I changed line 1787


    $decompressed = gzinflate( $compressed );

    $decompressed = @gzinflate( $compressed );

    No more error message. I am not sure side effect.

    i did the same for now, but it only suppress the warning message. it does not cure the problem..

    maybe dev team can cure this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parsing RSS Feeds’ is closed to new replies.