<{
	{content_type "application/rss+xml"}
	'<?xml version="1.0" encoding="UTF-8"?>'

	'<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'
	'<url><loc>' aurl '</loc></url>'

	{foreach stories_by_date {
		'<url><loc>'
		{aurl 'STORY' 'topic' $0 'id' $1}
		'</loc></url>'
		}
	}

	{foreach topics {
		'<url><loc>'
		{aurl 'TOPIC' 'topic' $0}
		'</loc></url>'
		}
	}

	'</urlset>'
}>