How to Generate the RSS File index.xml Using Build Tools

20 views
Skip to first unread message

sam paul

unread,
Oct 11, 2025, 12:10:08 PM10/11/25
to TiddlyWikiClassic
Hi. I want to generate rss through the build script in https://github.com/TiddlyWiki/TiddlyWikiClassic/tree/master/build. How can I do that?

I have made a template for tiddlywiki classic to use it as a static site generator. But it does not generate index.xml.

Best,

Sam

Yakov

unread,
Oct 15, 2025, 3:26:53 AM10/15/25
to TiddlyWikiClassic
Hello Sam, this is currently done in the build-site command (in the build_site script) via phantomjs. This is a much deprecated way (should be substituted with Puppeteer or Playwright), but it works. An ideal solution would be to refactor the core so that the core .js files are importable and use just the generateRSS method, but it requires to also refactor building core, which probably requires more time and considerations that I currently have, so as a quick solution, I can suggest reusing the bits from the build_site script.

суббота, 11 октября 2025 г. в 19:10:08 UTC+3, samp...@gmail.com:
Message has been deleted
Message has been deleted

sam paul

unread,
Jan 13, 2026, 10:17:51 AM (6 days ago) Jan 13
to TiddlyWikiClassic
Hello Yakov. Thanks for the information. I patched the build_site.js script to substitute phantomjs with puppeteer. It works on my wiki. 
(Google groups does not allow me to attach js files. So I rename it to build_site.js.txt.)

Best,
Sam
build_site.js.txt
Reply all
Reply to author
Forward
0 new messages