You could, for example, request format=xml and pretty print it yourself using DOM [1], Tidy [2], or any number of XML to HTML conversion utilities. [3]
[1] http://www.php.net/manual/en/class.domdocument.php#domdocument.props.formato... [2] http://www.php.net/manual/en/tidy.parsestring.php [3] http://gdatatips.blogspot.com/2008/11/xml-php-pretty-printer.html
On Wed, May 4, 2011 at 6:22 PM, C Stafford c.stafford@gmail.com wrote:
Cant strip it out, it isnt being parsed by anything. I've got a bunch of api urls in a frameset for monitoring
Thats why I explicitly asked the question I did in the original email. I wanted to know (and the simple answer of "there isnt one" would have sufficed) if there was a way to hide it by setting something in request.
On Wed, May 4, 2011 at 3:16 PM, Roan Kattouw roan.kattouw@gmail.com wrote:
So strip it out yourself if you need to. "It annoys me" is not a valid reason :)
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api