Skip to content

Show blog posts on the sitemap page #503

@CrispinF

Description

@CrispinF

Blog posts are included a site's xml sitemap API (/api/sitemap ) but not in the UI sitemap /sitemap
This was discussed a long time ago under a client project, and @joeaudette noted that this would be a very quick change. He also remarked:

I think that as the number of blog posts grows there is potential for it to get unwieldy, we should probably set a limit on how many posts we would show there.

Most blogs I know have tens or at most a few hundred posts, so we're unlikely to run into problems with page size or load time, but just in case we could add a new config setting for this with a default of perhaps 500. MaxBlogPostsOnSiteMapPage or similar.
But large numbers of posts would create a usability issue with the sitemap as it is constructed now - a simple hierarchy of un-ordered lists. Perhaps the blog posts could be contained in a collapsed container within the list, or we could use the jquery tree view that is used in the Page Manager, with all nodes expanded by default other than the blog posts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions