building a single html from multiple tiddlers excluding server template plugins

26 views
Skip to first unread message

Devin Weaver

unread,
Apr 16, 2014, 12:44:25 PM4/16/14
to tiddl...@googlegroups.com
Ok so I like working on my TiddlyWiki using the server plugins running under node:

$ tiddlywiki ./ --init server
$ git init
$ git add
.
$ git ci
-m "Initial"
$ tiddlywiki
./ --server


I edit my tiddlers and am happy. Add the changes to my git repository and all is good.

Then I go to make a compiled HTML for my web server:

$ tiddlywiki ./ --rendertiddler $:/core/save/all index.html text/plain
$ scp index.html user@example.com:path/to/website/

Unfortunately all tiddlers are saved including the plugins for syncing to the node based server. How do I exclude those local development only plugins but keep the ones I want?

Specifically they seem to cause a 404 error loading http://mysite.example.com/status when you look at the index.html file on a web server.

I think it could be one of the following:


Neither of which is needed when you run a --rendertiddler for distributing to a simple web server.

Any guidance would be greatly appreciated. Thanks.

Devin Weaver

unread,
Apr 16, 2014, 1:31:21 PM4/16/14
to tiddl...@googlegroups.com
TiddlyWeb assumes that if it is loaded then it will be able to access http://mywebhost.example.com/status However these plugins are not needed when you render to a single html. Infact that are removed with the download button but not in the $:/core/save/all filtering because the TiddlyWeb and Filesystem plugins are of type application/json and not application/javascript

What is the correct way to handle this situation? Is it a bug? Is a pull request needed? If so where is the correct place to edit the filtering?
Reply all
Reply to author
Forward
0 new messages