Support » Fixing WordPress » Google Reader RSS and WordPress Widget

  • Hi All,

    I’m trying to share interesting articles via the custom RSS feed of Google Reader. Within my own WordPress install, the default RSS sidebar widget is having a difficult time separating the article URL from the site URL – resulting in one long, unusable link. Anyone have any ideas on the Google side OR WordPress side in how I might get something usable? I did try using the Google Sharing widget without formatting, but there’s a nested list which my CSS is having a problem with too. Fun, fun! 😉

    Site is here and sidebar element is labeled “What We’re Reading” :


Viewing 3 replies - 1 through 3 (of 3 total)
  • same problem in wp 2.3.3. i do not believe this has been resolved. something to do with magpie and parsing atom feeds incorrectly.

    Is a simple fix for this on the horizon? It’s stuff like this that makes me consider jumping to Tumblr.

    I found the problem and here is a temporary work around.

    In the file wp-includes\widgets.php, adding the following lines of code between 1573 and 1574, sort of fixes it:

    $stringpos = strpos($link,’http’, 1);
    $link = substr($link, 0, $stringpos);

    It’s a band-aid solution, it breaks on links that have the text “http” inside them (besides the original http at the beginning of the link).

    For example:

    would come out as


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Reader RSS and WordPress Widget’ is closed to new replies.