Google Reader RSS and WordPress Widget (4 posts)

  1. DaveZ
    Posted 8 years ago #

    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" :


  2. gfa202
    Posted 8 years ago #

    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.

  3. Blackmail
    Posted 8 years ago #

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

  4. jeffmilner
    Posted 7 years ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Topic