public domain art gallery
the xml-feed of draw-o-net is a public data source. this xml-feed links to the entire stock of draw-o-net pictures that has been created up to the present moment.
to download the xml-feed connect to:
http://www.drawonet.com/feed/xml/[?limit=1&sort=recent&from=0]
you may pass three optional parameters to the xml file to specify your request:
limit
- amount of entries that will be returned
- accepts any number from 1 to 50
- default is 1
sort
- the sort criteria for the entries
- accepts "top", "recent", "none"
top: shows the best rated entries. this feature is NOT implemented yet, but will be available soon
recent: sorts chronologically, starting with the newest pictures
none: presents the images in random order
- default is "recent"
from
- number of entries that will be skipped (in order of sort) before the first image is returned
- accepts any number greater or equal to 0 (0 means no image is skipped)
- default is 0
examples
to get the top 10 images:
www.drawonet.com/feed/xml/?sort=top&limit=10
to get images 31 to 40 in chronological, descending order:
www.drawonet.com/feed/xml/?sort=recent&from=30&limit=10
to get the newest (1) image:
www.drawonet.com/feed/xml/
xml-feed structure
<images>
<img>
<url>filename and location: http://url/imagename.png</url>
<message>string: text</message>
<author>string: text</author>
<date>integer, Unix timestamp: 1143721975</date>
<rank>integer: 999</rank>
</img>
<img .../>
</images>