On Wednesday, September 30, 2015 at 12:46:44 AM UTC+2, Danielo Rodríguez 
wrote:
>
> I am wondering how the hell does tiddliwiki know that a .tid file is not 
> correctly formatted.
> I have a tiddler, which does not have the correct tiddler format, but if I 
> throw it's contents to the $tw.wiki.deserializeTiddlers function it 
> parses it someway. Why? How can I make sure that the tiddlers imported 
> using the deserializer are correctly formatted?
>

IMO there is no built in implementation, since there is no formal 
description of a valid .tid file atm. 

The minimal requirement for a .tid file imo is: 

 - there must be a title field. 

The rest is in the open. .. eg: 

 - field names must be all lower case without spaces. ... There is no 
written rule. It just doesn't work if you do it wrong or there will be 
weird errors. 
 - filed content has to be a single line. 
 ... 
and several more. But they are not formalized at the moment. eg: allowed 
characters for field names ... 

-m

-- 
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 http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/f6cb9ac9-4dc9-496a-9340-3c5d5a46b8b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to