Update, I almost have the solution mentioned in the First post here.
Any help appreciated. Question? Is the urlencoded used in <$view field='title' format='urlencoded'/>.json> Equivalent to +[encodeuri[]]? - If not is there an alternative? - My tiddlers are breaking into folders and pieces rather than full path filenames. - After encoding the path/filename the payload tiddlers are not in the zip. Another Question, Is the index.html file what ever I want ? Regards Tony On Wednesday, July 29, 2020 at 12:37:42 PM UTC+10, TonyM wrote: > > Folks, > > I am looking here > <https://groups.google.com/d/msg/tiddlywiki/Tlje6l8UZiU/-K9gr3NmAwAJ> at > jeds library maker, hoping to add the generated tiddlers to a zip, may be > trivial once I wrap my head around it. > > Regards > Tony > > On Wednesday, July 29, 2020 at 12:26:27 PM UTC+10, TonyM wrote: >> >> 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/9cd775de-657f-4eb4-9bed-b4038a9654edo%40googlegroups.com.
