"Roan Kattouw" <roan.kattouw(a)home.nl> wrote in message
news:48F4ED71.2040407@home.nl...
Christensen, Courtney schreef:
Roan said:----------------
HTML parsing (also known as screenscraping) is
not necessary and almost
never a good idea. To obtain a list of links in a given article, use the
API:
http://en.wikipedia.org/w/api.php?action=query&prop=links&titles=Ma…
_________________________________________________________
Hey Roan,
Would this give you interwiki links also?
It would be pretty useful.
No, but prop=langlinks will. You can combine them with
prop=links|langlinks
Technically, prop=langlinks will only give you interlanguage links (which
are links that look like [[en:This title in English]]). Other kinds of
interwiki links, like [[wikt:define]] or [[:fr:Different title in French]],
cannot be retrieved via the API, except by parsing the page text.
Russ