Skip to:
Content

BuddyPress.org

Opened 8 months ago

Closed 8 months ago

#8995 closed enhancement (fixed)

No equivalent hook to rss_tag_pre in buddypress

Reported by: shawfactor's profile shawfactor Owned by: imath's profile imath
Milestone: 12.0.0 Priority: normal
Severity: normal Version: 1.8
Component: Activity Keywords: has-patch
Cc:

Description

I was trying to extend a plugin I am writing to support buddypress. One part of the functionlity is that it makes RSS feeds human readbale by adding an XSL stylesheet. This is possible in wordpress by adding a stylesheet declaration after the xml output e.g.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="template.xsl"?>

by using the rss_tag_pre action. However this hook does not exist in buddypress. Is it possible to add an equivalent hook?

Change History (3)

#1 @imath
8 months ago

  • Component changed from Core to Activity
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 12.0.0
  • Type changed from defect (bug) to enhancement
  • Version set to 1.8

This ticket was mentioned in PR #164 on buddypress/buddypress by @imath.


8 months ago
#2

  • Keywords has-patch added; needs-patch removed

Add an action hook before the <rss/> tag of Activity feeds

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8995

#3 @imath
8 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13582:

Add an action hook before the <rss/> tag of Activity feeds

Props shawfactor

Fixes #8995
Closes https://github.com/buddypress/buddypress/pull/164

Note: See TracTickets for help on using tickets.