cofoundry-cms / cofoundry.plugins.sitemap Goto Github PK
View Code? Open in Web Editor NEWAdds dynamic sitemap functionality to a Cofoundry site
License: MIT License
Adds dynamic sitemap functionality to a Cofoundry site
License: MIT License
Hi I've added the sitemap nuget package to my Cofoundry project.
Navigating to /sitemap.xml shows all the correct adresses for my pages however I have one problem:
The last modified date is the date of when the page was created, modifying this page (i.e. adding additional content to the page via page blocks) does not update this date.
Is this the intentional way the package should behave or did I miss some implementation?
This is a problem for me as SERPs can use the sitemap.xml file to know if a site has been updated or not, something that's rather important for blogs.
Thank you.
Hi, HeyJoel Please let me know how to edit the sitemap.xml file. Because I want to change the base URL https://abc.com to https://www.abc.com
Thank you.
Hello,
When we are not in US culture, the priority can be in a bad format: in fr-FR for instance, it is with a comma instead of a point.
Could you force the culture to invariant culture in order to prevent this problem?
Thanks
Hello,
It seems there is a mistake in the file : Cofoundry.Plugins.SiteMap.CofoundryContentSiteMapResourceRegistration
private decimal GetPriority(PageRoute pageRoute)
{
var isDirectoryDefaultPage = pageRoute.IsDirectoryDefaultPage();
var isInSiteRoot = pageRoute.PageDirectory.IsSiteRoot();
// Site/Language root
if (isDirectoryDefaultPage && isDirectoryDefaultPage) return 1;
// Directory root
if (isDirectoryDefaultPage) return 0.8m;
// Directory sub pages
return 0.6m;
}
I think it would be :
if (isInSiteRoot && isDirectoryDefaultPage) return 1;
Regards
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.