[Clipart] Navigation in the OCAL
Petr Vaněk
petr at scribus.info
Sat Sep 3 00:46:19 PDT 2005
On Saturday 03 of September 2005 05:20, Greg Steffensen wrote:
> Hey Petr- I've actually been working on a similar project for OCAL for the
> past few months, and vividly recall working through the issues you're
> describing. You can check out the code at
yep, I've seen this app before too.
> Ironically, my code was initially designed as an Inkscape extension,
> analagous to what you're doing, but was made into a standalone program in
> the hope that it would be usable by other projects as well, very
> specifically including Scribus. Check out the code; its also in python, and
> a lot of the features you're trying to add have already been implemented,
> and its been through several releases and a bit of testing already. There's
> some bad news of course; it uses GTK, instead of QT, but that's not an
> insurmountable problem. If you'd like to get integrated into Scribus'
> extension system (since Scribus 1.3.0 doesn't appear to support drag-drop
> or copy-paste of SVG images from external programs), I'd be glad to help,
> and even if not, a lot of the code could be reused, such as the metadata
> parser.
OK. The GTK vs. Qt question is not main problem (such as philosophical one
which I don't care ;)) as there is main library browsing code located
in /modules/ files (local/network). These libraries can be used in any Python
code as is. Good work.
There is 2nd point of view. What I suggest is to have server-side "table of
contents" of the OCAL. Which can (imho of course) simplify e.g. the
ocal_net.py a lot. I can see a very easy integration into existing
application too. It's just one download and one parsing of the small file.
You know, optimizations (and cool XML in manager's newspeak ;))
Conclusion: easy (for me)
I can imagine using your standard OCAL browser (with submited optional Qt
interface to keep Qt look and feel) as I really like to reuse the other's
work. It will need to learn Scribus use copy-pasted SVG (it's not trivial) or
fix strange installing behaviour of 3rd. party extension at:
http://henning.cco-ev.de/scribus/
Conclusion: bloated (for me of course)
--
Petr Vanek
www.scribus.info - petr at scribus.info
www.yarpen.cz - petr at yarpen.cz
Kuolema Kaikille (Paitsi Meille)
Today is good day to end it all
-------------- 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/20050903/9fba87a0/attachment.pgp>
More information about the clipart
mailing list