Quote:
Originally Posted by DaltonST
Sure, but where do you see L1 appear in Zotero? I already have {path} in M2, and it appears in "Extras". I manually added L1 to a test ZMI RIS export file, and after changing the backslashes from / to \ for Win10, Zotero accepts the L1 without any error but does not seem to do anything with it. M2 still appears where it belongs, but nothing else seems to change. What are you seeing if you manually add L1 to your personal ZMI RIS export file?
DaltonST
|
Hi there I know nothing about programming, sorry. Anyway I changed the your plugin in 4 rows and reloaded it to Calibre (please see prints attached). Then I created a column in Calibre named #file that has the value for all the books of "file:///". Then I tried to write the Calibre Source in the ZMI: Export RIS so that L1 would return {#file}/{path} or for someone that doesn't know anything about programming would join the "file:///"+"D:/books/etc....".
Problems:
I know nothing about this....

The L1 returns what I wanted but it puts several spaces between the two expressions.
The value of {path} is not the value of the file though, so it doesn't import anything.
I made an experiment exporting a RIS file with only one book from Zotero and then reloading it back to see what was in it, that is how I get to L1 and then to altering your plugin. Anyway it works but I cannot replicate it, and I tried as you can see by now...

What is the value for files in Calibre as the value for path is {path}?
How do I remove the spaces between the two expressions?
Can you still help me? It works with the file exported from Zotero and then reloaded back to Zotero. So Zotero recognizes the instruction and acts accordingly. I even changed the direction of the slashes in the exemple I am sending you...

Can you make sense of all of this? Sorry.
the RIS file that works has this inside:
TY - BOOK
T1 - The Manipulation of Online Self-Presentation
SN - 9781137483416
DO - 10.1057/9781137483416.0001
L1 - file:///D:/Livros do Doutoramento/A. Attrill/The Manipulation of Online Self-Pre (595)/The Manipulation of Online Self - A. Attrill.pdf
ER -