Hi Matt
> All,
> I'm working on a task where I need to convert a tiddlywiki file into a
> wiki folder. I'm really not picky about the process, so long as I can
> automate it. Right now, I've tried
> ...
> None of these actually build the folder structure the same way that a
> wikifolder does. And AFAIK, there is not
> tiddlywiki --load wikifile.html --save /path/to/wikifolder
The process I use for splitting TW HTML files into individual .tid files is
shown in ./bin/ginsu.sh. The critical lines are:
node ./tiddlywiki.js \
./editions/empty \
--verbose \
--load $1 \
--output tmp \
--rendertiddlers [!is[system]] $:/core/templates/tid-tiddler ginsu
text/plain .tid
In terms of folder structure, all the .tid files end up in the same directory.
You can see an example of a more complex splitting process in the translator
edition, where separate rendertiddlers commands are used for each directory of
output files:
https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/translators/tiddlywiki.info#L40-L64
<https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/translators/tiddlywiki.info#L40-L64>
Is that what you need?
Best wishes
Jeremy
>
> If anyone has some advice I'd love some help.
>
>
> Matt Lauber
>
> --
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/2f062ac4-effa-4457-a7ed-78a0a349e662%40googlegroups.com
>
> <https://groups.google.com/d/msgid/tiddlywiki/2f062ac4-effa-4457-a7ed-78a0a349e662%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <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 post to this group, send email to [email protected].
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/AFDC1F6B-C147-44AD-807C-D1B6A4ABB83D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.