Retrieving the Interlanguage links from an exported Wikipedia article? -


i used retrieve interlanguage links exported wikipedia article parsing export regular expressions.

in phase 1 of wikidata project these links have been moved separate page on wikidata.

for example article ore mountains has no language links anymore in export. language links on q4198.

how can export language links?

you encouraged use wikidata api : http://wikidata.org/w/api.php

for your case, use props=labels. url self explicative :

http://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=ore%20mountains&languages=cs|de|es|fr|it|pl|pt|ru&props=labels&format=xml 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -