<?xml version="1.0" encoding="utf-8"?>

<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:sc="http://sw.deri.org/2007/07/sitemapextension/scschema.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:tal="http://xml.zope.org/namespaces/tal"
  xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                      http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

  <sc:dataset tal:repeat="doc python:here.getCatalogedObjectsCheckView(
          meta_type=['Naaya Document', 'Naaya File', 'Naaya Folder'],
          approved=1, howmany=-1,
          path=['/'.join(x.getPhysicalPath()) for x in here.getMainTopics()])">
    <sc:dataDumpLocation tal:content="python:doc.absolute_url()" />
    <sc:datasetLabel tal:content="python:doc.title_or_id()" />
  </sc:dataset>

  <sc:dataset tal:repeat="doc python:here.getCatalogedObjectsCheckView(
          meta_type=['Naaya Event'], approved=1)">
    <sc:dataDumpLocation tal:content="python:doc.absolute_url()" />
    <sc:datasetLabel tal:content="python:doc.title_or_id()" />
  </sc:dataset>

  <sc:dataset tal:repeat="doc python:here.getCatalogedObjectsCheckView(
          meta_type=['Naaya News'], approved=1)">
    <sc:dataDumpLocation tal:content="python:doc.absolute_url()" />
    <sc:datasetLabel tal:content="python:doc.title_or_id()" />
  </sc:dataset>

</urlset>
