Eg; this nicely zips all currently installed plugins. 

<$action-sendmessage $message="tm-zip-create" $param="$:/temp/_ZipTiddler"/>
<$set name="tv-filter-export-link" value="[slugify[]addsuffix[.html]]">
<$list filter="[is[system]prefix[$:/plugins/]]">
<$action-sendmessage $message="tm-zip-render-file" 
$param="$:/temp/_ZipTiddler" filename={{{ 
[<currentTiddler>slugify[]addsuffix[.html]] 
}}} tiddler=<<currentTiddler>> 
template="$:/core/templates/static.tiddler.html"/>
</$list>
</$set>
<$action-sendmessage $message="tm-zip-render-file" 
$param="$:/temp/_ZipTiddler" filename="static.css" 
template="$:/core/templates/static.template.css"/>
<$action-sendmessage $message="tm-zip-download" 
$param="$:/temp/_ZipTiddler" filename="myzip.zip"/>


You could imagine something similar to generate a library, one could bundle 
plugins for a tiddlywiki edition etc...

Regards
Tony

On Wednesday, July 29, 2020 at 12:04:56 PM UTC+10, TonyM wrote:
>
> Folks,
>
> The New JZIP plugin will enable much, Jeremys inclusion of the *Render 
> site* example very useful.
>
> I am wondering if I could ask if someone familiar with the detailed 
> structure of tiddlywiki libraries, may be able to create a second example, 
> a tool in itself, to generate libraries?
>
> The zip mechanism now allows a suit of files to be generated, including in 
> sub-folders from within a single file (or server) wiki. It would be nice to 
> capture the process into such a tool to democratise the use of libraries 
> for personal and public use. It could also create the library tiddler for 
> sharing at the same time with the provision of the URL
>
> I expect this will prove to be a key method to format and export 
> tiddlywiki content to other multi-file outputs. eg a plain text files in 
> hierarchy of folders.
>
> I certainly will do this in time, but I hope I may be able to avoid the 
> detailed research if someone else has already done it, I am happy to then 
> value add to the solution.
>
> I will be developing another template for static html tiddlers in which 
> all links open the full wiki. Perhaps even generate a site Index, or 
> support SEO metadata.
>
> Regards
> TW Tones
>
>
>

-- 
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/123058ae-c972-4543-968a-a08019338309o%40googlegroups.com.

Reply via email to