-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rob Church wrote:
On 17/12/06, Brion Vibber <brion(a)pobox.com>
wrote:
Special:Export and Special:Import do not handle
images at this time.
There's some specs for it in the XML format but currently it's only used
by the OAI feed system.
What might be the best approach to making this work, then? Chucking
the filename in the XML somewhere and having Special:Import do a local
copy, if possible?
That's pretty much how it would work if you implemented the spec. I
stashed an example in docs/export-demo.xml:
<page>
<title>Image:Some image.jpg</title>
[snip]
<upload>
<timestamp>2001-01-15T20:34:12Z</timestamp>
<contributor><username>Foobar</username><id>42</id></contributor>
<comment>My awesomeest image!</comment>
<filename>Some_image.jpg</filename>
<src>http://upload.wikimedia.org/commons/2/22/Some_image.jpg</src>
<size>12345</size>
</upload>
</page>
Probably not too hard to hack up, actually, if someone wants to give it
a try.
- -- brion vibber (brion @
pobox.com / brion @
wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFFhck2wRnhpk1wk44RAq15AKDc8sxEraohqms5RXdp2TP3RF9qJQCfWiDI
XJEOA4tQnGw08AIrsMeyKAk=
=t34V
-----END PGP SIGNATURE-----