gtryf / sitecore.sitemap.xml Goto Github PK
View Code? Open in Web Editor NEWSitecore module to automatically generate sitemap.xml files based on CMS content
License: MIT License
Sitecore module to automatically generate sitemap.xml files based on CMS content
License: MIT License
Hey George,
We are working with your module on a Sitecore site and have been able to get things to work mostly, but have been stymied by a cryptic error that complains that the GUID supplied in the <includeTemplates>
{guid}
Simply using the Home page template, the building of the sitemap fails with:
"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."
The Sitecore version is 7.2 initial release.
Any idea why this might happen?
hi, I would like to make use of your sitemap project in a commercial project i am working on. Is that ok? Theres no license on the repo so thought I should check we have your permission? If that is the case, could you please add a MIT or other appropriate licence to the repo.
cheers,
Adam
The code in Sitecore.Modules.SitemapXML.SitemapManager.GetSitemapItems (see below) assumes that site's are using extranet\Anonymous user, especially the domain (extranet) assumption can be incorrect as Sitecore allows for sites to have different default domain (configured in element), which is usually used in a multi-site scenario.
Sitecore.Security.Accounts.User user = Sitecore.Security.Accounts.User.FromName(@"extranet\Anonymous", true);
using (new Sitecore.Security.Accounts.UserSwitcher(user))
The correct code, should read the default domain from site's context (Sitecore.Context.Site.Domain)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.