[Mediawiki-l] How can I get an article's content
Platonides
Platonides at gmail.com
Wed Oct 17 13:11:10 UTC 2007
Pedro Ortiz Garcia-Miguel escribió:
> Hello,
>
> I am trying to get an article of my mediawiki making a program in python.
> I want to get the article's content in XML format, but I haven't seen any
> API's
> function which returns this content, so I am trying to get the article
> parsing
> the HTML file but this is very cumbersome.
>
> Does someone know any easier way to get this content?
>
> Greetings, Pedro.
You can use Special:Export
Or, using the api, rvprop=content
http://es.wikipedia.org/w/api.php?action=query&prop=revisions&meta=siteinfo&titles=Portada&rvprop=user|comment|content
More information about the MediaWiki-l
mailing list