-1

I have this request http://en.wikipedia.org/w/index.php?action=raw&title=Greece and i am trying to get several information out of it: language, currency, long/lat etc. Is there an easy way to get this data with php?

cosapostolo
  • 1,099
  • 2
  • 7
  • 9

1 Answers1

1

You could parse the file with PHP but i found a projekt which do it.

PHP-Wikipedia-Syntax-Parser

there are some examples.

Edit:

For an URL open the URL with

$wikiString = file_get_contents('http://url.de'); 

then you have the result and you can work with it.

René Höhle
  • 26,716
  • 22
  • 73
  • 82