You are here: Re: Wikipedia XML -> PHP? « PHP Programming Language « IT news, forums, messages
Re: Wikipedia XML -> PHP?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация