|
Evan Prodromou wrote: Mark Keisler wrote:Alright, here's the fun. I put a print_r into extlib/XMPPHP/XMPP.php message_handler() to show me the $xml object. I had sent a jabber message of "this is a cool http://foo.bar/?foo=bar&bar=baz&ugh=io thing" and the object looks like: .... [2] => XMPPHP_XMLObj Object ( [name] => body [ns] => jabber:client [attrs] => Array ( ) [subs] => Array ( ) [data] => this is a cool http://foo.bar/?foo=barbar=bazugh=io thing ) [3] => XMPPHP_XMLObj Object ( [name] => html [ns] => http://jabber.org/protocol/xhtml-im [attrs] => Array ( [xmlns] => http://jabber.org/protocol/xhtml-im ) [subs] => Array ( [0] => XMPPHP_XMLObj Object ( [name] => body [ns] => http://www.w3.org/1999/xhtml [attrs] => Array ( [xmlns] => http://www.w3.org/1999/xhtml ) [subs] => Array ( [0] => XMPPHP_XMLObj Object ( [name] => a [ns] => http://www.w3.org/1999/xhtml [attrs] => Array ( [href] => http://foo.bar/?foo=bar&bar=baz&ugh=io ) [subs] => Array ( ) [data] => http://foo.bar/?foo=barbar=bazugh=io ) ) [data] => this is a cool thing ) ) [data] => ) my jabber client (pidgin) URLifies the post to become this is a cool <a href=''>http://foo.bar/?foo=bar&bar=baz&ugh=io</a> thing hence the separate href stanza in the XML object. why is that the only part of the object to have the intact post, though? -- Mark Keisler Principal Software Engineer Motorola Open Source Technologies 630-329-2828 |
_______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
