[wp-trac] [WordPress Trac] #23625: Add function to extract or parse chat as structured data

WordPress Trac noreply at wordpress.org
Wed Mar 27 08:31:14 UTC 2013


#23625: Add function to extract or parse chat as structured data
----------------------------------------+------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  feature request             |      Status:  new
 Priority:  normal                      |   Milestone:  3.6
Component:  Post Formats                |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by markjaquith):

 In [changeset:"23804"]:
 {{{
 #!CommitTicketReference repository="" revision="23804"
 Extract chats as structured data.

 * add_chat_detection_format() — to add a chat regex pattern
 * get_content_chat() — to grab a chat from content
 * get_the_chat() — grab the chat from the current (or passed) post
 * the_chat() — output the chat in formatted HTML
 * paginate_content() — puts the <!--nextpage--> splitting stuff into a
 function
 * get_paged_content() — grabs a page of raw content, needed to paginate
 chats properly

 see #23625. props wonderboymusic, lancewillett.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23625#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list