[Clipart] open clipart webservice.

Thomas Zander zander at kde.org
Tue Apr 17 03:23:11 PDT 2007


Hello,

I'm a core member of the KOffice[1] team and we are busy preparing the 2.0 
release. As one of the major changes in KOffice2 we moved svg support 
from being only usable in Karbon, to being usable in almost all KOffice 
applications. Applications that currently have this support are Karbon, 
Krita and KWord.  More will follow.

In KOffice2.0 we will ship a so called 'Shape Selector'. Which allows the 
user to insert content into his document by selecting a template 
visually.
I had the idea that we should have a better integration with 
openClipart.org directly in KOffice, in the Shape Selector. Which to me 
means that no webbrowser would be needed, and no manual saving of the 
clipart locally before being able to insert it into the document. We 
would have a clip art browser with similar functionality as 
http://openclipart.org/media/tags but more interactive.

For that to happen we should be able to query the clipart database, and be 
able to do it without having to parse html.  The ideal method to do this 
is to have the openclipart.org website generate xml documents instead of 
html.
For example we'd have openclipart.org/service/tags.xml which would contain 
an xml fragment like;
 <tags><tag items="7">athletics</tag>
etc.
and another page like;
openclipart.org/service/clipart?id=123
 <clipart><name>Bad hair day</name><tags><tag>girl</tag> 
<date>200611012222</date><url>http://foo.bar/bhd.svg</url> 
<rating>3.44</rating><license><public-domain/></license>
<thumb>http://foo.bar/bhd.png</thumb>
</clipart>

Is this something you guys would be interrested in?
The webpages would not be too hard to write, I'd say. The output format is 
not too strict so it would be a matter of writing a php page with the 
tags and database access.

1) http://www.KOffice.org
-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20070417/1746decc/attachment.pgp>


More information about the clipart mailing list