Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

php-generate-sitemap - no chapters #4

Closed
Badiboy opened this issue Nov 9, 2021 · 2 comments
Closed

php-generate-sitemap - no chapters #4

Badiboy opened this issue Nov 9, 2021 · 2 comments

Comments

@Badiboy
Copy link

Badiboy commented Nov 9, 2021

Thank you for the very useful script.

Could you please check, why php-generate-sitemap does not generate links for chapters? Like this:
https://demo.bookstackapp.com/books/dummy-content-book/chapter/chapter-a

(If you need a ready test case - I can provide you the private API access).

ssddanbrown added a commit that referenced this issue Nov 9, 2021
Also set sitemap output to be formatted for easier reading.
Updated example sitemap.

For #4
@ssddanbrown
Copy link
Member

Hi @Badiboy,

I think this was generating such chapter links but they would not be output due to an error in how I was joining together all the different endpoints. Have addressed this in f165f61 so, with those changes, you should now get chapter endpoints also. Have verified this on my local dev instance.

@Badiboy
Copy link
Author

Badiboy commented Nov 9, 2021

Thank you, it seems fine now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants