> > Please have a look here: > > https://tiddlywiki.com/prerelease/#Generating%20Static%20Sites%20with%20TiddlyWiki >
I'm not trying to generate a static site, rather export part of a standalone site to another standalone site, then do some renaming. I get the impression that, with the command line, you can convert a standalone wiki to a node.js wiki, but not the other way around, or from standalon to standalone. Kalcifer On Monday, May 25, 2020 at 6:28:14 AM UTC+1, Mohammad wrote: > > Please have a look here: > > https://tiddlywiki.com/prerelease/#Generating%20Static%20Sites%20with%20TiddlyWiki > > > Best wishes > Mohammad > > > On Mon, May 25, 2020 at 9:11 AM Kalcifer Kandari <[email protected] > <javascript:>> wrote: > >> Thanks, but that still give a similar error: >> >> Error: ENOENT: no such file or directory, open >> 'E:\path\local\output\$:\boot\boot.css.html' >> >> Kalcifer >> >> On Monday, May 25, 2020 at 4:21:27 AM UTC+1, Mohammad wrote: >>> >>> >>> Use >>> tiddlywiki mywiki --render "[all[]]-[tag[private]]" >>> >>> change mywiki with your wiki folder name. This is when you run the >>> command from a parent folder >>> if not give the correct wiki folder path, if you run from inside the >>> wiki folder just issue >>> tiddlywiki --render "[all[]]-[tag[private]]" >>> >>> Best wishes >>> Mohammad >>> >>> >>> On Mon, May 25, 2020 at 7:30 AM Kalcifer Kandari <[email protected]> >>> wrote: >>> >>>> So, I'm working on a fancy script to publish my site by just running a >>>> single command. I want to do this because the working wiki is a mix of >>>> public and private tiddlers, which is much easier to work with that 2 >>>> separate wikis, given they share a lot of tiddlers. I'm using the >>>> standalone wiki, because far as I know, exposing the node.js version to >>>> the >>>> internet is not viable as visitors could edit the site. >>>> >>>> The command will do something like this: >>>> >>>> 1. robocopy /mir the local folder to a staging folder. >>>> 2. In the staging folder, from the original HTML file export some >>>> tiddlers based on this filter[all[]]-[tag[private]] to a new HTML >>>> file, then delete the original HTML file. >>>> 3. Then rename a few tiddlers, such as index--public to index. >>>> 4. robocopy /mir the staging folder to the server, and delete the >>>> staging folder. >>>> >>>> So 2 and 3 are where I'm at. >>>> >>>> *For 2: *I'm trying to use tiddlywiki wiki.html --render >>>> "[all[]]-[tag[private]]", but it's just throwing an error: >>>> >>>> Error: ENOENT: no such file or directory, open >>>> 'E:\path\wiki.html\output\$:\boot\boot.css.html' >>>> >>>> My suspicion is that the tiddlywiki command only works for node.js >>>> wikis? >>>> >>>> *For 3:* I've looked at the tiddlywiki wiki.html --setField >>>> documentation <https://tiddlywiki.com/static/SetFieldCommand.html>, >>>> and it says "*templatetitle* - the tiddler to wikify into the >>>> specified field. If blank or missing then the specified field is deleted", >>>> I'm not clear on what that means. I would expect to be able to run >>>> tiddlywiki >>>> wiki.html --setField "[title[index--public]]" "title" "index", >>>> although I haven't got so far to be able to try that out yet. >>>> >>>> Thanks, >>>> >>>> Kalcifer >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TiddlyWikiDev" 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/tiddlywikidev/5cf4d25b-5d4e-42ed-b9c9-1429c0030ed9%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywikidev/5cf4d25b-5d4e-42ed-b9c9-1429c0030ed9%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWikiDev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywikidev/2b94bea4-5d7b-4734-a75f-f118ccb3b5c4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywikidev/2b94bea4-5d7b-4734-a75f-f118ccb3b5c4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/0b155d82-9740-4a4c-b11e-a52bf625ffaf%40googlegroups.com.
