[Clipart] Re: Fwd: [Open Clip Art Library] New Clip Art Browser
Jon Phillips
jon at rejon.org
Fri Mar 23 16:23:48 PDT 2007
On Fri, 2007-03-23 at 18:10 -0500, Jeff Schiller wrote:
> Jon,
>
> What language? PHP? I'm occasionally on the IRC channel as "codedread"...
>
> Jeff
Cool...yes, a php script that does the cleansing of PHP files that we
could use to filter SVG through both for server-side-processing like:
http://openclipart.org/tools/sanesvg.php?path_to=people/name/file.svg&any_other_options
The best though would be to have some class for cleaning svg and saving
out the good stuff which can be used in this sanesvg.php script and also
hook into our upload process, cool?
Jon
> On 3/23/07, Jon Phillips <jon at rejon.org> wrote:
> > On Mon, 2007-03-19 at 11:07 -0500, Jeff Schiller wrote:
> > > Jon,
> > >
> > > Any reply on this yet?
> > >
> > > The issue at hand may be a "philosophical" one, but I think it boils
> > > down to the fact that I believe submissions to OCAL should be mandated
> > > with width="100%" and height="100%" until browsers have properly
> > > implemented the "SVG embedding" mechanism that's supposed to override
> > > the <svg>'s width/height
> > > (http://www.w3.org/TR/SVG11/coords.html#ViewportSpace).
> > >
> > > I know "mandating" this will be impossible but until that happens,
> > > browser vendors have kind of screwed it up for making a nice clip art
> > > browser mashup like http://www.codedread.com/ocal-browse.php purely on
> > > the client side. Now the OCAL website, could do something like have a
> > > PHP script that reads in a SVG clip art file, then spits back the same
> > > SVG with the width/height/viewBox attributes modified accordingly.
> > > This would be the best approach from my perspective and would keep
> > > your traffic local...
> >
> > That is true...we have thought about adding a cleansing step in the
> > process of uploading a file.
> >
> > Could you provide us a script that does this? That would help us out.
> >
> > Please join our list :)
> >
> > Jon
> >
> > > Regards,
> > > Jeff
> > >
> > > On 3/8/07, Jon Phillips <jon at rejon.org> wrote:
> > > > On Thu, 2007-03-08 at 17:02 -0600, Jeff Schiller wrote:
> > > > > Hello,
> > > > >
> > > > > This mail was rejected from your web form from at OCAL, I have no idea
> > > > > why. Maybe it doesn't like my gmail domain? Bryce, not sure if
> > > > > you're still involved directly with OCAL.
> > > > >
> > > > > Also, I'd like to say that your captcha is pretty sucky - there's one
> > > > > character in particular that I can't tell if it's a lower-case 'e' or
> > > > > a funky '2', but both were rejected. I'm attaching the captcha
> > > > > screenshot - what is that second character?!?
> > > > >
> > > > > So this is my fourth attempt to send this email - I hope it reaches
> > > > > the right person this time! :)
> > > > >
> > > > > Thanks,
> > > > > Jeff
> > > >
> > > > Message received...I'll reply more in a bit...
> > > >
> > > > Jon
> > > >
> > > > > ---------- Forwarded message ----------
> > > > > From: clipart-owner at lists.freedesktop.org <clipart-owner at lists.freedesktop.org>
> > > > > Date: Mar 8, 2007 4:54 PM
> > > > > Subject: [Open Clip Art Library] New Clip Art Browser
> > > > > To: codedread at gmail.com
> > > > >
> > > > >
> > > > > You are not allowed to post to this mailing list, and your message has
> > > > > been automatically rejected. If you think that your messages are
> > > > > being rejected in error, contact the mailing list owner at
> > > > > clipart-owner at lists.freedesktop.org.
> > > > >
> > > > >
> > > > >
> > > > > ---------- Forwarded message ----------
> > > > > From: codedread at gmail.com
> > > > > To: fwd2clipartlist at rejon.org
> > > > > Date: Thu, 8 Mar 2007 14:54:31 -0800 (PST)
> > > > > Subject: [Open Clip Art Library] New Clip Art Browser
> > > > >
> > > > > Hello,
> > > > >
> > > > > I designed a little web page that monitors the Atom feed from OCAL and
> > > > > displays the latest images in thumbnails at
> > > > > http://www.codedread.com/ocal-browse.php
> > > > >
> > > > > It looks pretty good, but because of a variety of issues (too long to
> > > > > explain in this short 1000-char limited box), I have to use some
> > > > > server-side programming to suck over the SVG, change some of the
> > > > > attributes (like width/height/viewBox) before it will display properly
> > > > > in browsers like Opera 9 and Firefox 1.5+. As a result, it's a very
> > > > > heavy download everytime and doesn't allow browser caching of the SVG
> > > > > documents directly.
> > > > >
> > > > > I'd like to share with you some suggestions/thoughts I had via email,
> > > > > please contact me. If you'd like, I can give you the code (PHP, JS,
> > > > > XHTML) that I used so you can do the same thing on openclipart.org
> > > > > directly to browse tags, latest clips, etc.
> > > > >
> > > > > Thanks,
> > > > > Jeff Schiller
> > > > --
> > > > Jon Phillips
> > > >
> > > > San Francisco, CA
> > > > USA PH 510.499.0894
> > > > jon at rejon.org
> > > > http://www.rejon.org
> > > >
> > > > MSN, AIM, Yahoo Chat: kidproto
> > > > Jabber Chat: rejon at gristle.org
> > > > IRC: rejon at irc.freenode.net
> > > >
> > > >
> > --
> > Jon Phillips
> >
> > San Francisco, CA
> > USA PH 510.499.0894
> > jon at rejon.org
> > http://www.rejon.org
> >
> > MSN, AIM, Yahoo Chat: kidproto
> > Jabber Chat: rejon at gristle.org
> > IRC: rejon at irc.freenode.net
> >
> >
--
Jon Phillips
San Francisco, CA
USA PH 510.499.0894
jon at rejon.org
http://www.rejon.org
MSN, AIM, Yahoo Chat: kidproto
Jabber Chat: rejon at gristle.org
IRC: rejon at irc.freenode.net
More information about the clipart
mailing list