Hi Mat I should briefly comment in case others wonder whether there’s anything helpful.
> I stumbled over this blog post about "Loading, Editing, and Saving a Text > File in HTML5 Using Javascript > <https://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/>". > Just thought it'd be interesting to peek if he's adding anything of value. This is actually a demonstration of two of techniques already used by TW5: * Saving a file using the anchor tag and the download attribute * Processing a local file selected with a “browse…” button > This is his latest post Exploring the ZIP File Format in JavaScript > <https://thiscouldbebetter.wordpress.com/2019/04/13/exploring-the-zip-file-format-in-javascript/> > sounds like a plugin mechanism. That’s a simple parser for reading ZIP files in JavaScript. In TW5 we use the following library for parsing ZIPs (it’s packaged in the official plugin library as “$:/plugins/tiddlywiki/jszip”): https://stuk.github.io/jszip/ <https://stuk.github.io/jszip/> > or how about A Music Notation Renderer In JavaScript > <https://thiscouldbebetter.wordpress.com/2018/03/10/a-music-notation-renderer-in-javascript/> It’s a nice simple starting point. Again, there are more full featured libraries that offer better output. > Here's possibly something for reading from the disk Reading a String from a > File in JavaScript > <https://thiscouldbebetter.wordpress.com/2013/01/31/reading-a-string-from-a-file-in-javascript/> This is an amalgam of the same file reading technique as above and using XMLHttpRequest to read local files. We used to do the latter in TiddlyWiki Classic but it got blocked by browsers a long time ago (as the updates to the post indicate). Best wishes Jeremy > > <:-) > > > P.S browsing around his blog he seems to be a really sharp guy. I invited him > over. Who knows :-) > > -- > 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] > <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/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/54ec0d18-34d5-4fd4-8a16-0f0222345db0%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/54ec0d18-34d5-4fd4-8a16-0f0222345db0%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 "TiddlyWikiDev" 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/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/76C02A51-8755-4DF8-9E73-5819DDA9AC5C%40gmail.com. For more options, visit https://groups.google.com/d/optout.
