Tiddlywiki Static --render command and "tv-get-export-link/path"

70 views
Skip to first unread message

Adithya B

unread,
Sep 12, 2020, 3:08:02 PM9/12/20
to TiddlyWiki
Hi!

I have been using the tiddlywiki --rendertiddlers command to render the tiddlers for my static website. Since the --rendertiddlers is depreciated in favour of --render, I have been trying to make the transition as well. 

However, the render command doesnt encode the filenames using tv-get-export-link or tv-get-export-path by default. The internal links are still getting encoded properly.

This works perfectly:
tiddlywiki --rendertiddlers '[!is[system]]' adithyab/website/base . text/plain

This doesnt format the filenames at all:
tiddlywiki --render "[!is[system]]" "[is[tiddler]addsuffix[.html]]" text/plain adithyab/website/base

How to get the --render command to use the tv-get-export-path/link macros?
Thanks for helping.
Adithya

superspeeder

unread,
Oct 30, 2020, 7:28:48 AM10/30/20
to TiddlyWiki
I've also been wondering how to do this, more examples in the --render documentation would be very helpful!

Donald Coates

unread,
Oct 30, 2020, 7:53:48 PM10/30/20
to TiddlyWiki
try putting all in quotes including "text/plain" and use [has[created] instead of [is[tiddler]

Donald Coates

unread,
Oct 30, 2020, 7:55:42 PM10/30/20
to TiddlyWiki
so mine looks like this:
 --render "[page-type[post]publish[yes]]" "[has[created]addsuffix[.html]]" "text/plain" "$:/blog-gallery/templates/static.tiddler.html"
Reply all
Reply to author
Forward
0 new messages