Ok, sorry, I spoke too soon. Yes, it formatted properly but it seems
that the "export" parameter only exports the most recent revision and
if I add the revision property to ask for more than one, it defaults
back to the other format. :-\ So I'm still not able to get the whole
edit history of one page in the special:export format. leSigh.
Andrea
On Thu, Jul 14, 2011 at 3:18 PM, Andrea Forte <andrea.forte(a)gmail.com> wrote:
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
--
:: Andrea Forte
:: Assistant Professor
:: College of Information Science and Technology, Drexel University
::