Hi Andrij,

Assuming the results (of the search you used in the API) are correct, that looks pretty OK to me. It's called XML, which is a format different than HTML, typically used for machine-to-machine consumption.

And that (I think) happens because there is no format=htmllist, so it defaults to format=xml. Therefore, if you want to *look* at the results, try format=html, like this:

http://toolserver.org/~erfgoed/api/api.php?action=search&format=html&srcountry=ua&srlang=uk&srid=80-382-0072&props=image|name|address|municipality|lat|lon|id|country|source|monument_article|registrant_url


Best,

-NT


Em 31-08-2012 08:52, Андрій Бондаренко escreveu:
Hi,  everyone!

I'm sorry but this page
http://toolserver.org/~erfgoed/api/api.php?action=search&format=htmllist&srcountry=ua&srlang=uk&srid=80-382-0072&props=image|name|address|municipality|lat|lon|id|country|source|monument_article|registrant_url
<http://toolserver.org/~erfgoed/api/api.php?action=search&format=htmllist&srcountry=ua&srlang=uk&srid=80-382-0072&props=image|name|address|municipality|lat|lon|id|country|source|monument_article|registrant_url>
looks very strange:


It loooks like this

/<monuments><monument country="ua" id="80-382-0072" image=""
name="Будинок прибутковий" address="[[Вулиця Архітектора
Городецького|Городецького Архітектора вул.]], 4" municipality="[[Київ]]"
lat="50.448611" lon="30.524167"
source="http://uk.wikipedia.org/w/index.php?title=Вікіпедія:Вікі_любить_
<http://uk.wikipedia.org/w/index.php?title=%D0%92%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F:%D0%92%D1%96%D0%BA%D1%96_%D0%BB%D1%8E%D0%B1%D0%B8%D1%82%D1%8C_>пам'ятки/Київ/Печерський&redirect=no&useskin=monobook&oldid=10278605"
monument_article="" registrant_url=""/></monuments>/

Another monuments look the same. Please fix it.

--
Andrij


_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org

_______________________________________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments
http://www.wikilovesmonuments.org

Reply via email to