Hi Oleg

> The command-line script used for building a single-file HTML wiki is as 
> follows:
> 
>  xcopy /s/i/q %TW_DIR%\*.* %TMP_DIR%
> 
>  tiddlywiki %TMP_DIR% --savetiddlers %IMG_FILTER% %HTML_IMAGES_DIR%
>  tiddlywiki %TMP_DIR% --setfield %IMG_FILTER% _canonical_uri 
> "$:/core/templates/canonical-uri-external-image" text/plain
>  tiddlywiki %TMP_DIR% --setfield %IMG_FILTER% text "" text/plain
>  tiddlywiki %TMP_DIR% --rendertiddler 
> $:/plugins/tiddlywiki/tiddlyweb/save/offline %HTML_INDEX_FILE% text/plain
> 

Each of those commands depends on the output of the previous one, so things 
don't work if you run the commands separately, they need to be run together 
into a single instantiation of TiddlyWiki:

 tiddlywiki %TMP_DIR% --savetiddlers %IMG_FILTER% %HTML_IMAGES_DIR% --setfield 
%IMG_FILTER% _canonical_uri "$:/core/templates/canonical-uri-external-image" 
text/plain --setfield %IMG_FILTER% text "" text/plain --rendertiddler 
$:/plugins/tiddlywiki/tiddlyweb/save/offline %HTML_INDEX_FILE% text/plain

Best wishes

Jeremy

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F72E075F-1508-41F7-8D69-AF805B67724C%40gmail.com.

Reply via email to