My first goal was to setup a mechanism to allow viewers of a published TiddlyWiki (well, a TiddlyWiki instance located on some website for viewing) to personalize the appearance of a TiddlyWiki and saving those configuration settings to local storage, such that a viewer's preferences are applied on every visit to the TiddlyWiki instance.
Proof-of-concept prototype working: A tester: Saving TiddlyWiki config settings to local storage <https://groups.google.com/g/tiddlywiki/c/l-1YLy0xpJo> I was thinking about adding add a few more configuration items that can be saved to local storage. "Sexier" configuration items. But, unless there is interest in that, I believe I'm going to move on to an intriguing proposition: A TiddlyWiki instance with a BASIC Anywhere Machine program that compares two specified TiddlyWiki instances, comparing existence of corresponding tiddlers in both TiddlyWiki sources, and also comparing modifications dates of tiddlers. A job involving session storage. Well, if anybody already knows of something out there that does a tiddler-by-tiddler comparison of two TiddlyWiki instances, let me know. On Wednesday, March 9, 2022 at 2:46:42 PM UTC-4 Charlie Veniot wrote: > Forgot to mention, LocalStorage vs SessionStorage. > > A particular thing worth noting about SessionStorage is that not only are > the key-value pairs gone when the browser tab is closed, but the session > storage created/accessed by whatever page in that browser tab can only be > accessed by that page in the browser tab. So very private to that tab, not > available to pages in other tabs, even if those pages are same site origin. > > However, just as for LocalStorage, SessionStorage is available to whatever > other pages in iframes in the page of a browser tab. So very cool for > real-ish-time communication and sharing between all things within that > browser tab (say TiddlyWiki and a bunch of things hosted in that TiddlyWiki > via iframes) and the current session. > > On Wednesday, March 9, 2022 at 1:50:15 PM UTC-4 ludwa6 wrote: > >> Hey Charlie: Just saw your latest YouTube post >> <https://www.youtube.com/watch?v=IKJZEKJp9Ck>, and- as this is a topic >> of real interest to me -came here looking for more detail about what you >> mean by "local storage." >> >> As i understand the options (nicely explained in this article >> <https://blog.bitsrc.io/browser-storage-options-and-their-state-in-2021-6808b949087a>), >> >> both Local Storage and Session Storage are indeed quite similar, main diff >> being term of data persistence in the browser. In either case tho, i don't >> quite understand how that might support your stated Design Goal of enabling >> a "Farm of single-file TiddlyWiki instances for team >> collaboration/authoring," unless your team members are all using the same >> browser instance, which would not be the case in any collaborative TW >> authoring scenario that i can conceive... >> >> But if you could share more detail about the UseCase you are trying to >> enable, that would sure help. Certainly is interesting on the face of it. >> Rock on, mate! >> >> /walt >> >> >> On Tuesday, March 8, 2022 at 7:37:41 PM UTC cj.v...@gmail.com wrote: >> >>> LocalStorage vs SessionStorage is a trivial thing. >>> >>> The next thing on my todo is, for both, getting lists of existing keys. >>> Nothing complicated, just needs a little time. >>> >>> Reference: "Looping over keys" in https://javascript.info/localstorage >>> >>> On Tuesday, March 8, 2022 at 1:29:15 PM UTC-4 hww...@gmail.com wrote: >>> >>>> C.J.: >>>> >>>> Are you logging your "revisiting" insights (perhaps in one of your >>>> portals) so you can share them whenever you feel ready to do so? >>>> >>>> I frequently find my "beginner" notes get more appreciation since they >>>> provide a "roadmap" for those that follow. >>>> >>>> Just curious, since I already know I am interested enough in BAM to use >>>> it and I have ideas regarding needs swirling around in my head that I >>>> don't >>>> want to pester you with at this time. >>>> >>>> Cheers, >>>> Hans >>>> >>>> >>>> On Saturday, February 26, 2022 at 6:49:52 PM UTC-5 cj.v...@gmail.com >>>> wrote: >>>> >>>>> In so many things I've been playing with lately, I've been toying with >>>>> applying local storage to various things. >>>>> >>>>> Now that I've added session storage capability to BASIC Anywhere >>>>> Machine, I'm revisiting everything I've been experimenting with re local >>>>> storage, and updating to session storage when it makes more sense. >>>>> >>>>> If this kind of thing is of interest to you, keep an eye out for >>>>> previous posts bubbling up as I migrate certain things from local storage >>>>> use to session storage use. >>>>> >>>> -- 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/816646d5-b828-4b40-af7c-203cbd38a935n%40googlegroups.com.