Changeset 1563
- Timestamp:
- 06/22/2009 08:22:50 PM (15 years ago)
- Location:
- branches/1.0/bp-activity
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/bp-activity/bp-activity-templatetags.php
r1499 r1563 310 310 /* Template tags for RSS feed output */ 311 311 312 function bp_activity_feed_item_guid() { 313 echo bp_get_activity_feed_item_guid(); 314 } 315 function bp_get_activity_feed_item_guid() { 316 global $activities_template; 317 318 return apply_filters( 'bp_get_activity_feed_item_title', md5( $activities_template->activity->date_recorded . '-' . $activities_template->activity->content ) ); 319 } 320 312 321 function bp_activity_feed_item_title() { 313 322 echo bp_get_activity_feed_item_title(); -
branches/1.0/bp-activity/feeds/bp-activity-friends-feed.php
r1366 r1563 24 24 <description><?php printf( __( '%s - Friends Activity Feed', 'buddypress' ), $bp->displayed_user->fullname ) ?></description> 25 25 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate> 26 <generator>http://buddypress.org/? bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>26 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> 27 27 <language><?php echo get_option('rss_language'); ?></language> 28 28 <?php do_action('bp_activity_friends_feed_head'); ?> … … 31 31 <?php while ( bp_activities() ) : bp_the_activity(); ?> 32 32 <item> 33 <guid><?php bp_activity_feed_item_guid() ?></guid> 33 34 <title><![CDATA[<?php bp_activity_feed_item_title() ?>]]></title> 34 35 <link><?php echo bp_activity_feed_item_link() ?></link> 35 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_ activity_feed_item_date(), false); ?></pubDate>36 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_get_activity_feed_item_date(), false); ?></pubDate> 36 37 37 38 <description><![CDATA[<?php bp_activity_feed_item_description() ?>]]></description> -
branches/1.0/bp-activity/feeds/bp-activity-personal-feed.php
r1366 r1563 24 24 <description><?php printf( __( '%s - Activity Feed', 'buddypress' ), $bp->displayed_user->fullname ) ?></description> 25 25 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate> 26 <generator>http://buddypress.org/? bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>26 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> 27 27 <language><?php echo get_option('rss_language'); ?></language> 28 28 <?php do_action('bp_activity_personal_feed_head'); ?> … … 31 31 <?php while ( bp_activities() ) : bp_the_activity(); ?> 32 32 <item> 33 <guid><?php bp_activity_feed_item_guid() ?></guid> 33 34 <title><![CDATA[<?php bp_activity_feed_item_title() ?>]]></title> 34 35 <link><?php echo bp_activity_feed_item_link() ?></link> 35 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_ activity_feed_item_date(), false); ?></pubDate>36 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_get_activity_feed_item_date(), false); ?></pubDate> 36 37 37 38 <description><![CDATA[<?php bp_activity_feed_item_description() ?>]]></description> -
branches/1.0/bp-activity/feeds/bp-activity-sitewide-feed.php
r1366 r1563 25 25 <description><?php _e( 'Site Wide Activity Feed', 'buddypress' ) ?></description> 26 26 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_activity_get_last_updated(), false); ?></pubDate> 27 <generator>http://buddypress.org/? bp-activity-version=<?php echo BP_ACTIVITY_VERSION ?></generator>27 <generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator> 28 28 <language><?php echo get_option('rss_language'); ?></language> 29 29 <?php do_action('bp_activity_sitewide_feed_head'); ?> … … 32 32 <?php while ( bp_activities() ) : bp_the_activity(); ?> 33 33 <item> 34 <guid><?php bp_activity_feed_item_guid() ?></guid> 34 35 <title><![CDATA[<?php bp_activity_feed_item_title() ?>]]></title> 35 <link><?php echobp_activity_feed_item_link() ?></link>36 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_ activity_feed_item_date(), false); ?></pubDate>36 <link><?php bp_activity_feed_item_link() ?></link> 37 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', bp_get_activity_feed_item_date(), false); ?></pubDate> 37 38 38 39 <description><![CDATA[<?php bp_activity_feed_item_description() ?>]]></description>
Note: See TracChangeset
for help on using the changeset viewer.