Hi Bastien,
Op 19-8-2013 23:49, Bastien Guerry schreef:
By the way, I get some false positive cases when trying to retrieve
without-image entries -- see this:
http://toolserver.org/~erfgoed/api/api.php?action=search&srcountry=fr&srlang=fr&limit=3&srwithimage=0
Or look for id="IA00001253" if you are checking this link too late.
It is returned by the query but has a non-empty image field. Anything
you could do on your side?
You should use srwithoutimage=1 instead of srwithimage=0 (it's not
complete inverse, because of empty strings and NULL). You can see the
difference here:
*
http://toolserver.org/~erfgoed/api/api.php?action=search&srcountry=fr&srlang=fr&limit=100&srwithimage=0&format=html&srid=IA00001253
(one entry)
*
http://toolserver.org/~erfgoed/api/api.php?action=search&srcountry=fr&srlang=fr&limit=100&srwithoutimage=1&format=html&srid=IA00001253
(empty)
Maarten
_______________________________________________
Wiki Loves Monuments mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org