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
Post a Comment