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

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="get_viewer_role_info"
    class=".viewerrole.ViewerRole"
    attribute="getViewerRoleInfo"
    permission="silva.ReadSilvaContent"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="minimum_role_submit"
    class=".viewerrole.ViewerRole"
    attribute="submitMinimumRole"
    permission="silva.ChangeSilvaAccess"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="acquire_minimum_role_submit"
    class=".viewerrole.ViewerRole"
    attribute="submitAcquiredMinimumRole"
    permission="silva.ChangeSilvaAccess"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="object_lookup"
    class=".lookup.ObjectLookup"
    template="object_lookup.pt"
    permission="silva.ReadSilvaContent"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="sidebar"
    class=".lookup.SidebarView"
    permission="silva.ReadSilvaContent"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="additional_export_action"
    class=".emptyaction.EmptyAction"
    permission="silva.ChangeSilvaContent"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="additional_status_action"
    class=".emptyaction.EmptyAction"
    permission="silva.ChangeSilvaContent"
  />

  <browser:page
    for="Products.Silva.interfaces.ISilvaObject"
    name="additional_metadata"
    class=".emptyaction.EmptyAction"
    permission="silva.ChangeSilvaContent"
  />

  <browser:page
    for="*"
    name="set_content_type_and_nocache"
    class="Products.Silva.browser.headers.Headers"
    attribute="set_content_type_and_nocache"
    permission="zope2.View"
  />

  <browser:page
    for="*"
    name="set_content_type"
    class="Products.Silva.browser.headers.Headers"
    attribute="set_content_type"
    permission="zope2.View"
  />

  <browser:page
    for="*"
    name="set_nocache"
    class="Products.Silva.browser.headers.Headers"
    attribute="set_nocache"
    permission="zope2.View"
  />

  <browser:page
    for="*"
    name="set_headers"
    class="Products.Silva.browser.headers.Headers"
    attribute="set_headers"
    permission="zope2.View"
  />

  <browser:page
    name="atom.xml"
    for="Products.Silva.interfaces.IContainer"
    class="Products.Silva.browser.feed.ContainerFeedView"
    permission="zope2.View"
    template="atom.pt"
  />

  <browser:page
    name="rss.xml"
    for="Products.Silva.interfaces.IContainer"
    class="Products.Silva.browser.feed.ContainerFeedView"
    permission="zope2.View"
    template="rss.pt"
  />

  <browser:resourceDirectory
    name="silva_scripts"
    directory="scripts"
    permission="zope2.Public"
  />

  <include file="smi.zcml" />

</configure>
