Found a workaround. Copied all tiddlers in "editions/mytw5/tiddlers" directory, copied tiddlywiki.info from editions/tw5.com and ran bld.sh after adding to it a section to create "mytw5.html" file. Whew... Learned something in the process. But still, would like to see an easier way.
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
Firefox 24.0 for Linux. Just double-checked. I cannot select multiple
files using the Browse button, for some reason. It could be some
parameter of the button which has different default value in different
browsers.
> Can Perl conveniently create JSON files?Yes. I'm very familiar with Perl. I often use it at work. I think, it
was originally created to process text files. Most likely, there is a
Perl module to handle JSON files, but the syntax is simple enough to
create them manually. The JSON file you describe seems to be very easy
to create from a CSV file using any text editor. My favorite Vim would
work just fine.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.
I am trying to do something very similar to Arkady: in my case convert a list of items from an excel file to one tiddler for each row in the list (ultimately with the aim of making a searchable database). I can write a python script to make a suitably formatted file to import into TW, but while JSON works fine with standard fields, it doesn't work with my non-standard fields. The only other format described in http://tiddlywiki.com/#TiddlerFiles that appears to support multiple tiddlers in a single file is a 'TiddlyWiki HTML file'. Does this mean an entire TW file, or is there some reduced format with not much more than a collection of <div>'s that TW will recognise it as a collection of tiddlers to import?
For more options, visit https://groups.google.com/d/optout.
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/54ca5c29-ef5f-40b7-91f2-e749e6bf9078%40googlegroups.com.
Use this tool to convert CSV data to JSON. There are 4 types of JSON conversions:
Which of these would be best to use to import JSON file?
Thanks!
//steve.
I'd be interested in playing around with the Node.js script. Sounds useful!
There's a special parser for text/csv tiddlers so that the content gets displayed as a nicely formatted HTML table.
"Name","Length"
"dir.op.json","118480"
"file.list.cmdlet","294"
When I import a csv I just get a text/plain tiddler.Is the parser part of the core?
test.csv:
"Name","Length"
"dir.op.json","118480"
"file.list.cmdlet","294"
--
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/26b00b42-145c-459e-b4d0-89a0f219286f%40googlegroups.com.