I need to make some amends to what is produced in the XML file. Is there any way to do this?
I use umbracoNaviHide property to hide items from my main navigation so there will be other pages I want to include in sitemap.xml file but not on the main navigation. At the moment if I hide a page from my main navigation it also hides from the sitemap.xml
Second option (not recommended) is to change your docType property from umbracoNaviHide to umbracoNaviHide2 and then update this is all your xst/razor scripts.
Edit code
Hi
Is there anyway to edit the source?
I need to make some amends to what is produced in the XML file. Is there any way to do this?
I use umbracoNaviHide property to hide items from my main navigation so there will be other pages I want to include in sitemap.xml file but not on the main navigation. At the moment if I hide a page from my main navigation it also hides from the sitemap.xml
Thanks in advance
Ben
Edit the sitemap xslt and remove the filter on umbracoNaviHide
Hey,
@Daniel, seems like this runs from compiled code, not XSLT.
@Ben, in my opinion you have 2 options:
Switch to a more configurable SiteMap script, plently available here http://our.umbraco.org/search?q=sitemap&content=project, then as Daniel suggests remove the filter for umbracoNaviHide.
Second option (not recommended) is to change your docType property from umbracoNaviHide to umbracoNaviHide2 and then update this is all your xst/razor scripts.
Rich
My mistake... confused with other xslt sitemap generator.
I'd highly recommend using the Cultiv Search Engine Sitemap: http://our.umbraco.org/projects/website-utilities/cultiv-search-engine-sitemap
is working on a reply...