strapi-webtools icon indicating copy to clipboard operation
strapi-webtools copied to clipboard

Usage with sitemap

Open Alexnortung opened this issue 3 years ago • 2 comments

Feature request

Summary

It should be possible to use this plugin with the sitemap plugin to generate a sitemap. This is also currently possible by setting allowed fields to also accept strings in the sitemap plugin. Then choosing to generate a sitemap from UrlAliasPath and using the [url_path] field.

However it should be possible to generate it from a specific content type such as a page content type. Currently there is only an accessible field for url_path_id which we cannot use to generate a sitemap.

Suggested solution(s)

I am not sure how this should be implemented

Related issue(s)/PR(s)

#9

Alexnortung avatar Sep 13 '22 11:09 Alexnortung

Hi @Alexnortung,

Thanks for filing this feature request.

Let me start by saying I am the creator and maintainer of the sitemap plugin as well and I have intentions to merge the sitemap functionality into this url-alias plugin eventually making the sitemap plugin obsolete.

In the meantime I will try to look at this as what you're describing should work.

boazpoolman avatar Sep 13 '22 14:09 boazpoolman

Thanks!

I guess this is also an issue with the ui navigation plugin, since it only gives the url_path_id and not url_path. But this might be a separate issue.

Alexnortung avatar Sep 15 '22 12:09 Alexnortung

This has been released as a new package; Webtools Sitemap addon v1.0.0-beta.6

If you're experiencing any issues with the new feature, please report a new issue.

boazpoolman avatar Jun 01 '24 10:06 boazpoolman