Export a subset of tiddlers from node.js to standalone

45 views
Skip to first unread message

Filip K.

unread,
Jan 26, 2018, 11:44:34 AM1/26/18
to TiddlyWiki
Hi,

I'm trying to export a subset of my tiddlers, given by a filter expression, to a standalone TW from TW 5.1.15 running on node.js. What I tried so far is
tiddlywiki --rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline index.html text/plain "" exportFilter "<filter-here>"
but it saves the whole wiki. I've also tried with publishFilter instead of exportFilter, as well as with $:/core/save/all instead of the save/offline to the same effect. I also tried doing it manually, as in
tiddlywiki --render "<filter-here>" "[addprefix[tiddlers/]addsuffix[.tid]]" "" $:/core/templates/tid-tiddler
tiddlywiki
./output/wiki --init server
tiddlywiki ./output/wiki --load ./output/tiddlers
tiddlywiki ./output/wiki --build index
but it doesn't work either --- the tiddlers loaded to the temporary wiki are changed slightly (I have one tiddler which contains just a tab macro, and in the temporary wiki it's empty) and don't get exported upon building.

Any help will be appreciated, thanks!

Filip
Reply all
Reply to author
Forward
0 new messages