[Clipart] JSONify the query results
Wayne Connolly
wayne.connolly at measanctum.com
Sun Nov 14 23:21:43 PST 2010
Thanks Jon - with this i can simply use the open sourse RSS to JSON php
class to get what i want - thanks.
;-)
On 15/11/2010 3:48 PM, jon at rejon.org wrote:
>
> Bassel can guide you on this. Also see http://openclipart.org/wiki/API
>
> On Nov 15, 2010 9:52 AM, "Wayne Connolly"
> <wayne.connolly at measanctum.com <mailto:wayne.connolly at measanctum.com>>
> wrote:
> > Hi all,
> >
> > We would like the query results of
> > http://www.openclipart.org/api/search/?query=christmas&page=1
> <http://www.openclipart.org/api/search/?query=christmas&page=1>
> > <http://www.openclipart.org/api/search/?query=dog>to be available for
> > each record to be integrated into out CMS.
> >
> > The first JSON integer is the record number starting at zero and going
> > until when the recordset ends (reset per batch).
> >
> > Is it possible to only return 10 records at a time please?
> >
> > {"msg" : "success",
> > "info" : {"results: "1200",
> > "pages" : "12",
> > "current_page" : "3"
> > },
> > "payload" :{"0" : {"title" : "Santa Hat",
> >
> > "uploader" : "TheresaKnott",
> > "drawn_by" : "/ TheresaKnott",
> > "description" : "A santa hat for christmas sutable
> > for putting on other drawings.",
> > "tags" : "media , clip_art , public_domain , image
> > , svg , santa , christmas , hat , santa , christmas , hat",
> > "downloaded_by" : "2324",
> > "rated_by" : "10",
> > "detail_link" :
> > "http://www.openclipart.org/detail/889",
> > "created" : "2006-10-25 09:09:50",
> > "svg" : {"url" :
> >
> "http://www.openclipart.org/people/TheresaKnott/TheresaKnott_Santa_Hat.svg
> >
> <view-source:http://www.openclipart.org/people/TheresaKnott/TheresaKnott_Santa_Hat.svg>",
> >
> > "height" :"800",
> > "width" : "760"
> > }
> > "png_thumb" : {"url" :
> >
> "http://www.openclipart.org/image/250px/svg_to_png/TheresaKnott_Santa_Hat.png
> >
> <view-source:http://www.openclipart.org/image/250px/svg_to_png/TheresaKnott_Santa_Hat.png>",
> >
> > "height" :"250", "
> > width" : "230"
> > }
> > "png_full_lossy" : {"url" :
> >
> "http://www.openclipart.org/image/800px/svg_to_png/TheresaKnott_Santa_Hat.png
> >
> <view-source:http://www.openclipart.org/image/800px/svg_to_png/TheresaKnott_Santa_Hat.png>",
> >
> > "height" :"800",
> > "width" : "760"
> > }
> > }
> > }
> >
> > }
> >
> >
> > --
> > Kind Regards,
> >
> > Wayne
> >
--
Kind Regards,
Wayne Connolly
MeaSanctum Pty Ltd
Ph: 03 9018 2675<-Vic dial 03 also
Mobile: 0417 119 337
PennytelVoip: 8889242142
Skype: wayne-connolly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20101115/5ad945ba/attachment.html>
More information about the clipart
mailing list