<configure
  xmlns="http://namespaces.zope.org/zope"
  xmlns:five="http://namespaces.zope.org/five"
  xmlns:zcml="http://namespaces.zope.org/zcml"
  >

  <!-- zope.annotation is used in Zope 2.10 -->
  <include
    zcml:condition="installed zope.annotation"
    package="zope.annotation"
    />

  <!-- zope.app.annotation is used in Zope 2.9
    We know that zope.app.annotation.tests is only installed there. -->
  <include
    zcml:condition="installed zope.app.annotation.tests"
    package="zope.app.annotation"
    /> 

  <!--  
    PleiadesGeocoder.interfaces.IGeoAnnotatableContent and IGeoFolder are to
    be used as markers for IGeoItemSimple and IGeoCollectionSimple adaptability
    -->
 
  <adapter
    for=".interfaces.IGeoAnnotatableContent"
    provides=".interfaces.IGeoItemSimple"
    factory=".geo.GeoItemSimple"
    />

  <adapter
    for=".interfaces.IGeoFolder"
    provides=".interfaces.IGeoCollectionSimple"
    factory=".geo.GeoCollectionSimple"
    />

  <five:implements
    class="Products.ATContentTypes.content.base.BaseContent"
    interface=".interfaces.IGeoAnnotatableContent"
    />

  <five:implements
    class="Products.ATContentTypes.content.base.BaseContent"
    interface=".interfaces.IGeoFolder"
    />

  <five:implements
    class="Products.ATContentTypes.content.folder.ATFolder"
    interface=".interfaces.IGeoFolder"
    />

  <five:implements
    class="Products.ATContentTypes.content.topic.ATTopic"
    interface=".interfaces.IGeoFolder"
    />

  <!-- 
    PleiadesGeocoder.interfaces.IGeoserializable and IGeoreferenceable are
    markers for viewability through the @@geo view
    -->

  <five:implements
    class="Products.ATContentTypes.content.base.BaseContent"
    interface=".interfaces.IGeoreferenceable"
    />

  <five:implements
    class="Products.ATContentTypes.content.base.BaseContent"
    interface=".interfaces.IGeoserializable"
    />
    
  <five:implements
    class="Products.ATContentTypes.content.folder.ATFolder"
    interface=".interfaces.IGeoserializable"
    />

  <five:implements
    class="Products.ATContentTypes.content.topic.ATTopic"
    interface=".interfaces.IGeoserializable"
    />

  <include package=".browser"/>

</configure>

