I'm playing with a script that unpacks a single json plugin file to individual tiddler files for installing under a node.js server. The script would also create a
plugin.info file and, if necessary, a
tiddlywiki.files file. (Note that TW is not involved in this process - the script acts directly on the json file.)
I am only using a subset of tiddlywiki.files functionality at the moment - just the 'tiddlers' section with the 'file' and 'fields' fields.
My question is this: is there any way of determining solely from the contents of a tiddler whether its metadata should be provided via the tiddlywiki.files file rather than the tiddler's own file? Another way to put that is: is there an algorithm based on tiddler content that determines whether a tiddler's metadata is provided via the tiddlywiki.files file rather than the tiddler's own file?