-
☆ A M B ☆
- 536 Posts
Works perfect, thanks splittingred!
palma non sine pulvere
-
☆ A M B ☆
- 1,231 Posts
I just installed this package in rev and I don’t quite see how to get it working. I have created the 2 chunks required and I have this call in a document that is set to use XML as the content type.
[[!GoogleSiteMap? &containerTpl=`containerTpl` &itemTpl=`itemTpl` &context=`web`]]
I am trying to create a xml sitemap for all pages but this is only showing the page that the snippet is actually on. How do I get it to display all documents that are published rather than only the document it’s included on?
Thanks!
-
☆ A M B ☆
- 1,231 Posts
Any help with this? I can’t seem to get it working.
-
☆ A M B ☆
- 1,231 Posts
I still have issues getting this working, I’m on a different site now using 2.0.7 traditional and the sitemap page is blank.
[[!GoogleSiteMap? &containerTpl=`containerTpl` &itemTpl=`itemTpl` &context=`web`]]
I have 4 documents that are published but that page is blank. The chunks are there and the snippet is installed.
******
EDIT
I just moved all the relevant chunks and snippet out of the category it was related to and the sitemap was generated. Why would this stop the snippets and chunks working? Is this a bug, an incorrect install or what? I did upload all MODX files again via FTP before doing this and it still was not working but removing them from the category made the snippet work.
Also resources and containers created before the snippet was installed are not showing up in the sitemap. I just created a new container and a couple child documents and they showed up. All documents are using the web context and nothing is different between the resources other than the creation date. What should I do about that? Surely I don’t have to redo the documents?
OK... the containers were not searchable. I didn’t realise that would stop the sitemap finding the documents!
Is there any way to control both the priority and frequency, rather than it defaulting to when the resource was last updated?
I am having a problem. If I call it as simple as [[!GoogleSitemap]], everything shows up, which means it is working. But I need to include selective templates/resources in the sitemap, thus I created this:
[tt][[!GoogleSitemap? &allowedtemplates=`3,5,2,15,21,7,8,9`]][/tt]
It only shows the homepage link, a single link in the sitemap and nothing else.
Any clues?
Its on Revo 2.0.7
-
☆ A M B ☆
- 1,056 Posts
Quote from: zi at Feb 24, 2011, 06:16 AM
Any clues?
Its on Revo 2.0.7
@Zi,
One point to double-check: make sure individual Resources have the "Searchable" setting
checked, otherwise they’re excluded from the sitemap. However, since you say everything shows up when NOT passing allowedtemplates parameter, this may not be of any help to you.
You can also check the GoogleSitemap snippet’s default Property Set to make sure everything looks the way it should. In the past, I have limited templates using the property set directly vs. passing the snippet parameter...worth a shot?