[Product Developers] marshaling images in a better way

Kai Diefenbach usenet at diefenba.ch
Thu Mar 29 09:50:07 UTC 2007


Hi, 

Kai Diefenbach <usenet at diefenba.ch> wrote:
> Héctor Velarde <hvelarde at jornada.com.mx> wrote:
> 
> > thanks, Kai; this is great and I'll be happy helping you on the IPTC
> > parsing stuff.
> 
> Cool. I'll create a package in the collective, shortly. Then you can
> contribute your stuff. Is that okay for you?

I've added a first draft of iptc handling to the collective. 

To install put the iptc package in /<instance>/lib/python and register
it in CMFPlone/configure.zcml.

Ah, and http://www.fw.hu/gthomas/python/IPTCInfo-1.9.2-rc5.tar.bz2 is
needed.

For now, there are two (very simple and not finished yet) adapters
included for ATImage and ATNewsItem.

To enable IPTC handling for a specific type one has to mark that type as
IIPTCContent and provide an adaper for IPTC. For convenience there is a
base adapter one can inherit from.

It's working well here, even with webdav (which is very cool) - at least
for images.

As always: any contribution is welcome!

Regards
Kai





More information about the Product-Developers mailing list