<![CDATA[ [Tutorial] Google Sitemap with Ditto - MODX Community Forums]]> https://forums.modx.com/thread/?thread=41404 <![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240141
The reason your browser tells you that there is no style information available is that XML can be converted into other formats with a language called XSLT, similarly to how CSS can be used to style (x)HTML (although a lot more complex).

@distant_smile They can all be set to 1 if you want: the reason they shouldn’t be is that the number indicates the relative importance of a page on a scale of 0 to 1.

Some people will inevitably try and set all their pages to 1 to try and make them look more important to search engines, but the people who write search engine algorithms aren’t stupid and will simply ignore this. The priority is simply a good way of picking out the most important pages on your site so that they will be found instead of less important pages.]]>
legio_noctis Mar 13, 2011, 02:00 PM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240141
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240140
This XML file does not appear to have any style information associated with it. The document tree is shown below.

<?xml version="1.0" encoding="UTF-8"?> is missing and
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> is shown as just <urlset>

I copied to code from the tutorial and it is all there.
<?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        [!Ditto?&dateFormat=`%Y-%m-%d` &parents=`0` &tpl=`google-sitemap-tpl` &displayArchive=`0` &dateSource=`editedon` &summarize=`500` &total=`500` &sortBy=`createon` &depth=`6` &showInMenuOnly=`1`!]
    </urlset>


Here is the link http://devzg.zerogravitywebworks.com/sitemap.xml.

Does anyone have any ideas?]]>
zerograv Mar 12, 2011, 08:34 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240140
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240139
Is that acceptable?]]>
distant_smile Jan 29, 2011, 07:29 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240139
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240138 sottwell Oct 13, 2010, 04:30 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240138 <![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240137 Quote from: legio_noctis at Oct 07, 2010, 06:35 AM

If the snippet is correct, it might be cached in this state. Try replacing the square brackets with [! !] (so [!MySnippetHere?foo=bar !] ) to stop MODx caching the result of the snippet call.

You have typo in snippet call:

[!MySnippetHere? &foo=`bar` !]

Dont omit the & and ` characters]]>
dafyk Oct 13, 2010, 03:41 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240137
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240136 ]]> legio_noctis Oct 07, 2010, 03:43 PM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240136 <![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240135
Cleared the cache.

It’s really strange.]]>
markg Oct 07, 2010, 02:08 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=6#dis-post-240135
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240134
Edit: added backticks.]]>
legio_noctis Oct 07, 2010, 01:35 AM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240134
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240133
now it’s simply stopped working.

It was working yesterday and now it’s not.

I haven;t changed anything.

All I get is a
No Documents Found
message.

Very strange.]]>
markg Oct 06, 2010, 07:48 PM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240133
<![CDATA[Re: [Tutorial] Google Sitemap with Ditto]]> https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240132 The Ditto manual has instructions on filtering: try evaluating the TV this way.]]> legio_noctis Oct 05, 2010, 01:07 PM https://forums.modx.com/thread/41404/tutorial-google-sitemap-with-ditto?page=5#dis-post-240132