Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

How to add content to ACTIVITY feed RSS? (2 posts)

Started 3 months, 2 weeks ago by: Pisanojm

  • Profile picture of Pisanojm Pisanojm said 3 months, 2 weeks ago:

    The Activity Feed only shows who posted and the topic title… how can add the content of the post or a truncated excerpt of the content to the standard ACTIVITY RSS feed? Seems like a simple mod to one of the RSS pages… PLEASE HELP.

  • Profile picture of r-a-y r-a-y said 3 months, 2 weeks ago:

    Check out how activity RSS feeds are parsed in:
    /wp-content/plugins/buddypress/bp-activity/feeds/

    There are a few hooks you could potentially use to add additional content.

    If you want to filter the item description, use the “bp_get_activity_feed_item_description” hook available in the bp_get_activity_feed_item_description() function.

    Various other filters are available for the item title, etc. in bp-activity-template.php as well.