<div><font face="trebuchet ms,sans-serif">I always use php format so that I wont need to load any parsers ( XML or JSON or YAML)</font><font face="trebuchet ms,sans-serif"><br></font></div><div><font face="trebuchet ms,sans-serif"></font></div>
<div><font face="trebuchet ms,sans-serif">-Cheers</font></div><br><div class="gmail_quote">On Sun, Jun 28, 2009 at 10:48 PM, Borort <span dir="ltr"><<a href="mailto:borort@gmail.com">borort@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The reason that i don't use format=json is it will not return the description and url of the result..<div><div class="h5">
<br><br>
<div class="gmail_quote">On Mon, Jun 29, 2009 at 12:08 AM, Jools Wills <span dir="ltr"><<a href="mailto:buzz@exotica.org.uk" target="_blank">buzz@exotica.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<div>On Sun, 2009-06-28 at 23:03 +0700, Borort wrote:<br>> Dear all,<br>><br>> I have tried to convert XML format (e.g.<br>> <a href="http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=xml" target="_blank">http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=xml</a>) to JSON format by using xml2json<br>
<br></div>Just out of interest, why do you not output as json directly?<br><br>format=json ?<br><br>Best Regards<br><br>Jools<br><br><br>_______________________________________________<br>Mediawiki-api mailing list<br><a href="mailto:Mediawiki-api@lists.wikimedia.org" target="_blank">Mediawiki-api@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-api" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-api</a><br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Mediawiki-api mailing list<br>
<a href="mailto:Mediawiki-api@lists.wikimedia.org">Mediawiki-api@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-api" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-api</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sanil S<br>Technology Consultant<br>Co-Founder: <a href="http://www.mobme.in">http://www.mobme.in</a><br>Blog: <a href="http://www.iamatechie.com">http://www.iamatechie.com</a><br>
Linked In: <a href="http://www.linkedin.com/in/sanilchandran">http://www.linkedin.com/in/sanilchandran</a><br>