I always use php format so that I wont need to load any parsers ( XML or JSON or YAML)
-Cheers

On Sun, Jun 28, 2009 at 10:48 PM, Borort <borort@gmail.com> wrote:
The reason that i don't use format=json is it will not return the description and url of the result..


On Mon, Jun 29, 2009 at 12:08 AM, Jools Wills <buzz@exotica.org.uk> wrote:
On Sun, 2009-06-28 at 23:03 +0700, Borort wrote:
> Dear all,
>
> I have tried to convert XML format (e.g.
> http://en.wikipedia.org/w/api.php?action=opensearch&search=apple&format=xml) to JSON format by using xml2json

Just out of interest, why do you not output as json directly?

format=json ?

Best Regards

Jools


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api




--
Sanil S
Technology Consultant
Co-Founder: http://www.mobme.in
Blog: http://www.iamatechie.com
Linked In: http://www.linkedin.com/in/sanilchandran