I come here from Google search, I'd like to find a way to convert HTML to nodejs wiki programmitcally, so I can do it using a JS script.
When I modified a wiki that is hosted in github pages ( via Github SyncAdaptor, which only support HTML wiki) , I want a Github Action to unpack HTML file and update the nodejs wiki in the matster branch, so I need a way to do so in JS instead of do it by hand. Is that possible? 在 2016年6月17日星期五 UTC+8下午11:46:11,Jeremy Ruston写道: > > Hi Bob > > Sorry if this question is naive. I followed the instructions to install a > Node.js version of TW (Windows) and all went smoothly. How do I convert my > existing standard single file TW into a Node.js version, and then convert > it back if I need to? My standard TW has some non-standard templates and > possibly other non-core "system" tiddlers. > > > The easiest way to convert a TiddlyWIki standalone HTML file into the > Node.js layout is to run the Node.js wiki in client-server mode, and then > import the HTML file by drag and drop in the browser. (You can also use the > --load command; see /bin/ginsu.sh in the TW5 repo). > > To convert the other way, either click the “save changes” button in the > browser to save a snapshot of the wiki as a standalone HTML file, or use > the --rendertiddler command: > > --rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline index.html > text/plain > > Best wishes > > Jeremy. > > > > Thanks, Bob > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/aefe42de-b556-4767-b37d-26581dc6feda%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/aefe42de-b556-4767-b37d-26581dc6feda%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a32b92d6-c8d9-499d-bfdb-4c387c54bd32%40googlegroups.com.

