On Sunday, November 10, 2013 09:02, Jeremy Ruston wrote
regarding Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a 
single file?:
> 
> You can import a JSON file with drag and drop in the browser, or via the 
> --load
> command under node.js.

Jeremy,

Sorry, I'm not very familiar with node.js.  Can you give me an example
of a command for how to add a JSON file named tiddlers.json into a TW5
file named mytw5.html?  Is it just

node mytw5.html --load tiddlers.json text/json ?

Can I pipe STDOUT to node instead of importing a file?
E.g. 

echo "<json code>" | node mytw5.html --load - text/json

or something like that?

This would be very useful.  Most of my tasks come from emails and if I can
write a script to add tiddlers to TW5 from command line, I can create a
macro in my mutt mail client to create tasks from emails.  This would be
great because integration with email client is #1 feature I look for in
a task management system.  I did something similar when I used "task"
project management application (terminal based) and it worked well.

Thanks.

-- 
Arkady

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to