[Commons-l] Towards a Commons API

Magnus Manske magnusmanske at googlemail.com
Fri Aug 17 20:09:09 UTC 2007


On 8/17/07, Andrew Gray <shimgray at gmail.com> wrote:
> We could probably implement something very similar to flickr's basic
> "use this image" approach with a link in the toolbox; a "select the
> size you want" page with preformatted HTML to use it and link back to
> us.
>
> (eg/ http://www.flickr.com/photo_zoom.gne?id=1116183939&size=m )

Like - this? ;-)
http://commons.wikimedia.org/wiki/Image:Oorgatbrug_schematisch.jpg?withJS=MediaWiki:ChooseResolution.js

I couldn't resist *that* temptation!!!

> This would probably be the simplest thing to get up and running - he
> said, waving his hands - and probably more generally useful than most
> of the other API stuff. However, we'd still need to find a way of
> getting author and license information standardised, so that the tool
> could pull them in.

I'm working on that ;-)

I could probably "screenscrape" the categories and find those that
look like a license.

Determining the author might prove harder. There's the upload log
(latest uploader if multiple?) and possible screenscraping of the
Information template. Tricky.

Help is welcome! :-)

Magnus



More information about the Commons-l mailing list