Comments (7)
Hi @SalahAdDin
Thanks for reporting yet another great feature request!
You really help us push our plugins to the next level.
About the sitemap plugin; we are currently in the process of migrating the plugin to the Webtools suite.
Just now I've released the first beta version of the Webtools Sitemap Addon to NPM
It has all the same features you're used to from the standalone Sitemap plugin, but uses the core Webtools plugin for it's URL management.
The issue you created about the "Wildcard for language..." is a feature that's already integrated in Webtools.
That being said I would love it if you could give Webtools and the Sitemap addon a try. I think you'll like it a lot.
from strapi-plugin-sitemap.
I'm going to close this issue.
This standalone Sitemap plugin will be deprecated when it's successor Webtools will be out of Beta. And seeing as this particular feature has already been implemented in Webtools, there seems no reason to leave this issue open.
from strapi-plugin-sitemap.
Hi @SalahAdDin
Thanks for reporting yet another great feature request! You really help us push our plugins to the next level.
About the sitemap plugin; we are currently in the process of migrating the plugin to the Webtools suite. Just now I've released the first beta version of the Webtools Sitemap Addon to NPM It has all the same features you're used to from the standalone Sitemap plugin, but uses the core Webtools plugin for it's URL management.
The issue you created about the "Ignore all content types..." is a feature that's already integrated in Webtools.
That being said I would love it if you could give Webtools and the Sitemap addon a try. I think you'll like it a lot.
There are some issues with this, the first, it is not clear if we need to install core-webtools
, so we installed only the adding and we got the issue:
This happens when we don't setup the configuration, when we do it, it fails even to load the admin:
~/Projects/Portfolio/backend PBE-001-strapi-4 !4 yarn develop ✔ 20s system
✔ Cleaning dist dir (10ms)
⠋ Building build context
[INFO] Including the following ENV variables as part of the JS bundle:
- ADMIN_PATH
- STRAPI_ADMIN_BACKEND_URL
- STRAPI_TELEMETRY_DISABLED
✔ Building build context (107ms)
✔ Creating admin (9161ms)
⠙ Loading Strapi[ERROR] There seems to be an unexpected error, try again with --debug for more information
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ Error: Error loading the plugin sitemap because sitemap is not installed. Please either install the plugin or remove it's configuration. │
│ at Object.loadPlugins (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/strapi/dist/core/loaders/plugins/index.js:83:13) │
│ at async Strapi.loadPlugins (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/strapi/dist/Strapi.js:311:5) │
│ at async Promise.all (index 3) │
│ at async Strapi.register (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/strapi/dist/Strapi.js:341:5) │
│ at async Strapi.load (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/strapi/dist/Strapi.js:425:5) │
│ at async Object.develop (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/admin/dist/_chunks/index-sNH2VWbC.js:837:28) │
│ at async develop (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/admin/dist/_chunks/develop-YNTGWKMC.js:61:5) │
│ at async Command.parseAsync (/home/luisalaguna/Projects/Portfolio/backend/node_modules/commander/lib/command.js:923:5) │
│ at async Module.runStrapiCommand (/home/luisalaguna/Projects/Portfolio/backend/node_modules/@strapi/strapi/dist/commands/index.js:130:3) │
│ │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Installing web tools works fine, but the sitemap cannot be enabled since the config is still broken.
So, it is not usable yet.
I think it is required to update the documentation!
PD: I really don't understand, what's the utility of web tools?
from strapi-plugin-sitemap.
Ok, cool, it seems I was able to setup the sitemap:
webtools: {
sitemap: {
enabled: true,
config: {
cron: "* * * * 7",
xsl: true,
autoGenerate: false,
caching: true,
},
},
},
I don't know if it is the right way but at least It does not break the run.
It would be useful to add this to the documentation.
from strapi-plugin-sitemap.
But, it seems there is an issue with the web tools URL patterns screen:
It never finishes to load, why?
from strapi-plugin-sitemap.
Unsure, might be a bug. Please for all of these issues report them on the webtools repo
from strapi-plugin-sitemap.
Opened: pluginpal/strapi-webtools#150
from strapi-plugin-sitemap.
Related Issues (20)
- Critical dependency: the request of a dependency is an expression HOT 5
- Allow relational fields be declared in url patern recursively HOT 3
- Bug: excludedTypes config setting doesn't seem to work HOT 5
- Bug: missing settings labels HOT 5
- Make the <xhtml:link> element in XML optional HOT 1
- feature request: pretty print option HOT 6
- Feature Request: i18n `prefix_except_default` strategy HOT 8
- Sitemap Breaks When Exceeding Limit and Strapi Port Differs from Default HOT 4
- Add an additional link tag with hreflang x-default to improve locale detection fallback HOT 5
- Does not work with ADMIN_PATH and STRAPI_ADMIN_BACKEND_URL HOT 1
- Add extension points / hooks. HOT 1
- [FEAT] Ignore all content types but the created by content type builder, i.e., api content types HOT 5
- Error building SitemapStream in Strapi Sitemap Plugin after removing locale HOT 4
- Generating sitemap via CLI throws error and fails HOT 1
- Unwanted tag <script/> in the generated file sitemap.xml HOT 5
- The plugin causes strapi import to fail HOT 8
- This plugin might generate duplicate content if relational field is not mandatory HOT 1
- Translations are not linked properly HOT 1
- Single types do not show titles correctly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strapi-plugin-sitemap.