
Make a topic in our folder

    >>> self.setRoles(('Manager',))

    >>> folder = self.folder
    >>> oid = self.folder.invokeFactory('Large Plone Folder', 'large', title='Large')
    >>> large = self.folder[oid]

Add geo-referenced content

    >>> oid = large.invokeFactory('Document', 'doc', title='A Document', description='A test document')
    >>> doc = large[oid]
    >>> from zgeo.geographer.interfaces import IWriteGeoreferenced
    >>> geo = IWriteGeoreferenced(doc)
    >>> geo.setGeoInterface('Point', (-105, 40))

Test the KML document view

    >>> from Products.PloneTestCase.setup import portal_owner, default_password
    >>> r = http(r"""
    ... GET /plone/Members/test_user_1_/large/@@atom-syndication-feed HTTP/1.1
    ... Authorization: Basic %s:%s
    ... """ % (portal_owner, default_password), handle_errors=False)
    >>> r.getStatus()
    200
    >>> r.getHeader('Content-Type')
    'application/atom+xml'
    >>> print r.getBody()
    <?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom"
          xmlns:georss="http://www.georss.org/georss"
          xmlns:gml="http://www.opengis.net/gml">
    <BLANKLINE>
    <BLANKLINE>
      <title>Large</title>
      <link href="http://localhost/plone/Members/test_user_1_/large/@@atom-syndication-feed"
            type="application/atom+xml" rel="self"/>
      <link href="http://localhost/plone/Members/test_user_1_/large"
            type="text/html" rel="alternate"/>
      <link href="None" type="application/atom+xml"
            rel="previous-archive"/>
    <BLANKLINE>
      <updated>200...Z</updated>
      <author>
        <name>test_user_1_</name>
        <uri></uri>
        <email></email>
      </author>
      <id>urn:uuid:...</id>
    <BLANKLINE>
      <entry>
        <title>A Document</title>
        <link href="http://localhost/plone/Members/test_user_1_/large/doc"
              type="text/html" rel="alternate"/>
        <id>urn:uuid:...</id>
        <updated>200...Z</updated>
        <summary>A test document</summary>
    <BLANKLINE>
        <georss:where>
          <gml:Point>
            <gml:pos>40.000000 -105.000000</gml:pos>
          </gml:Point>
        </georss:where>
    <BLANKLINE>
    <BLANKLINE>
    <BLANKLINE>
      </entry>
    <BLANKLINE>
    </feed>
    <BLANKLINE>
    <BLANKLINE>
    <BLANKLINE>
