Benji York wrote:
Derek Richardson wrote:
The specific case is uuids for atom feed entries. We have annotations
representing feeds and I would like my uuid utility to be local to the
feed annotation, thus recording and making available uuids only for
entries in that feed.
How about a multi-adapter from content and feed to UUID?
Hmmm, to do that I have to be able to annotate an annotation, right? As
the feed is an annotation and that is where I want to store the UUIDs. I
tried this tonight and was unable to make it work - I got the following:
blah, blah, blah
line 84, in __call__
adapter = self.factory(*args)
line 38, in getAnnotation
annotations = IAnnotations(context)
TypeError: ('Could not adapt',
<plone.syndication.syndication.Syndication object at 0x3741530>,
Did you have something else in mind? Or is annotating an annotation
possible and something is wrong in my implementation?
Zope3-users mailing list