Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] RSS bug report

  • Resolved Dave


    Previously I had YARP set to show both on posts, and feeds with no issues.

    I disabled YARP to show on posts, so it would only show on RSS

    I started getting server time outs on the RSS feed, and feed validation brought up “error on line 1 at column 1: Document is empty”

    Disabling YARP fixed this error.

    Likewise re-enabling YARP to show on both posts and feeds fixed this.

    If mitcho could have a look into this, it would be great.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmm, interesting. The issue is that computing these results on the fly in the RSS takes time, particularly if there are multiple in the feed that don’t have cached results. If they’re previously displayed on the posts as well, then it’ll compute them one at a time and then cache the results.

    I would suggest displaying the related posts on the posts as well. If you don’t want to actually show them there, just wrap the call to <?php related_posts(); ?> in an HTML comment, or use CSS to hide it.

    I’ll think about whether there’s a better solution to this, but that’s what I’d recommend.

    Yea, it’s a little different alright.

    Full credit to you for your replies, and in keeping this plugin up to date.

    Also for being one of the very few Social plugin authors that support RSS feeds that work.

    I activated both RSS and posts, and it’s working again. I’ll try the CSS method.

    Showing through on RSS sounds like a small thing, but it really can be very important if you have a large subscriber base. So well done again for keeping this working on the plugin.

    here’s hoping you make a social sharing plugin one day too 🙂

    Any plans to allow easy tracking of clicks on YARPP?

    I don’t have any click tracking in the bundled templates, but it shouldn’t be too hard to modify one of the custom templates so that it adds a Google Analytics campaign code or somesuch, or even replaces the links with some JavaScript that pings some service. This should all be possible.

    More info:

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] RSS bug report’ is closed to new replies.