[wp-trac] [WordPress Trac] #23625: Add function to extract or parse chat as structured data
WordPress Trac
noreply at wordpress.org
Tue Mar 5 23:58:34 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 |
-----------------------------+------------------
Comment (by wonderboymusic):
yeah, the main issue is the delimiter for the start of a new author line,
I arbitrarily decided it was "mynamewithnocolonsorwhitespace: ", so I need
some help defining that for sure.
If you do `array_shift()` on the whole chat, you are assuming there is
only one stanza, here is what multi-stanza looks like:
{{{
Me: Hey.
You: Hi!
Me: Hey.
You: Hi!
}}}
Let's keep the use cases coming, for sure
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23625#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list