[Clipart] API bug workaround?
Jon Phillips
jon at rejon.org
Mon Mar 2 13:10:40 PST 2009
also should note, that the ccHost mailing list might help as well to
track down bugs...but first, really need to move to cchost 5.0.1 to
make sure its just not an old bug.
http://creativecommons.org/projects/cchost
Jon
On Mon, Mar 2, 2009 at 1:00 PM, Jochen Staerk <jstaerk at usegroup.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> RE the bug mentioned below, please be informed that something like
>
> wget
> http://openclipart.org/media/api/query?tags=animal\&f=rss\&limit=300\&chop=200
>
> seems to work (although it passes 384), so I'll try to write a small php
> metadata retrieval command line shell script which tries to get the data
> in 300-item chunks.
>
>>
>> it drops back to html, suddenly ignoring the format parameter. As
>> mentioned,e.g. with the 384th item of the tag
>> "animal"
>> http://openclipart.org/media/api/query?f=rss&tags=animal&limit=383
>> returns RSS,
>> http://openclipart.org/media/api/query?f=rss&tags=animal&limit=384
>> suddenly HTML.
>> ( wget
>> http://openclipart.org/media/api/query?f=rss\&tags=animal\&limit=383
>> respectively wget
>> http://openclipart.org/media/api/query?f=rss\&tags=animal\&limit=384)
>>
>> please note: with another tag like "human" the 384th item does not seem
>> to cause problems.
>
> - --
>
> mit freundlichen Grüßen
> Jochen Stärk
>
> www.usegroup.de (home office)
> Albigerstr. 22 Am Wald 3
> 55232 Alzey 55270 Ober-Olm
>
> Tel: (06731)997997-5 (06131)584278-0
> Fax: (06731)997997-6 (06131)584278-1
> Mobil: (0177)4512645
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmsSM8ACgkQIQmdcXOPL7x+hACcDx9/hgaxVtwMed5J9zL9INeG
> 1VQAnRN0kcGJg8tmRzZ3k1knJJ6O8K02
> =Pcj8
> -----END PGP SIGNATURE-----
>
--
Jon Phillips
http://rejon.org/
More information about the clipart
mailing list