[buddypress-trac] [BuddyPress] #3089: broken RSS feed

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Feb 27 21:32:47 UTC 2011


#3089: broken RSS feed
----------------------+-----------------------------
 Reporter:  chouf1    |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Awaiting Review
Component:  Activity  |    Version:
 Keywords:  rss feed  |
----------------------+-----------------------------
 This bug still remains in 1.2.7 and 1.2.8...

 rss feed is blank because of accent.
 The following patch was given in the past but was never in the code.
 So here it is again.

 in bp-activity/bp-activity-templatags.php

 line 1031:

 {{{
 $title = trim( strip_tags( html_entity_decode( utf8_encode( $content[0] )
 ) ) );
 }}}

 replace by:
 {{{
 $title =  strip_tags(html_entity_decode( $content[0],ENT_COMPAT,"UTF-8"
 )) ;
 }}}
 line 1071:

 {{{
 return apply_filters( 'bp_get_activity_feed_item_description',
 html_entity_decode( str_replace( '%s','', $content ) ) );
 }}}
 replace by
 {{{
 return apply_filters( 'bp_get_activity_feed_item_description',
 html_entity_decode( str_replace( '%s', ' ', $content ), ENT_COMPAT,
 'UTF-8' ) );
 }}}

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3089>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list