Hello David,

Maybe you need to describe your platform, and how you are importing.

I created your tid file, dragged it into a spare TW, and the fields 
imported exactly as expected.

I suppose there's a possibility that something is different with line 
endings. Perhaps you could post your actual tid file, so we could see if 
there is something different about it.

Have fun,
-- Mark

On Monday, March 25, 2019 at 6:48:02 AM UTC-7, David Nebauer wrote:
>
> For the benefit of any (future) newbies trying to figure out TW/node-js 
> importing, I'll document my findings here. First, yes, the standard ".tid" 
> export format is *not* a valid import format. If you import this tiddler:
>
> creator: Henry Casimir
> modified: 20190320122829521
> modifier: John Friso
> tags: Test Demo Import Tid
> title: Demo Testing Tid-Style Import
> type: text/vnd.tiddlywiki
>
> Content of demo "tid-style" tiddler.
>
> you end up with:
>
> [image: imported-tid-style.png]
>
> Clearly the metadata fields do not import as fields.
>
> Regards,
> David.
>
> On Monday, 25 March 2019 08:07:04 UTC+9:30, David Nebauer wrote:
>>
>> In the process of transferring data into TW5 on node-js, I've been trying 
>> to import tiddler files as described in 
>> https://tiddlywiki.com/#TiddlerFiles. I have tried including metadata 
>> fields at the head of the tiddler file, but they were imported as tiddler 
>> text. I tried moving the metadata to a separate meta file, but the meta 
>> file was not imported with the tiddler. I tried importing both the tiddler 
>> and meta files together but each was imported to its own tiddler, the 
>> latter as a plain text tiddler. The only type of file I have been able to 
>> successfully import from is a div.tiddler style file, which enables me to 
>> upload metadata fields (creator, title, tags, created, etc.) with the 
>> tiddler text.
>>
>

-- 
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/6d289a7b-c5d4-46c2-a96a-e49acd9c0635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to