[Clipart] Re: CCHost help

tom whiteley tom.whiteley at gmail.com
Sun Apr 29 12:08:52 PDT 2007


Hi,

Here's the test code, perhaps this is completely the wrong way to do it.

Thing is I don't know what event I should attach to, to add this to
each search result.

Thanks for any help

Tom.

On 4/28/07, Jon Phillips <jon at rejon.org> wrote:
> On Wed, 2007-04-25 at 23:05 +0100, tom whiteley wrote:
> > Hi,
> >
> > I've been trying to write a plugin to put a digg it button next to
> > search results for starters, but I just can't get it to work.
> >
> > I can get some examples from the developer doc to work, but I can't
> > work out what event I need to attach to, to add the script code next
> > to each search result.
> >
> > Could you give me some pointers?
> >
> > Cheers,
> >
> > Tom.
>
> Heya Tom, can you put your code up somewhere where we can get at it?
>
> Jon
>
> >
> > On 4/20/07, Jon Phillips <jon at rejon.org> wrote:
> > > On Wed, 2007-04-18 at 11:03 +0100, tom whiteley wrote:
> > > > I'd still like to look at generating thumbnails, as I think that is a
> > > > major feature lacking from the current site.
> > > >
> > > > But..
> > > > I'm still a bit confused about what I'm looking at browsing the cvs
> > > > and cchost, I think a lot of it relates to the old website, but I
> > > > can't tell if it's still being used or not. I'm not sure where the
> > > > boundary between cchost and clipart specific stuff is...
> > >
> > > The old cvs module is not relevant. ccHost is the entire installation.
> > > Ideally, all that is needed to convert a raw ccHost installation to Open
> > > Clip Art Library is a database dump and import to the raw ccHost instal
> > > and then you should be off and running with the normal openclipart.org
> > > setup.
> > >
> > > > Not being fluent in PHP doesn't help of course, but I can't find the
> > > > database schema either if there is one? Or perhaps it's contained in
> > > > cchost?
> > >
> > > No, it is installed into mysql upon installation of ccHost.
> > >
> > > > Perhaps I'm being over ambitious, is there something simpler you could
> > > > suggest that might help me understand what's going on?
> > > >
> > > > Cheers,
> > > >
> > > > Tom.
> > >
> > > That is a good question. Possibly adding a simple plug-in is a good
> > > thing to do.
> > >
> > > http://mirrors.creativecommons.org/cchost/docs/
> > >
> > > How about this: adding a plugin that has a user-switch for turning on
> > > SVG-based thumbnails rather than the img ones which are broken. Or,
> > > adding a plugin for adding a digg/other social bookmarking links to each
> > > upload?
> > >
> > > Jon
> > >
> > > >
> > > > On 4/17/07, Jon Phillips <jon at rejon.org> wrote:
> > > > > On Mon, 2007-04-16 at 22:26 +0100, tom whiteley wrote:
> > > > > > GPL'ed and committed....to hopefully the right place....
> > > > > >
> > > > > > Tom.
> > > > >
> > > > > You rule...so what would you like to do next? I need to setup that dev
> > > > > documentation on the site. Still, without, just bare ccHost should be
> > > > > enough to hack on things...
> > > > >
> > > > > you rule!
> > > > >
> > > > > Jon
> > > > >
> > > > > > On 4/14/07, Jon Phillips <jon at rejon.org> wrote:
> > > > > > > On Fri, 2007-04-13 at 09:51 +0100, tom whiteley wrote:
> > > > > > > > Cool, thanks.
> > > > > > >
> > > > > > > Very cool...Tom, could you commit this script to our tools folder on the
> > > > > > > clipart_web/tools folder. This is mega useful.
> > > > > > >
> > > > > > > You know, maybe a good time to do a release of our tools package too :)
> > > > > > >
> > > > > > > Tom, did you GPL your script? That would be great...
> > > > > > >
> > > > > > > Jon
> > > > > > >
> > > > > > > > On 4/13/07, Nicu Buculei (OCAL) <nicu at apsro.com> wrote:
> > > > > > > > > tom whiteley wrote:
> > > > > > > > > > Okay, updated it to remove adobe tags too.
> > > > > > > > > >
> > > > > > > > > > Simple tests seem to work but I don't have adbode Illustrator to test
> > > > > > > > > > with for sure.
> > > > > > > > >
> > > > > > > > > I also don't have Illustrator but tested with a few files downloaded
> > > > > > > > > from OCAL and it worked for me (after I edited it to correct the end
> > > > > > > > > line chars, CR/LF)
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > nicu :: http://nicubunu.ro :: http://nicubunu.blogspot.com
> > > > > > > > > Open Clip Art Library: http://www.openclipart.org
> > > > > > > > > my cool Fedora wallpapers: http://fedora.nicubunu.ro/wallpapers/
> > > > > > > > > my clipart collection: http://clipart.nicubunu.ro/
> > > > > > > > > _______________________________________________
> > > > > > > > > clipart mailing list
> > > > > > > > > clipart at lists.freedesktop.org
> > > > > > > > > http://lists.freedesktop.org/mailman/listinfo/clipart
> > > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > clipart mailing list
> > > > > > > > clipart at lists.freedesktop.org
> > > > > > > > http://lists.freedesktop.org/mailman/listinfo/clipart
> > > > > > > --
> > > > > > > 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
> > >
> > >
> --
> 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
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cc-digg.php
Type: application/x-php
Size: 1137 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/clipart/attachments/20070429/e387979b/attachment.bin>


More information about the clipart mailing list