.meta files

56 views
Skip to first unread message

Mohammad

unread,
Mar 25, 2020, 12:03:27 PM3/25/20
to TiddlyWikiDev
I have noticed on Node.js some .meta files are created, for example


  • tw-version.tid
  • tw-version.tid.meta

The content of tw-version.tid is 

<pre>/* TW-version added to site title */
.tc-site-title:before {
  content:"TW <<version>>";
  position:absolute;
  margin-top:-1.9em;
  color:silver;
  font-size:13px;
}
</pre>

Strangely when I stop and reload the server, I noted, my tw-version.tid is empty (nothing in text field) and some extra fields were created in tw-version.tid.

I deleted the fields and correct the tw-version.tid tiddler everything was fine. Stopped/Reload server again and I saw this happened again!

  • What is the source of this strange issue?
  • What are these meta files?
  • How do I stop creation of these file?
--Mohammad

TonyM

unread,
Mar 25, 2020, 4:17:15 PM3/25/20
to TiddlyWikiDev
Mohammad,

I would guess by the name that meta files are content, not themselves in tiddlers. To create a single file wiki there is html that constructs the HTML file. But I don't know

Regards
Tony

Joshua Fontany

unread,
Mar 25, 2020, 7:22:56 PM3/25/20
to TiddlyWikiDev
If you set a tiddler's type field to a regitered "filetype" content-type, then the server will save the "body" of the tiddler separately from "all other fields".

Did you explicitly set your tiddler's type to one of the below types (quoted from "$:/boot/boot.js")? Did you then change that?
```
    // Add file extension information
    $tw.utils.registerFileType("text/vnd.tiddlywiki","utf8",".tid");
    $tw.utils.registerFileType("application/x-tiddler","utf8",".tid");
```

Best,
Joshua F

Mohammad

unread,
Mar 26, 2020, 3:54:30 AM3/26/20
to TiddlyWikiDev
Hi Joshua,
 Yes, most of tiddlers has type field! 
What do you recommend, remove type field?
It is strange to see on reload a some fields are created! like below

.tc-site-title:   before


--Mohammad
Reply all
Reply to author
Forward
0 new messages