Yep, that did it, thanks! (I never tried including both export and
exportnowrap, just one or the other and it was defining things like
revisionids as element attributes instead of children.)
Andrea
On Thu, Jul 14, 2011 at 2:35 PM, Roan Kattouw <roan.kattouw(a)gmail.com> wrote:
On Thu, Jul 14, 2011 at 6:58 PM, Andrea Forte
<andrea.forte(a)gmail.com> wrote:
I'm trying to download the complete revision
history for just a few
pages. The options, as I see it, are using the API or special:export.
The API returns XML that is formatted differently than special:export
and I already have a set of parsers that work with special:export data
so I'm inclined to go with that.
You can use
api.php?action=query&export&exportnowrap&titles=Foo|Bar|Baz
, that should give you the same format.
Roan Kattouw (Catrope)
--
:: Andrea Forte
:: Assistant Professor
:: College of Information Science and Technology, Drexel University
::
http://www.andreaforte.net