This is probably an easy answer, but I am trying to set up the [[!GoogleSiteMap]] snippet on a pure XML page (the snippet generates its own header). I can’t get the page to render unless the page has the HTML doctype declared:
quick sample >
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XML Sitemap</title>
</head>
<body>
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.alternativemedicinedirect.com/</loc>
<lastmod>2011-07-13</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
I know I am overlooking something very simple here. I have tried ’no template’ and a ’blank template’, but the snippet doesn’t return anything without the html doctype... and quick help?
...............
REVO 2.1.2
UPDATE *********
Set the Template to Empty, then in the Page settings tab, select XML from the content type. It was late :/