<?
// Use the following syntax $param = ’value’;
?>
I get this with every ditto call I make on
http://sawdemo.wavestatic.com
I’m using ditto 2.02
I’m trying to fix it here in particular
http://sawdemo.wavestatic.com/index.php?id=12
call:
<?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_tpl`&dateSource=`editedon`&summarize=`500`&total=`500`&sortBy=`createon`&depth=`6`&showInMenuOnly=`1`!]
</urlset>
chunk:
<url>
<loc>[(site_url)][~[+id+]~]</loc>
<lastmod>[+date+]</lastmod>
<priority>[+priority+]</priority>
</url>
You have php allow short tags set to off. The simple fix is to edit the default config file in the configs folder to have <?php as its first line.