Hi,
I am quite happy with all the zgeo.* and related products, thanks.
However, on my Plone site I need to add coordinates to all sort of
content-objects (and also onto non-AT based content).
The attached patch adds the zope.dublincore - ICMFDublinCore interface
to the actual CMF and AT dublincore implementations instead of to some
specific content-object implementations. Additionally IGeoreferenceable
is applied on the CMF-Basetype PortalContent (which is also base for
AT-types.).
From an interface point of view this change does not make any
difference, but allows to use zgeo.plone.geographer with almost any
content-object in a plone site.
I thought I'd share this.
cheers,
Gerhard
Index: zgeo/plone/geographer/configure.zcml
===================================================================
--- zgeo/plone/geographer/configure.zcml (revision 1312)
+++ zgeo/plone/geographer/configure.zcml (working copy)
@@ -8,25 +8,20 @@
<include package="zgeo.geographer"/>
<five:implements
- class="Products.ATContentTypes.content.base.BaseContent"
+ class="Products.CMFCore.PortalContent.PortalContent"
interface="zgeo.geographer.interfaces.IGeoreferenceable"
/>
<five:implements
- class="Products.ATContentTypes.content.base.BaseContent"
+ class="Products.CMFDefault.DublinCore.DefaultDublinCoreImpl"
interface="zope.dublincore.interfaces.ICMFDublinCore"
/>
<five:implements
- class="Products.ATContentTypes.content.folder.ATFolder"
+ class="Products.Archetypes.ExtensibleMetadata.ExtensibleMetadata"
interface="zope.dublincore.interfaces.ICMFDublinCore"
/>
- <five:implements
- class="Products.ATContentTypes.content.folder.ATBTreeFolder"
- interface="zope.dublincore.interfaces.ICMFDublinCore"
- />
-
<subscriber
handler=".event.reindexDocSubscriber"
for="zgeo.geographer.event.IObjectGeoreferencedEvent"
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community