Aha, you've accidentally solved the mystery of why I have two tiddlers stored as JSON in my Zettelkasten wiki! They have newlines in fields. Thanks. :-)
On Wednesday, June 16, 2021 at 9:32:37 AM UTC-5 [email protected] wrote: > Just to add that the .tid file format really is as simple as it looks, > with the constraints implied by that simplicity: > > * Field names cannot contain colons > * Field values (apart from the "text" field) cannot contain newlines > > The core works around these limitations by saving tiddlers in JSON format > if they don't meet the criteria for .tid files. > > Best wishes > > Jeremy > > -- > Jeremy Ruston > [email protected] > https://jermolene.com > > On 16 Jun 2021, at 13:31, Soren Bjornstad <[email protected]> wrote: > > To be clear since it sounds like you might be trying to create them from > scratch without any reference to look off, you probably want to include at > least the fields *created*, *modified*, *tags*, *title*, and *type. *Type > is *text/vnd.tiddlywiki* for standard wikitext, and created/modified are > YYYYMMDDHHMMSSXXX timestamps (normalized to UTC). > > On Wednesday, June 16, 2021 at 7:29:11 AM UTC-5 Soren Bjornstad wrote: > >> David, >> >> I parse them all the time and there's not really much to it – most of the >> fields are at the top separated from their values by a colon and a space, >> and then after the first blank line is the *text* field. >> >> I imagine this may change slightly in the upcoming version 5.2 since >> field names are going to be allowed to contain more characters than they >> currently do (not sure what would happen if you put a colon in a field name >> in 5.2, for instance). >> >> On Wednesday, June 16, 2021 at 3:12:56 AM UTC-5 David Shaw wrote: >> >>> Is the format of a .tid file available anywhere? >>> >>> I ask because I am using Python to pull information from the Web, which >>> I then want to get into a Tiddlywiki and, for reasons that are far too >>> long, complicated and boring to go into here, I am having to do all this on >>> an Android device and can't get JSON import to work in Tiddloid. >>> >>> Many thanks, >>> >>> David Shaw >>> >> -- > 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/c0a69b7a-3d77-479e-af4a-98722feb3d85n%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/c0a69b7a-3d77-479e-af4a-98722feb3d85n%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/7197e295-7719-41f6-8f57-2accfa23f190n%40googlegroups.com.

