Thanks, Roan.
I tried that, and it still gives me the mediawiki search results for
Einstein - for instance, I dont see the first image on the Einstein
wikipedia page which is File:Einstein1921_by_F_Schmutzer_4.jpg - I get a
different set of results - the first being File:Albert_Einstein_Head.jpg -
now this works fine for Einstein, but in the case of University of Zurich
page, I get an insect as the first result, whereas I would like to get the
university of Zurich logo, which is the first image in the infobox on the
page.
Thanks
Anand
On Fri, Mar 12, 2010 at 2:34 PM, Roan Kattouw <roan.kattouw(a)gmail.com>wrote;wrote:
2010/3/12 Anand Ramanathan <rcanand(a)gmail.com>om>:
http://en.wikipedia.org/w/api.php?action=query&list=search&srnamesp…
> but that gives me a list of search
results for the search string from
> wikipedia, and not images on the page.
Try
http://en.wikipedia.org/w/api.php?action=query&generator=search&gsr…
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api