[tw] Re: Solution for Importing Entries (csv/json) from the Zotero Bibliography Tool.

2016-10-18 Thread Steven Schneider
Hello, sorry to be late to the party. 

For high-quaity csv-to-json conversion see 
http://www.convertcsv.com/csv-to-json.htm

I to am very interested in this, for the same reason -- bibliographic 
entries -- and am trying to get JabRef to generate a JSON file for 
importing (ideally, without an intermediate csv step. If you are willing to 
take that step, see my workflow:

https://stevesunypoly.updog.co/bibtex/bibliography.html#Steps%20to%20create%20tiddlers%20for%20each%20entry%20in%20bib%20file

or more generally, 

https://stevesunypoly.updog.co/bibtex/bibliography.html

Let me know if you are still working on this; perhaps we can put our minds 
together...:)

//steve.

On Tuesday, May 17, 2016 at 6:30:22 PM UTC-4, Mark S. wrote:
>
> Congratulations Jan. The good thing about the name Zotero, is that anyone 
> looking for your solution will have an excellent chance of finding it. 
>
> On Tuesday, May 17, 2016 at 1:56:18 PM UTC-7, Jan wrote:
>>
>> Hi Mark, dear scientific users of TW.
>> In the search of a way to create Tiddlers from a 
>> Zotero/Mendeley/...-Bibliography I found a solution.
>> In the attachment you find a csl-template, wich supports the export into 
>> something, that can manually be transformed into a Json-file which will 
>> create Tiddlers for each chosen Film or Videostream.
>> That's my UseCase for now. I will do other formats later or quicker on 
>> demand If someone asks.
>> The description is in the Readme.
>>
>> Cheers Jan
>>
>> PS: 
>> Dear Mark
>> your were right in your analysis. Your Plugin now works fine. Despite I 
>> decided that CSVs as export format are to vulnerable for my usecase.
>> J
>>
>> Am 16.05.2016 um 01:33 schrieb 'Mark S.' via TiddlyWiki:
>>
>> The entry with "Monty Pythons Flying Circus" is missing a title (or a 
>> director, depending on if you meant for MPFC to be director or title).
>>
>> All fields need to be present, though they can be empty. An empty field 
>> would represented by empty double quotes. So that particular entry might be 
>> represented as:
>>
>> "motion_picture","Monty Pythons Flying Circus","","30 
>> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>>
>> (Assuming MPFC was the 'directory').
>>
>> HTH
>> Mark
>>
>> On Sunday, May 15, 2016 at 4:11:46 PM UTC-7, Jan wrote: 
>>>
>>> Hallo Mark,
>>> Your Example works fine now, the code does not cause crashes anymore, 
>>> but it gives me your error-message for this:
>>>
>>> type,director,title,length,launch,tags
>>> "motion_picture","Hans Richter","Ghosts Before Breakfast","6 
>>> min","14.07.1928","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Monty Pythons Flying Circus","30 
>>> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","John Mc Tiernan","Predator","107 
>>> min","12.06.1987","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Paul Verhoeven","Robo Cop","102 
>>> min","17.07.1987","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","Peter Greenaway","The Draughtsmans Contract","108 
>>> min","30.06.1983","Neuro,Gestalttheorie,Movie"
>>> "motion_picture","James Cameron","The Terminator","107 
>>> min","26.10.1984","Neuro,Gestalttheorie,Movie"
>>>
>>> I have no clue why...
>>>
>>> Thanks for your endurance, 
>>> Jan
>>>
>>>
>>>
>>>
>>> Am 15.05.2016 um 03:38 schrieb 'Mark S.' via TiddlyWiki:
>>>
>>> Although you copied it from the list, when you pasted it in you already 
>>> had a line in place. Or you selected an extra line feed. So if you check, 
>>> you'll see that there is one "invisible" line at the bottom of your input 
>>> tiddler that is choking the program. When/If I do an update, I'll have to 
>>> add checking code to toss out bad lines.
>>>
>>> HTH
>>> Mark
>>>
>>> On Saturday, May 14, 2016 at 6:32:22 PM UTC-7, Jan wrote: 

 Hi Mark,
 the last string I tested was:

 title,tags,text,birth,death
 "John Smith","English male,Therapist","Explorer, Artist","1900","1981"

 because I wanted to see it work...
 This means I copypasted it right from the mail to the field...

 Yours Jan

 Am 15.05.2016 um 01:22 schrieb 'Mark S.' via TiddlyWiki:

 Can you share the lines that crashed it?  I would guess that you either 
 have an empty field or a blank line somewhere.

 Mark

 On Saturday, May 14, 2016 at 3:26:07 PM UTC-7, 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
