Re: Is Text_Wiki_Mediawiki likely to be updated?
| From: | Phil Gyford | Date: | Wed, 31 Oct 2007 14:53:07 +0000 |
| Subject: | Re: Is Text_Wiki_Mediawiki likely to be updated? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28150@lists.php.net to get a copy of this message | ||
On 10/31/07, Paul Scott <pscott@uwc.ac.za> wrote:
>
> Also Wikipedia has an API that returns HTML/Wiki Markup/XML etc that you
> could use rather in this case.
That would be ideal. I've been poking around already, but while the
API will output data in many formats, the actual content of the page
is always in Mediawiki markup, eg:
http://en.wikipedia.org/w/query.php?what=content&titles=Samuel_Pepys&format=xml
http://en.wikipedia.org/w/query.php?what=content&titles=Samuel_Pepys&format=php
Some documentation here: http://en.wikipedia.org/w/query.php
I hope I've missed something, because it would be much simpler if I
could get it all as HTML...
Phil
--
http://www.gyford.com/