[buddypress-trac] [BuddyPress] #2680: RSS feed is blank

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Oct 22 12:59:23 UTC 2010


#2680: RSS feed is blank
--------------------+-------------------------------------------------------
 Reporter:  chouf1  |        Owner:        
     Type:  defect  |       Status:  closed
 Priority:  normal  |    Milestone:  1.2.6 
Component:  Core    |   Resolution:  fixed 
 Keywords:  rss     |  
--------------------+-------------------------------------------------------
Changes (by chouf1):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 here is the path to include in bp-activity-templatetags.php
 For the feed title, replace
 line 1031
 $title = trim( strip_tags( html_entity_decode( utf8_encode( $content[0] )
 ) ) );

 with
 $title =  strip_tags(html_entity_decode( $content[0],ENT_COMPAT,"UTF-8"
 )) ;

 For the feed description, replace
 line 1071
 return apply_filters( 'bp_get_activity_feed_item_description',
 html_entity_decode( str_replace( '%s', '', $content ) ) );

 with
 return apply_filters( 'bp_get_activity_feed_item_description',
 html_entity_decode( str_replace( '%s', ' ', $content ), ENT_COMPAT,
 'UTF-8' ) );

 These changes provide correct translated accentuated characters like
 é (french)to é

 Note: html_entity_decode charset default character (or unknowed
 character), dixit php manual, is ISO 8851-9

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2680#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list