Skip to:
Content
Pages
Categories
Search
Top
Bottom

sitewide activity validation error

  • @micrositer

    Participant

    I am very excited to be building a WordPress MU + BuddyPress. I have installed a few things and work on the site when I can.

    So I am having a problem validating the home page sitewide activity RSS. I can validate a single users blog RSS, but when I try to add the sitewide RSS to my twitterfeed it gives me the following error and I cannot seem to find the code to fix it:

    Home Page:

    http://www.micropals.com/

    RSS Feed URL:

    http://micropals.com/activity/feed

    Error:

    We couldn’t find valid date/time stamps or GUIDs on items. Please make sure your feed contains valid pubDate entries or GUIDs for each post.

    Feed Validator:

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fmicropals.com%2Factivity%2Ffeed

    Working RSS Feed:

    http://davidjackson.micropals.com/feed/

    Feed was parsed successfully

    I have noticed the same error on other BuddyPress sites. I have searched the forums and Google Searched the site for answers and no one has an answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @wolfspirittt

    Participant

    I had this problem too and it was very frustrating. The main pubDate was fine as it was just the last updated time, but the pubDate for each post was not in the correct format. I found a fix for this. It’s a hack to the buddypress code so I’ll give you all of the standard “enter at your own risk” warnings but at least until the buddypress team fixes this, this should solve your problem.

    edit the following file and add the following lines (make sure you comment out the line I mention as well):

    /wp-content/plugins/buddypress/bp-activity/bp-activity-templatetags.php

    $formated_recorded_date = strtotime($activities_template->activity->date_recorded);

    $formated_recorded_date = date (‘D, d M Y H:i:s T’, $formated_recorded_date );

    return apply_filters( ‘bp_get_activity_feed_item_date’, $formated_recorded_date );

    //return apply_filters( ‘bp_get_activity_feed_item_date’, $activities_template->activity->date_recorded );

    @burtadsit

    Participant

    Can one of you post a ticket in trac about this with a patch please? You seem to have found a solution. Same login as here.

    https://trac.buddypress.org/newticket

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sitewide activity validation error’ is closed to new replies.
Skip to toolbar