[wp-trac] Re: [WordPress Trac] #3794: Generate post_title based on post_content

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 16 00:48:06 GMT 2007


#3794: Generate post_title based on post_content
--------------------------+-------------------------------------------------
 Reporter:  Justinsomnia  |        Owner:  markjaquith
     Type:  enhancement   |       Status:  assigned   
 Priority:  normal        |    Milestone:  2.2        
Component:  General       |      Version:  2.1        
 Severity:  normal        |   Resolution:             
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Comment (by justinsomnia):

 Andy, I just pulled the 100 chars number out of my butt. Going over my 4+
 year archive of 800+ posts, 99% had titles less than 100 characters in
 length. 95% had titles 50 characters or less in length.

 One of the pleasures of !WordPress (imho) is its unconstrained post_name
 length, so I went with a larger number to forestall any concerns about
 truncating too much (like MT's 16-20 chars). Nonetheless it's trivial to
 adjust the default length downward.

 One other implication of leaving the title blank I forgot to mention:
 !WordPress's own Manage > Posts interface (wp-admin/edit.php) displays
 nothing if the published post's title is blank. Kind of makes it difficult
 to determine at a glance what the post is about (see attached).

 Otto42, I hear your concern, but I would suggest that the way to turn it
 off would be through the template, rather than a global config option.
 Remember having a title really benefits the feeds. It seems to me that the
 first X chars of the post makes for the least offensive generated title.
 That said, if consensus is for enabling or disabling this feature via a
 config option, I could be happy with that.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3794#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list