Hi Mark

> I was thinking that the saver would be in the core along with the other 
> savers, but only displayed as an option if it detected the JSZip plugin. Or 
> would display with the message "Install JSZip to activate."

Yes indeed. In fact, I am interested in the idea of integrating JSZip into the 
core so that we can add support for compressed plugins. JSZip weighs about 
80KB, while compressing the core plugin reduces it from 1.9MB to 330KB. Once 
we’ve got JSZip we can add core support for things like your saver suggestion, 
or exporting static HTML with shared CSS as a ZIP file.

Best wishes

Jeremy

> 
> Thanks!
> 
> On Thursday, December 10, 2020 at 9:37:01 AM UTC-8 [email protected] wrote:
> Hi Mark
> 
> That’s a great idea. Right now the JSZip plugin isn’t a part of the core, so 
> such a saver would have to reside in the plugin.
> 
> In the meantime, one could make a custom button for the sidebar that 
> performed the zip and save operation. The example given with the JSZip plugin 
> should get you started,
> 
> Best wishes
> 
> Jeremy.
> 
> 
>> On 8 Dec 2020, at 22:09, 'Mark S.' via TiddlyWiki <[email protected] 
>> <applewebdata://E1004A60-8C73-40E7-9C58-985FFEE46DFA>> wrote:
>> 
> 
>> Now that we have (or will have in 5.1.23) a means to zip up tiddlers, could 
>> we have a download saver that zips up the current TW?
>> 
>> Motivation: Chrome on Android doesn't allow extensions, and now mangles the 
>> original file name, adding it's own prefix text. If the saver could save a 
>> zipped copy, then the version with the real file name could be stored in the 
>> zip file. When you need to start a new session, you can just unzip the file 
>> with the right name.
>> 
>> Plus, the zip files would take less space and be easier to manage.
>> 
>> Thanks!
>> 
> 
>> -- 
>> 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] 
>> <applewebdata://E1004A60-8C73-40E7-9C58-985FFEE46DFA>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/25000ac6-bd15-407a-b5d5-1f116807f976n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/25000ac6-bd15-407a-b5d5-1f116807f976n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f51db090-eb5e-4694-af4a-aaa616343a1cn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/f51db090-eb5e-4694-af4a-aaa616343a1cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CB2AF94C-A37B-4371-A38A-E1C0191FF705%40gmail.com.

Reply via email to