[Clipart] RSS Results and crossdomain.xml

Wayne Connolly wayne.connolly at measanctum.com
Sun Jan 30 18:23:37 PST 2011


Hi guys -

We have a cms that we are adding open clipart searching to however we 
need to be able to find the height of a image like this 
http://www.openclipart.org/image/250px/svg_to_png/warszawianka_weather-storm.png

Currently the rss results for a search dont give us that. (we actually 
do a string replace on the URL to get the PNG version of the SVG which 
is not very optimal but gets the job done).

+++++++++++++

       {
          "title":"tango weather storm",
          "link":"http:\/\/www.openclipart.org  <http://www.openclipart.org>\/detail\/30163",
          "pubDate":"2010-03-08 06:59:39",
          "description":" Weather icon from Tango Project: http:\/\/tango.freedesktop.org\/Tango_Desktop_Project\n<br><br>\nTango Project icons are Public Domain. ",
          "enclosure":
          {
             "@attributes":
             {
                "url":"http:\/\/www.openclipart.org  <http://www.openclipart.org>\/people\/warszawianka\/weather-storm.svg",
                "type":"octect\/stream"
             }
          },
          "guid":"http:\/\/www.openclipart.org  <http://www.openclipart.org>\/detail\/30163"
       },


+++++++++++++

Also we need a crossdomain.xml file at the root of open clip art. This 
allows Adobe Flash apps to access files on the server - currently we get 
the below error.

Warning: Failed to load policy file from 
http://www.openclipart.org/crossdomain.xml

Add this to a file at your root(from 
http://resources.esri.com/help/9.3/arcgisserver/apis/flex/help/index.html#references/using_crossdomain_xml.htm#).

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
     <site-control permitted-cross-domain-policies="all"/>
     <allow-access-from domain="*"/>
</cross-domain-policy>

Thanks,
Wayne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20110131/70cf9977/attachment.html>


More information about the clipart mailing list