[wp-trac] [WordPress Trac] #5982: make atom feed signal something when the summary is cut off by <!--more-->

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 24 12:09:21 GMT 2008


#5982: make atom feed signal something when the summary is cut off by <!--more-->
----------------------+-----------------------------------------------------
 Reporter:  leoboiko  |       Owner:  anonymous                                    
     Type:  defect    |      Status:  new                                          
 Priority:  normal    |   Milestone:  2.3.4                                        
Component:  General   |     Version:  2.3.3                                        
 Severity:  normal    |    Keywords:  atom, more, summary, excerpt, wp_trim_excerpt
----------------------+-----------------------------------------------------
 When the post doesn't contain a <!--more--> cutoff, or if the cut is
 beyond the automatic summary size (55 words), Wordpress will add the
 string '[...]' to the Atom summary.  This makes it easy for people
 watching the feeds to know that there's more content to be seen in the
 full post.

 But, when the cut is *before* 55 words (which is often the case), WP
 simply ends the summary abruptly, without the "more" link ('cause
 summaries are text-only) nor any other kind of indication.  Attached patch
 is an attempt to make it add '[...]' in these cases, too.

 Please review it as I'm not comfortable with WP internals. It seems to
 work :)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5982>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list