dullroar / TW5-sitemap

TiddlyWiki5 plugin to generate sitemap.xml.
BSD 2-Clause "Simplified" License
6 stars 3 forks source link

How to work with static nodejs single page site? #4

Open linonetwo opened 11 months ago

linonetwo commented 11 months ago

https://wiki.onetwo.ren/sitemap

You can see, https://wiki.onetwo.ren/ is a nodejs tw website, so https://wiki.onetwo.ren/sitemap shows as a tiddler. Do you know how to show it as a raw XML?

linonetwo commented 11 months ago

From https://tiddlywiki.com/#Using%20the%20read-only%20single%20tiddler%20view

specifying the _render_type and _render_template fields accordingly.

Not sure how to use it...

linonetwo commented 11 months ago

Adding _render_type: application/xml to sitemap tiddler, resulted in random chars

截屏2023-10-12 10 22 17
linonetwo commented 10 months ago

Use https://github.com/tiddly-gittly/tw-server-sitemap