Momedia schreef:
I am working am trying to add geocoded Wiki data to a google map.
When I used a PHP class (class_WikiRetriever.php) to do this - all I get is the full page dumped. ie everything on the wikipage is parsed.
- What methods are used to extract specific elements of an article. Say the intro.?
For getting the intro, use prop=revisions&rvprop=content&rvsection=0
- How can only articles which have already been geotagged be selected?
That depends on how geotagging is done. If it's done using a template, you can get a list of all pages using that template with list=embeddedin&eititle=Template:Whatever
Roan Kattouw (Catrope)