Jan I feel for you. One of the limitations with TW is when things fail is its quite difficult to pin-down why. The interface gives virtually no feedback.
JSON is a much better format IMO because its not ambiguous in the way CSV can be. But I don't think I can help you on specifics because I use a GREP engine (https://www.powergrep.com/) that requires understanding how to use complex Regular Expressions to prep text into JSON form. Maybe I can help a bit if you can show me a fragment of what a native JSON the program makes looks like? It may be that Mark S. is in the right direction on CSV. Its difficult to be sure. Anyway, I will happily look at any JSON file if you want. Best wishes Josiah On Sunday, 15 May 2016 00:26:07 UTC+2, Jan wrote: > > Dear Mark, > It crashed when I used 6 arrays with 5 entries...and it still crashed when > I pasted a single line. > The errorcode is: TypeError: araLine[j] is undefined > Dear Josiah, > I tried out various programms to convert csv to json. Both formats are to > be quite vulnerable if you have to convert them manually...If you got a > nice 'n stable solution I' d be thankfull. > I'd be glad if i coud avoid the detour vía json. > I wrote an xml to make Zotero export csv-compatible strings. I attached it > though it is not yet perfect for all subjects (The Template for websites > and articles in journals are not ready yet... ) > Just pull it on firefox or Zotero to install (and do not mind the error > message)...btw: Zotero can be found on https://www.zotero.org/ and is > very practical for scientific work. > > The quotations look like this: > > "*motion_picture*","Peter Greenaway", *"A Zed & Two Noughts",* "115 min", > "25.05.1990" > > "*motion_picture*","Steven Spielberg", *"E.T. the Extra-Terrestrial",* > "115 min", "11.06.1982" > > "*motion_picture*","Terry Gilliam", *"Fear and Loathing in Las Vegas",* > "118 min", "22.05.1998" > > "*book*","John Howard Lawson", *"Film: the creative process: the search > for an audio-visual language and structure",* "New York", "1964" > > "*book*","Felicity Colman", *"Deleuze and cinema: the film concepts",* > "Oxford", "2011" > > I would like to create templates like > "director", "title", "length", "date" for the type motion_picture > to parse the strings and create the tiddlers and fields directly out of > them. > > I guess this way is safer and easier than vía json... > > Jan > > > > > > > > > > Am 14.05.2016 um 19:09 schrieb [email protected] <javascript:>: > > Ciao Mark & Jan > > This is an interesting issue. Personally I found that creating simple > JSON's using GREP tools, rather than relying on a programme's own routines, > is more successful for importable files. i dont know that particular > application. What i do know is that we should not expect Tiddlywiki to > natively cope with too much complexity. The simpler and more "flat-file" > the import the better in my experience. > > Best wishes > Josiah > > On Saturday, 14 May 2016 17:37:27 UTC+2, Mark S. wrote: >> >> So how did the csv2json crash? I imagine if you try to convert too much >> at once there will be problems. >> >> A quick look online suggests that the zotero RDF format may have more >> fields than the json export. RDF is (usually) just a text format (XML) so >> you could browse it and see if it contains everything you want. >> >> If you have your data in the form of a table, what some people have done >> is to load it into a spreadsheet. Then add columns and rows to "decorate" >> the data so that it looks like a JSON file. Then copy the whole thing as >> text (usually need "copy as" functionality) and then paste into a text file >> to create your json file to import. >> >> HTH >> Mark >> >> >> On Friday, May 13, 2016 at 5:17:18 PM UTC-7, Jan wrote: >>> >>> Hallo, >>> has anyone discovered a workflow of exporting entries from a >>> Zotero-Library and reimporting them as Tiddlers. >>> Although Zotero is able to create a json file, this is not packing the >>> interesting Data like autor and year, but useless information. >>> I had big trouble importing the CSVs, but finally the render as Tables. >>> Unfortunately they crash the MAS/csv2json.js >>> <https://groups.google.com/group/tiddlywiki/attach/5e2ffcbe2d088/Csv%20Wiki.html?part=0.1.1&authuser=0> >>> -plugin... >>> >>> -Is there a way of generating tiddlers from a table within a tiddler? >>> -Should i use a different format than json and csv to start with? >>> -Has anyone experience with the Zotero xul-editor to produce a better >>> .json-export? >>> Jan >>> >>> -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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/f6b9987d-40d0-49c5-9830-78bcb35fdfb3%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/f6b9987d-40d0-49c5-9830-78bcb35fdfb3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 [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/446b2330-3b83-4ed4-8514-abb2648676e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

