I am doing the Google sitemaps as covered by the sticky and by the link at
http://webbake.com/tutorials/modx-cms/google-sitemap-with-ditto
I have it 99% there except that something in this ditto call is adding this line of code below to my xml file which prevents it from parsing. Any clue what is adding it? I’ve gone though every file, the TVs, the chunk, and the sitemap.xml file and nothing appears to be wrong. It works when viewing it live but on my local test server I get this code inserted.
<?
// Use the following syntax $param = 'value';
?>
This is the exact code I am using
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
[[Ditto? &dateFormat=`%Y-%m-%d`&startID=`0`&tpl=`google_sitemap`&displayArchive=`0`&dateSource=`editedon`&summarize=`500` &total=`500`&sortBy=`createdon`&depth=`2`&showInMenuOnly=`1`&filter=`type,document,1`]]</urlset>
Thanks for any help, this is driving me loco!