writing TW tags to file system

84 views
Skip to first unread message

Andrew Lister

unread,
Mar 9, 2016, 1:43:37 PM3/9/16
to TiddlyWiki
Has anyone explored the possibility of automatically writing TW tiddler tags to the file system, for the scenario in which tiddlers are being stored as separate .tid files, running TW via node.js?  By "writing to the file system" what I'm trying to say is having those tags visible via Spotlight search or a Finder window search (on a Mac). The rationale is not having to run two searches for one thing, if the "thing" might be a regular file (e.g. word processing document) or a tiddler.  (I have been using nvALT, but something is going wrong with the syncing of tags, between nvALT and Finder / Spotlight).

My ideal scenario would one in which when I tag a file in TW, the tag gets automatically added to the .tid file's metadata, so that it automatically becomes visible for a Spotlight search.

Jeremy Ruston

unread,
Mar 10, 2016, 3:48:17 AM3/10/16
to tiddl...@googlegroups.com
Hi Andrew

That’s a great idea.

What’s needed is a Node.js library that can read and write OS X Spotlight file tags; I couldn’t find one on a quick search, but if we did, I could certainly provide pointers for linking in the functionality.

Best wishes

Jeremy.


On 9 Mar 2016, at 18:43, Andrew Lister <andrew...@gmail.com> wrote:

Has anyone explored the possibility of automatically writing TW tiddler tags to the file system, for the scenario in which tiddlers are being stored as separate .tid files, running TW via node.js?  By "writing to the file system" what I'm trying to say is having those tags visible via Spotlight search or a Finder window search (on a Mac). The rationale is not having to run two searches for one thing, if the "thing" might be a regular file (e.g. word processing document) or a tiddler.  (I have been using nvALT, but something is going wrong with the syncing of tags, between nvALT and Finder / Spotlight).

My ideal scenario would one in which when I tag a file in TW, the tag gets automatically added to the .tid file's metadata, so that it automatically becomes visible for a Spotlight search.

--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/615a1bad-35c1-4bd6-9604-00c338620be3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Lister

unread,
Jun 30, 2019, 1:17:51 PM6/30/19
to TiddlyWiki
Would another option be to write an applescript that would find the tag info in a .tid file, then write it to the appropriate metadata item for that file?


On Thursday, 10 March 2016 03:48:17 UTC-5, Jeremy Ruston wrote:
Hi Andrew

That’s a great idea.

What’s needed is a Node.js library that can read and write OS X Spotlight file tags; I couldn’t find one on a quick search, but if we did, I could certainly provide pointers for linking in the functionality.

Best wishes

Jeremy.

On 9 Mar 2016, at 18:43, Andrew Lister <andrew...@gmail.com> wrote:

Has anyone explored the possibility of automatically writing TW tiddler tags to the file system, for the scenario in which tiddlers are being stored as separate .tid files, running TW via node.js?  By "writing to the file system" what I'm trying to say is having those tags visible via Spotlight search or a Finder window search (on a Mac). The rationale is not having to run two searches for one thing, if the "thing" might be a regular file (e.g. word processing document) or a tiddler.  (I have been using nvALT, but something is going wrong with the syncing of tags, between nvALT and Finder / Spotlight).

My ideal scenario would one in which when I tag a file in TW, the tag gets automatically added to the .tid file's metadata, so that it automatically becomes visible for a Spotlight search.

--
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 tiddl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages