Hi,

This is a vote to promote the org.apache.sling.sitemap to its own
Sling Module. This module contains everything needed to build xml
sitemaps in Sling based applications:

- a mechanism to generate xml sitemaps in the background based on Sling Jobs
- a builder-like API for consumers to create sitemaps
- a Servlet serving sitemap index, pre-generated sitemaps or on-demand
generated sitemaps

The implementation is rather "abstract" and requires consumers to
actively opt-in by

a) implementing a SitemapGenerator (compatible to the application's
content), e.g. extending the ResourceTreeSitemapGenerator
b) setting a sling:sitemapRoot = true property "somewhere" in the content
c) configuring either a schedule for background generation or
implementing the SitemapGenerator to serve the generated sitemaps
on-demand
d) configuring service user(s) and mappings

An example was implemented for the Sling CMS. [1]

1. Code Location: in sling-whiteboard / sitemap [2]
2. Proposed Github repo: sling-org-apache-sling-sitemap
3. Proposed artifact coordinates: org.apache.sling:org.apache.sling.sitemap

Please cast your votes:

  [ ] +1 Approve the promotion
  [ ]  0 Don't care
  [ ] -1 Don't promote, because ...

Votes will be open for at least 72h.

Best,

Dirk

[1] 
https://github.com/apache/sling-org-apache-sling-app-cms/compare/master...Buuhuu:feature/sitemap
[2] https://github.com/apache/sling-whiteboard/tree/master/sitemap

Reply via email to