[Clipart] Navigation in the OCAL

Jonadab the Unsightly One jonadab at bright.net
Mon Sep 5 18:49:47 PDT 2005


Petr Vaněk <petr at scribus.info> writes:

> ok, this is new for me. It's hardly usable except of the file size -
> I cannot enforce user to download 4.5MB when he wants to use OCAL
> browser. 

Okay.  A manifest that only listed each file once would be rather
smaller, so perhaps we should look into that.

> Yes, I can use some caching methods etc. but it's very large file.
> BTW how often is it updated?

Currently, it is updated at the same times as the browse/navigation
files, i.e., with each monthly release.  (It is present in the monthly
full release file, which we just unpack and install as it stands at
http://www.openclipart.org/clipart
for the on-site navigate/browse interface to use.)

> Actually I still think manifest should be useful.
> index:
> + better for the contents categorizing
> - file size (idea: should be used some patches/diffs for updating?)

There is currently no easy way to generate a minimal-size diff of the
index, because the entries in it are sorted rather arbitrarily
(however they come out of a Perl hash structure, IIRC).  That could be
changed, though.

> manifest:
> - lack the keywords and metadata
> + file size. It can be downloaded through dialup too (yep, I know
> some people using dialup still;))

I use a dialup connection myself.

The manifest could have the keywords and stuff, and yet still list
each file only once.  The big index lists each file once for each
keyword it contains, plus once more for the author, plus once more for
the title, plus IIRC once more for each word in the title.  It's still
not large compared to the whole release, so I don't think its size is
a problem for inclusion there, but I can see how an app that is
dynamically pulling in the content remotely would consider it large,
and might prefer a list-each-file-once manifest.

> Sure. I can imagine that will be included only basename of the file. E.g.:
> mycoolimage.svg
> mycoolimage.png
> mycoolimage.info
> =>
> <item somemetadata="" as="" attributes="">mycoolname</item>
> 
> Then I know that I should append some extension. Anyway it depends on the 
> chosen implementation.

I will try to find time to put some thought into this, although the
amount of time I've been putting into OCAL for the last couple of
weeks will not be possible for me to do in the next couple of weeks,
as I'm going to be a bit busier elsewise than I've been.  Still, this
might not take very long, so I will try to look into it.

So, I filed a bug for this:
https://bugs.freedesktop.org/show_bug.cgi?id=4360

-- 
Open Clip Art Library:  Drawing Together
http://www.openclipart.org/




More information about the clipart mailing list