Is there a way to apply changefreq and priority to all documents of a certain document type? We will be creating a dozen articles a day and I don't want to have to manually set each article's changefreq and priority.
I added the searchEngineSitemapChangeFreq and searchEngineSitemapPriority properties to all document types, and where I enter something manually it works great.
It seemed best to go about this in the XML file. I tried to add an xsl:if that would call the document type by alias, but that doesn't seem to work.
What version of Umbraco are you using? Since you're using uBlogsy I suspect you use Umbraco at least Umbraco 4.6 and the XML schema you're trying to match appears to be the legacy schema, which could be why the above examples does not work.
I'm sure you've figured out by now, as it's nearly been a year, but just to clarify for those who might drop by this when searching, i'll explain the solution.
Exclude a doctype from Cultiv Search Engine Sitemap:
In order to exclude a doctype, you will firstly have to know it's alias.You can view it inside the settings - on the doctype you've created.
Go to the developer section, and open the XSLT file CultivSearchEngineSitemap.xslt
XSLT - Filter Specific Document Types
Is there a way to apply changefreq and priority to all documents of a certain document type? We will be creating a dozen articles a day and I don't want to have to manually set each article's changefreq and priority.
I added the searchEngineSitemapChangeFreq and searchEngineSitemapPriority properties to all document types, and where I enter something manually it works great.
It seemed best to go about this in the XML file. I tried to add an xsl:if that would call the document type by alias, but that doesn't seem to work.
I also desperately tried to set these values for anything that didn't have searchEngineSitemapChangeFreq, but that didn't work either.
What's the right way to do this?
Thanks!
Hi Frost
What version of Umbraco are you using? Since you're using uBlogsy I suspect you use Umbraco at least Umbraco 4.6 and the XML schema you're trying to match appears to be the legacy schema, which could be why the above examples does not work.
Looking forward to hear more about this.
/Jan
Oops, forgot to put that on again, sorry! U 4.7.1, and how exactly do you determine the schema? (Sorry for not knowing.)
Here's part of the XSLT, in case that helps.
Hello Frost,
I'm sure you've figured out by now, as it's nearly been a year, but just to clarify for those who might drop by this when searching, i'll explain the solution.
Exclude a doctype from Cultiv Search Engine Sitemap:
In order to exclude a doctype, you will firstly have to know it's alias.You can view it inside the settings - on the doctype you've created.
And voila! The document type with the alias Video will now be excluded from the sitemap.
// Thomas G
is working on a reply...