>
> -- 
 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 
 

[tw] Re: Solution for Importing Entries (csv/json) from the Zotero Bibliography Tool.

2016-05-17 Thread 'Mark S.' via TiddlyWiki
Congratulations Jan. The good thing about the name Zotero, is that anyone 
looking for your solution will have an excellent chance of finding it. 

On Tuesday, May 17, 2016 at 1:56:18 PM UTC-7, Jan wrote:
>
> Hi Mark, dear scientific users of TW.
> In the search of a way to create Tiddlers from a 
> Zotero/Mendeley/...-Bibliography I found a solution.
> In the attachment you find a csl-template, wich supports the export into 
> something, that can manually be transformed into a Json-file which will 
> create Tiddlers for each chosen Film or Videostream.
> That's my UseCase for now. I will do other formats later or quicker on 
> demand If someone asks.
> The description is in the Readme.
>
> Cheers Jan
>
> PS: 
> Dear Mark
> your were right in your analysis. Your Plugin now works fine. Despite I 
> decided that CSVs as export format are to vulnerable for my usecase.
> J
>
> Am 16.05.2016 um 01:33 schrieb 'Mark S.' via TiddlyWiki:
>
> The entry with "Monty Pythons Flying Circus" is missing a title (or a 
> director, depending on if you meant for MPFC to be director or title).
>
> All fields need to be present, though they can be empty. An empty field 
> would represented by empty double quotes. So that particular entry might be 
> represented as:
>
> "motion_picture","Monty Pythons Flying Circus","","30 
> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>
> (Assuming MPFC was the 'directory').
>
> HTH
> Mark
>
> On Sunday, May 15, 2016 at 4:11:46 PM UTC-7, Jan wrote: 
>>
>> Hallo Mark,
>> Your Example works fine now, the code does not cause crashes anymore, but 
>> it gives me your error-message for this:
>>
>> type,director,title,length,launch,tags
>> "motion_picture","Hans Richter","Ghosts Before Breakfast","6 
>> min","14.07.1928","Neuro,Gestalttheorie,Movie"
>> "motion_picture","Monty Pythons Flying Circus","30 
>> min","05.10.1969","Neuro,Gestalttheorie,Movie"
>> "motion_picture","John Mc Tiernan","Predator","107 
>> min","12.06.1987","Neuro,Gestalttheorie,Movie"
>> "motion_picture","Paul Verhoeven","Robo Cop","102 
>> min","17.07.1987","Neuro,Gestalttheorie,Movie"
>> "motion_picture","Peter Greenaway","The Draughtsmans Contract","108 
>> min","30.06.1983","Neuro,Gestalttheorie,Movie"
>> "motion_picture","James Cameron","The Terminator","107 
>> min","26.10.1984","Neuro,Gestalttheorie,Movie"
>>
>> I have no clue why...
>>
>> Thanks for your endurance, 
>> Jan
>>
>>
>>
>>
>> Am 15.05.2016 um 03:38 schrieb 'Mark S.' via TiddlyWiki:
>>
>> Although you copied it from the list, when you pasted it in you already 
>> had a line in place. Or you selected an extra line feed. So if you check, 
>> you'll see that there is one "invisible" line at the bottom of your input 
>> tiddler that is choking the program. When/If I do an update, I'll have to 
>> add checking code to toss out bad lines.
>>
>> HTH
>> Mark
>>
>> On Saturday, May 14, 2016 at 6:32:22 PM UTC-7, Jan wrote: 
>>>
>>> Hi Mark,
>>> the last string I tested was:
>>>
>>> title,tags,text,birth,death
>>> "John Smith","English male,Therapist","Explorer, Artist","1900","1981"
>>>
>>> because I wanted to see it work...
>>> This means I copypasted it right from the mail to the field...
>>>
>>> Yours Jan
>>>
>>> Am 15.05.2016 um 01:22 schrieb 'Mark S.' via TiddlyWiki:
>>>
>>> Can you share the lines that crashed it?  I would guess that you either 
>>> have an empty field or a blank line somewhere.
>>>
>>> Mark
>>>
>>> On Saturday, May 14, 2016 at 3:26:07 PM UTC-7, 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

 -- 
>>> 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/d3983c2f-9bfa-4e33-857c-ef7bd16173f6%40googlegroups.com
>>>  
>>> 
>>> .
>>> 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 https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/befa483d-fb31-45c0-9bdf-ad77ede9f395%40googlegroups.com
>>  
>>