Hi, If it's any use to anyone, I'm currently storing two collections of tiddlers externally to my wiki as JSON files, and I just pull them in when I need them. The tiddlers contained within each are all tagged, so I can quickly purge them again by filtering for that tag. This has been very useful for me as I'm generating my tiddlers in a Google Sheet, and exporting them as CSV, then converting the CSV for JSON. Whenever I've created a new batch of data in my spreadsheet, I just go through the steps and, voilà! I have a whole new set of tiddlers in my TiddlyWiki.
Hope that is useful somehow, Hegart. On Friday, 8 April 2016 03:24:30 UTC+12, Tristan Kohl wrote: > > Hi Alex, > > I just asked because I was curious, there is no workflow in my head > regarding JSON. I was just wondering why Jeremy chose the HTML approach > over JSON as I myself use JSON for transfer (and sometimes storage) like > many other people. > > Anyways thanks for your hint, I will think about a usecase with JSON ;) > > Cheers > Tristan > > Am Donnerstag, 7. April 2016 13:21:47 UTC+2 schrieb AlexHough: >> >> Tristan, >> >> You can export tiddlers to the JSON format. >> >> This could open up a workflow where the JSON could be used by a framework >> of your choice to deliver a static website >> >> best wishes >> >> Alex >> >> On 7 April 2016 at 11:26, Tristan Kohl <[email protected]> wrote: >> >>> Hi Jeremy, >>> >>> thank you for your explanation, this helped me a lot. I also figured it >>> could correlate with TWC but thought there might be some performance >>> reasons for choosing the HTML method over JSON. >>> I will keep digging into TiddlyWiki and look forward to learn more about >>> JavaScript so one day I can do something with my knowlege :) >>> >>> Cheers >>> Tristan >>> >>> Am Mittwoch, 6. April 2016 15:49:27 UTC+2 schrieb Jeremy Ruston: >>>> >>>> Hi Tristan >>>> >>>> I got a little deeper look into TiddlyWiki and came to wonder why the >>>> storage of Tiddlers is implemented the way it is. As I understand it every >>>> Tiddler is a single <div> which are all stored in the "Tiddler Area". But >>>> since every Tiddler is a object with its own properties ("created", >>>> "author", etc.), wouldn't it be a logic decision to keep them as >>>> JavaScript >>>> objects and store everything as a big JSON string in the storage area so >>>> we >>>> do not need to parse it back again? >>>> >>>> >>>> The serialisation format of tiddlers with the standalone HTML file is >>>> indeed as a bunch of DIVs with custom attributes. The origin of the format >>>> was TiddlyWiki Classic back in 2004 (before JSON was discovered). >>>> Technically, it would be quite easy to change the format to something >>>> else, >>>> but in general we don’t see sufficient payback to make it worth the >>>> effort, >>>> and the inevitable backwards compatibility problems it would cause. >>>> >>>> Having said that, using HTML as the basis for the serialisation format >>>> does provide some interoperability with HTML/XML tooling, which is also >>>> sometimes useful. >>>> >>>> Best wishes >>>> >>>> Jeremy >>>> >>>> >>>> My only clue is that there are some performance thoughts which I (with >>>> my limited JavaScript skills) do not get. Any hint or link would be very >>>> much appreciated. >>>> >>>> >>>> Thanks guys >>>> Tristan >>>> >>>> -- >>>> 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 post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/tiddlywiki. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywiki/03eeba93-0901-489e-a3cc-803559418c91%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> -- >>> 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 post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/tiddlywiki. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/4d533999-f203-49fd-8cb1-661d76795dfd%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/4d533999-f203-49fd-8cb1-661d76795dfd%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/99108cf9-6f2b-46f3-9120-6141dbb2bfa1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

