Hi Marc
> When I import a csv I just get a text/plain tiddler.
> Is the parser part of the core?
Try setting the type of the tiddler to "text/csv”. Does you CSV file have a
‘.csv’ extension?
Best wishes
Jeremy
>
> test.csv:
> "Name","Length"
> "dir.op.json","118480"
> "file.list.cmdlet","294
Currently TW5 does not seem to import CSVs as indicated in this thread:
>
> There's a special parser for text/csv tiddlers so that the content gets
> displayed as a nicely formatted HTML table.
When I import a csv I just get a text/plain tiddler.
Is the parser part of the core?
test.csv:
"Name",
Hi Andrew
> I'd be interested in playing around with the Node.js script. Sounds
> useful!
>
I've put the source on GitHub:
https://github.com/Jermolene/csv2tiddlers
It's not for the faint of heart; you'll need to hack the source code to
customise it for your own CSV files.
Let me know how yo
Dear Jeremy,
I'd be interested in playing around with the Node.js script. Sounds useful!
Thanks,
Andrew
On Thursday, July 9, 2015 at 8:32:25 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Steve
>
> Funnily enough, I've been working with some CSV files in my dayjob. I've
> got a very noddy little Node.j
Thanks, Jermey. I'm not quite to node.js yet. I installed but don't really
get it. I don't do much at command line.
As for CSV, the tool I'm trying to use
(http://www.convertcsv.com/csv-to-json.htm) offers these options:
Use this tool to convert CSV data to JSON. There are 4 types of JSON
conv
Hi Steve
Funnily enough, I've been working with some CSV files in my dayjob. I've
got a very noddy little Node.js script that converts CSV files into JSON
files. It's not very polished - eg one has to edit the JS source to tell it
which columns to use.
But, if you're comfortable with Node.js it m
Reviving an old thread. Am again interested in importing CSV as separate
tiddlers.
I use google sheets to generate CSV.
I'd like to use http://www.convertcsv.com/csv-to-json.htm to create json,
but none of the output formats work - when I use the import, the json file
doesn't return any tiddl
Hi Steve
You'll probably have seen the current built-in support for CSV files in
TW5: dragging or importing a file results in a single tiddler containing
the entire CSV file. There's a special parser for text/csv tiddlers so that
the content gets displayed as a nicely formatted HTML table.
The ap
Of course, writing out the problems leads to its solution (at least
partially).
I've discovered that, as promised above, a properly formatted json file, as:
[
{"title":"Tiddler1","text":"This is the text of tiddler 1","tags":"Tag1
Tag2 [[Tag 3]]"},
{"title":"Tiddler2","text":"This is th
+1
My workflow has been to import csv file to TWc via Eric's
CreateTiddlersFromCsv and then drop the TWc on a TW5 to import all tiddlers
at once.
The tedious part is then to click/accept to convert every imported tiddler
from TW classic format to a TW5 format.
It is tedious when you have 300+ t
Resurrecting an old thread, yet again...I have the same challenge (a
spreadsheet file where each line becomes a tiddler, with separate column
for title, text, tags, etc.. I need to help students import a large number
of tiddlers (5 to 200 or more) that they create through spreadsheet
manipulati
Thanks. That did the trick (once I added type="text/vnd.tiddlywiki" to
prevent the tiddlers being mistaken for TW classic format).
N.
On Saturday, 18 October 2014 17:43:13 UTC+1, Jeremy Ruston wrote:
>
> Hi Neil
>
> I am trying to do something very similar to Arkady: in my case convert a
>> li
Hi Neil
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 T
Just resurrecting this old thread...
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 forma
Hi Arkady
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 ?
>
Close, but on the server TW5 needs a WikiFolder to
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,
On Sunday, November 10, 2013 22:54, Jeremy Ruston wrote
regarding Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a
single file?:
>
> I've just tested Firefox 25 for OS X, and it does the multiple selection
> properly. Maybe it's a Linux thing?
It could be
Hi Arkady
On Sun, Nov 10, 2013 at 10:32 PM, Arkady Grudzinsky
wrote:
> 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.
>
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?:
> The "browse" button in TiddlyWiki5 should let you select multiple files - what
> browser are you using?
Firefox 24.0 for Lin
Hi Arkady
The "browse" button in TiddlyWiki5 should let you select multiple files -
what browser are you using?
The easiest way to import a bunch of tiddlers at once is to use a .json
file containing an array of tiddler field objects. For example:
[
{"title":"Tiddler1","text":"Text of tiddler},
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
I did crate a Perl script and generated 322 .tid files - one for each
tiddler. But, to my disappointment, I cannot select multiple files from
the file selection interface.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this
22 matches
Mail list logo