[wp-trac] [WordPress Trac] #23625: Add function to extract or parse chat as structured data
WordPress Trac
noreply at wordpress.org
Tue Mar 12 20:15:47 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 |
----------------------------------------+------------------
Changes (by MikeHansenMe):
* cc: mdhansen@… (added)
Comment:
I copied some code in from #wordpress irc channel and used print_r(
get_the_chat( get_the_ID() ) ) to view the chat array. It seems to have
broke though.
{{{
Array
(
[0] => Array
(
[0] => Array
(
[time] =>
[author] => gmorrison
[message] => just a sec
)
[1] => Array
(
[time] =>
[author] => gmorrison
[message] => ok
)
[2] => Array
(
[time] =>
[author] => gmorrison
[message] => changing uploads to 777 let it create the
folder for that
)
[3] => Array
(
[time] =>
[author] => gmorrison
[message] => so yes it can * daveluke has quit (Quit:
daveluke) * robmiller (~robmiller at 141.0.147.143) has joined #wordpress
<snowfox_ben> here is my code <a
href="https://gist.github.com/benschaaf/91179440d1996b48e382"
rel="nofollow">https://gist.github.com/benschaaf/91179440d1996b48e382</a>
)
)
)
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23625#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list