WordPress.org

Ready to get started?Download WordPress

Forums

Google Reader RSS and WordPress Widget (4 posts)

  1. davezatz
    Member
    Posted 6 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" :
    http://www.zatznotfunny.com

    Thanks!
    Dave

  2. gfa202
    Member
    Posted 6 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
    Member
    Posted 6 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
    Member
    Posted 5 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:

    http://somecrazyhttplink.com

    would come out as

    http://somecrazy

Topic Closed

This topic has been closed to new replies.

About this Topic