This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Add .xml sitemap config flag to /system

Avatar: Virgile Deville Virgile Deville
15/02/2021 12:24  
Finished

Is your feature request related to a problem? A clear and concise description of what the problem is.

Client get frustrated that we don't have a simple way to generate an .xml sitemap for Decidim websites. It's recommended for SEO.

Describe the solution you'd like

On a multi-tenant Decidim instance I may not want to generate a sitemap for all orgs as some maybe used for private purposes (ex: "Force users to authenticate before access organization")

As a system admin, I'd like to have a config flag in /system in the org edit form to choose to generate an .xml sitemap for the org I'm editing.

We could use an existing gem like https://www.ruby-toolbox.com/projects/sitemap_generator to generate the site map.

The sitemap generator would need to exclude :

  • /admin and /system links
  • Private spaces links

The sitemap needs to be be

  • frequently updated → a cron job can run periodically
  • and sent to search engines → We need to decide if we leave the responsibility to the admin of the org or if we try to ease up the process a little bit for them. We could use this gem https://www.ruby-toolbox.com/projects/pingr so that the pinging to search engine is automated

Describe alternatives you've considered

At this stage I'm wondering :

  • if this feature could be of interest to the rest of the community. If not we can always make a module;
  • what's the best way to generate a xml sitemap for a Decidim site;

Additional context

Add any other context or screenshots about the feature request here.

Does this issue could impact on users private data?

No

Funded by

Possible funding by Lausanne

  • Filter results for category: Installation and configuration Installation and configuration

The development of this proposal has finished

  • Reviewed by @product and accepted to be developed as a module
  • It is funded by European Commission
  • Developed by Tremend
  • Available at https://git.fpfis.eu/future-of-europe/digit-cofe-libraries/digit-cofe-sitemap

List of Endorsements

Avatar: Tremend Tremend verified-badge
Avatar: Antti Hukkanen Antti Hukkanen
Avatar: Alexandru Emil Lupu Alexandru Emil Lupu
Avatar: Nadja von Ballmoos Nadja von Ballmoos
Avatar: Òscar Pérez Òscar Pérez
and 2 more people (see more) (see less)
Endorsements count5
Add .xml sitemap config flag to /system Comments 10

Reference: MDC-PROP-2021-02-16237
Version number 2 (of 2) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 56361bb5e220fc8a7fc04c9cf8630346ac87f63493d0e27572d9db1476c3a339

Source: {"body":{"en":"<p><strong>Is your feature request related to a problem? A clear and concise description of what the problem is.</strong></p><p>Client get frustrated that we don't have a simple way to generate an .xml sitemap for Decidim websites. It's recommended for SEO.</p><p><strong>Describe the solution you'd like</strong></p><p>On a multi-tenant Decidim instance I may not want to generate a sitemap for all orgs as some maybe used for private purposes (ex: \"Force users to authenticate before access organization\")</p><p>As a system admin, I'd like to have a config flag in /system in the org edit form to choose to generate an .xml sitemap for the org I'm editing.</p><p>We could use an existing gem like <a href=\"https://www.ruby-toolbox.com/projects/sitemap_generator\" target=\"_blank\">https://www.ruby-toolbox.com/projects/sitemap_generator</a> to generate the site map.</p><p>The sitemap generator would need to exclude :</p><ul><li>/admin and /system links</li><li>Private spaces links</li></ul><p>The sitemap needs to be be</p><ul><li>frequently updated → a cron job can run periodically</li><li>and sent to search engines → We need to decide if we leave the responsibility to the admin of the org or if we try to ease up the process a little bit for them. We could use this gem <a href=\"https://www.ruby-toolbox.com/projects/pingr\" target=\"_blank\">https://www.ruby-toolbox.com/projects/pingr</a> so that the pinging to search engine is automated</li></ul><p><strong>Describe alternatives you've considered</strong></p><p>At this stage I'm wondering :</p><ul><li>if this feature could be of interest to the rest of the community. If not we can always make a module;</li><li>what's the best way to generate a xml sitemap for a Decidim site;</li></ul><p><strong>Additional context</strong></p><p>Add any other context or screenshots about the feature request here.</p><p><strong>Does this issue could impact on users private data?</strong></p><p>No</p><p><strong>Funded by</strong></p><p>Possible funding by Lausanne</p>"},"title":{"en":"Add .xml sitemap config flag to /system"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16237/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16237/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

Comment details

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
You are seeing a single comment

View all comments

Avatar: Alexandru Emil Lupu Alexandru Emil Lupu
19/11/2021 09:02
  • Get link Get link

Here is the module : https://git.fpfis.eu/future-of-europe/digit-cofe-libraries/digit-cofe-sitemap

Thanks @Armand-OSP for the great inspiration source

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim Barcelona
Or

Sign up

Forgot your password?