[wp-trac] [WordPress Trac] #23094: Automatically assign post-format to posts

WordPress Trac noreply at wordpress.org
Mon Dec 31 15:43:45 UTC 2012


#23094: Automatically assign post-format to posts
-----------------------------+-------------------------
 Reporter:  mark-k           |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  I18N
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 I played around with post-formats and decided that one of the annoying
 things with them is that you have to think what will be the best display
 format for what you write. IMO it is unneeded and can be automatically
 handled by wordpress, maybe with giving the user ability to override.

 The way post formats are defined in the codex it should not be difficult
 to automate the decision, basically what we need is to set a number of
 words that should be included in the post to make it reguler post. Lets
 call this number N.

 Asides are posts with less then N words and no media.

 Links are posts with less then N words that have a valid URL as the title
 or one link in the text and doesn't have any media

 Status is an Aside in a multi author site

 Quote is a post which contains a blockquote + up to N words and no media

 Image,Audio,Video,Gallery have a respective post type when there is only
 one media in the post and less then N additional words

 Chat can be detected by the format in the text

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


More information about the wp-trac mailing list