Posted by Cain on 09/08/06 19:21
"Benjamin Esham" <bdesham@gmail.com> wrote in message
news:Ea2Mg.103$Ka1.58@news01.roc.ny...
> Cain wrote:
>
>> How would I get this Wikipedia XML:
>> http://en.wikipedia.org/wiki/Special:Export/Alastair_Ralphs into a PHP
>> variable (without copy and pasting it manually)?
>
> Use file_get_contents():
>
> http://us3.php.net/manual/en/function.file-get-contents.php
>
> By the way... if you're going to be doing a lot of work with Wikipedia's
> data, please download your own copy of the database:
>
> http://en.wikipedia.org/wiki/Wikipedia:Database_download
> http://download.wikimedia.org/
I don't want to download the entire database, I only want some of the
articles. Can someone please tell me how I can get these articles into a
MySQL database?
Thanks,
Cain.
Navigation:
[Reply to this message]
|