Comments (4)
got it working by adjusting the plugin resolve path config. again i have very little experience with strapi but was i supposed to add a config folder and use it ? i noticed the resolve path probably works for ci and test configs.
![image](https://private-user-images.githubusercontent.com/6923752/252163346-f9e80564-1815-4652-b0da-d4a88d53cdd7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcyNDY4ODcsIm5iZiI6MTcwNzI0NjU4NywicGF0aCI6Ii82OTIzNzUyLzI1MjE2MzM0Ni1mOWU4MDU2NC0xODE1LTQ2NTItYjBkYS1kNGE4OGQ1M2NkZDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMDZUMTkwOTQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM3YmI0MWQzNTVhMzI1MWU3YjhkZDJmMzk3NzhlY2U3Y2MwMTQ3ZDczMThlMWNjYTMwMTY2NTg3N2IwYWRkYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.uT1_Bpt0PAatcInud1Iispf0mAYz0QgMLnFNi7vRyEI)
thanks !
from strapi-plugin-sitemap.
after that i was getting a sitemap generated but http://localhost:1337/api/sitemap/index.xml throwed an error until i copied the xsl folder into src/plugins/sitemap/xsl
this line 97 of server/controller/core.js can't find the xsl folder.
![image](https://private-user-images.githubusercontent.com/6923752/252182913-2cb4a0fa-fa53-45d4-82d3-604e03f55b01.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDcyNDY4ODcsIm5iZiI6MTcwNzI0NjU4NywicGF0aCI6Ii82OTIzNzUyLzI1MjE4MjkxMy0yY2I0YTBmYS1mYTUzLTQ1ZDQtODJkMy02MDRlMDNmNTViMDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAyMDZUMTkwOTQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTBkZTY4NTE1YzEzY2RlN2I3ZDY1MTZjZGEwMGEyYzU0ODNkMjhiNDY2OTljZmRlYjc3ODY4MzRkMjJiODY1NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LgyJ6r9Zkxed7ZRjrydLxZfx6MuSZrL496roMj1yNSM)
once i copied over the xsl folder i got the sitemap to appear in http://localhost:1337/api/sitemap/index.xml
from strapi-plugin-sitemap.
Thanks @javobal for testing this!
The playground is very new to this plugin. I added it just weeks ago. You did do everything correctly! Nothing wrong on your end.
I've tested around with the playground and experienced the same issues you did.
Based on your feedback I added these two commits which should fix them:
from strapi-plugin-sitemap.
thanks @boazpoolman all good now
from strapi-plugin-sitemap.
Related Issues (20)
- Unable to generate sitemap when switching from version 2.1.0-beta.2 to 2.0.11 HOT 3
- Index.xml don't use hostname HOT 9
- Support for Google video sitemaps fields
- Update dependencies to mitigate vulnerabilities HOT 1
- Not working with strapi 4.11.5 HOT 2
- Support excluding sites by condition HOT 2
- how to exclude a specific url for sitemap HOT 9
- Allow URL translation sets for custom URLs HOT 2
- How to combine multiple content-types? HOT 2
- Server.js configuration for the sitemap plugin HOT 12
- Error when generating sitemap on Strapi 4.14.4 and Node v18 HOT 2
- Multiple hostnames/host profiles HOT 1
- 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
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.