-
- 236 Posts
I’m glad you got it working.
https://www.google.com/webmasters/tools/docs/en/protocol.html this is the spec from google, no closing xml tag .. so I’m lost on that one.
also.. did my date format not work correctly?
-
- 194 Posts
&dateFormat=`%Y-%m-%d` should be good, I probably pasted in something different from other Ditto Calls during my attempts
-
- 236 Posts
explain this change frequency thing? I’m sure we can make it work.
-
- 236 Posts
Updated Chunk
<url>
<loc>[(site_url)]/[~[+id+]~]</loc>
<lastmod>[+date+]</lastmod>
<priority>[+tvpriority+]</priority>
<changefreq>[+tvchangefreq+]</changefreq>
</url>
Create a new template variable, like priority, use these values in pipes (value||value)
always||hourly||daily||weekly||monthly||yearly||never
then set a default of your choosing, I used yearly, then adjust to taste. I’m also updating the official guide. on webbake.com
-
- 236 Posts
I think you could use magic_8ball.inc.php or crystal_ball.inc.php , both great future telling classes.
Sorry, I feel the idea is that the person tell google how often they expect to update it.. no script can tell the future or your intentions. I think google already knows about how often it IS updated. as stated on Google’s page it’s a hint.
But hey, thanks for helping making this script better
-
- 198 Posts
sitemap generated includes pages in modx only and not pages/directories that are not in modx but linked to from the site, rite?