external images relative path under nodejs. Migration from static wiki file

45 views
Skip to first unread message

vpl

unread,
Aug 24, 2018, 3:19:24 AM8/24/18
to TiddlyWiki
Hi,

I have a static HTML tiddlywiki file that I would like to migrate under nodejs.

In this static tiddlywiki I have several tiddler containing

<img src="files/MyImage.PNG" />
Where the files directory is next to the HTML file in my directory of tiddlywiki

When migrating to nodejs, I've tried to locate the 'files' repertoire under the new wiki folder to avoid changing all my references but that does not work

Could someone tell me how can I smoothly migrate to a nodejs version ?

THanks very much for your help

Regards


Jed Carty

unread,
Aug 24, 2018, 4:13:07 AM8/24/18
to TiddlyWiki
TiddlyWiki on node doesn't serve external files by itself yet. In the next version there should be an option to setup a static file server so that you have have what you are describing but it isn't in there yet.

I am a bit biased but I suggest trying Bob. You can install it like a normal node plugin from here: https://github.com/OokTech/TW5-Bob
or if you prefer I have packaged it together with tiddlywiki into a single executable file here: https://github.com/OokTech/TW5-SingleExecutable/releases
Reply all
Reply to author
Forward
0 new messages