O, Thanks, html you it looks much better!
But the problem is next. While any user uses a search tool as this
click a monument which he is interested in, he will see hardly
understandable xml-file. Most of users wan't understand that and will feel
themselves abused.
So, is it possible to offer a choice for users in what format do they
prefer to look information?
2012/8/31 Nuno Tavares <nuno.tavares(a)wikimedia.pt>
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<http://toolserver.org/~…
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.or…
<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.or…
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%…
<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_<http://uk.wikipedia.org…
пам'ятки/**Київ/Печерський&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<WikiLovesMonuments@lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/**wikilovesmonuments<http…
http://www.wikilovesmonuments.**org <http://www.wikilovesmonuments.org>
______________________________**_________________
Wiki Loves Monuments mailing list
WikiLovesMonuments@lists.**wikimedia.org<WikiLovesMonuments@lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/**wikilovesmonuments<http…
http://www.wikilovesmonuments.**org <http://www.wikilovesmonuments.org>