Importing EndNote libaray, INCLUDING PDF attachments
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I couldn't see an answer to eagutt's query...can anyone help?
David
Alternatively, you can try to cleanup the RIS file (by passing it through, for example, bibutils).
'file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007.pdf'
used to work, but no longer will because now:
file://Euros/bases_biblio/MyTeam/MyName/PDF/Author2007/Author2007.pdf'
is the path. Does anyone know the syntax trick to copy the name only information as needed to use this recommended command:
sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\/*/g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/Author2007/Author2007.ris
?
sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\//g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/GoingToZotero_PDF.ris
to
sed 's/internal-pdf:\/\/.*\//\/media\/CORSAIR\/References.Data\/PDF\/*[what-goes-here?]/g' /home/user/Dropbox/TransferToZetoro.txt > /home/user/Dropbox/GoingToZotero_PDF.ris
http://forums.zotero.org/discussion/12476/duplicates-ris-pdf-endnote-file-not-found/
A solution also was suggested in that thread (editing the EndNote RIS output style) that did not work for me.
file:///media
file://media
/media
and also moved the .pdf to the local desktop.
Still importing only about 10 of ~4000 references then receiving error "Please ensure that the file is valid and try again."
The file opens fine in a text editor and the replacement appears correct in each permutation.
http://www.zotero.org/support/debug_output
TY - JOUR
AB - Two studies have examined whether there exists a relationship between
resting frontal alpha asymmetry and the Behavioral Inhibition and
Activation Scales (C. S. Carver & T. L. White, 1994), which are based on
Gray's Behavioral Inhibition and Behavioral Activation Systems. Findings
suggest that greater relative left frontal activity characterizes
individuals higher in self-reported behavioral activation sensitivity (E.
Harmon-Jones & J. J. B. Allen, 1997; S. K. Sutton & R. J. Davidson, 1997),
and, in one instance, lower behavioral inhibition sensitivity (S. K.
Sutton & R. J. Davidson, 1997). In the present study, relatively greater
left frontal activity correlated positively with behavioral activation
scores. No significant relationship between resting frontal alpha
asymmetry and the behavioral inhibition score emerged. These data suggest
that relatively greater left frontal activity is indeed an index of
approach oriented, appetitive motivational tendencies, whereas the
relationship between relative right frontal activity and the behavioral
inhibition system is likely to be complex and not accounted for by
behavioral withdrawal alone.
AU - Coan , James A.
AU - Allen, John J. B.
L1 - /home/nprause/Desktop/Ovaration.Data/PDF/0915289608Coan-2729962254/0915289608Coan.pdf
M1 - 1
N1 - Two studies disagreed on the asymmetry associated with BIS, so this study was to see which could be replicated.
Used multiple reference schemes
N=36
BAS appears more clearly an approach, but BIS not necessarily (could be interrupting ongoing behavior, increasing arousal, or increasing attention that need not lead to withdrawal)
Greater left EEG in midfrontal and lateral-frontal = more BAS
Greater right EEG in midfrontal = trend to more BIS (agrees with Sutton and Davidson 1997)
Suggests that BIS does not fit neatly as a "withdraw" tendency
PY - 2003
SP - 106
ST - Frontal EEG asymmetry and the behavioral activation and inhibition systems
T2 - Psychophysiology
TI - Frontal EEG asymmetry and the behavioral activation and inhibition systems
VL - 40
ID - 1960
ER -
The debugging output when an import containing this citation fails begins:
3)(+0000000): Translate: Searching for translators for an undisclosed location
(3)(+0003754): Translate: Searching for translators for /home/nprause/Desktop/Reduced17.txt
(4)(+0000000): Translate: Binding sandbox to http://www.example.com/
(4)(+0000001): Translate: Parsing code for Bibliontology RDF
(3)(+0000004): Translate: Checking whether file is UTF-8
(3)(+0000217): Translate: Preparing IO for Bibliontology RDF failed:
(3)(+0000000): 'fileName' => "chrome://zotero/content/xpcom/translation/browser_firefox.js"
'lineNumber' => 323
(2)(+0000000): Translate: Detect using Bibliontology RDF failed:
thrown exception => Error loading translator into sandbox
url => /home/nprause/Desktop/Reduced17.txt
downloadAssociatedFiles => true
automaticSnapshots => true
(4)(+0000000): Translate: Parsing code for MODS
(3)(+0000003): Translate: Checking whether file is UTF-8
(3)(+0000210): Translate: Preparing IO for MODS failed:
(3)(+0000000): 'fileName' => "chrome://zotero/content/xpcom/translation/browser_firefox.js"
'lineNumber' => 323
TY -
is in the first four lines of the file - if it is, it should at least try to treat this as RIS - which it doesn't. Is there any way the first entry in the file could have moved down too far?
If you don't mind, you could post a non-working RIS as a public gist to gist.github.com and post the URL here.
git://gist.github.com/1236377.git
(Will remove this after you take a look as it has notes I don't want preserved online.)
https://gist.github.com/1236377
And thank you for taking a closer look! So weird.
I downloaded the file and got the same error message as you.
Then opened in gedit and ran search and replace
\n\n --> \n
saved and it imported fine.
Hope this helps someone else!
sed -e 's/internal-pdf:\/\//file:\/\/ [ path to PDF folder starts with \/Users\/ ... ending .. /PDF ] \//g' [ input.txt ] > [ output.txt ]
so in Zotero the URL field is now file:///Users/....../PDF/[file.].pdf
for example from the folder that contains the file to be replaced using sed:
sed -e 's/internal-pdf:\/\//file:\/\/\/Users\/jonathan\/research_project\/references\/history_project_references.Data\/PDF\//g' history_project_references_to_import.txt > history_project_reference_export_and_replaced.txt
the three escaped forwarded slashed took me a while to figure out.
I'm too having problems with importing the endnote (X2) library into zotero with the pdf attachments.
I did follow the suggestions mentioned on the forum (renaming internal-pdf etc.), importing the references works fine, but the pdf files are nowhere to be found. In the "info" section of the reference, the link to the file is given, but I cannot directly access the pdf!
Is this normal or was a mistake made?
Thanks!
Ellen
Cheers
Ellen
When I save it as a xml I´m able to see the links (and I can replace them), but when I try to import it too Zotero it tells me that xml is not supported. Did anyone run into a similar problem and know how to solve it?
I use a Mac OS X, Zotero version 3.0.8.1 and have an Endnote X5. Thanks for your help! Lukas
I'm exporting my Endnote library and want to export the pdf files along.
I replaced the Endnote default string and my RIS file now has the full path:
L1 - "file://C:/Users/myname/Documents/EndNote/savanna_UVM.Data/PDF/AgnewADQ_etal_1993_JVegScience_vegswitch-2620602995/AgnewADQ_etal_1993_JVegScience_vegswitch.pdf"
Zotero imports the reference but not the pdf file.
Can anybody see where the problem is in my RIS file?
Thank you very much!