Bibliographic metadata alters title of pdf's without own doi

When I import pdf’s I automatically I run the smart rule Download Bibliographic metadata. It works well EXCEPT when the pdf does not have it’s own doi. In that case, common with various reports, etc., the rule looks for the first doi available in the document and inserts those metadata, including the title of whatever the doi is linked to. This means that the correct title is removed and is replaced by the title linked to the doi. Big nuisance, especially when I search for the correct title.
I have two options: A: Don’t use the smart rule; B: Fix the problem. Can I do that, and if so, how?
Thanks.

1 Like

The scripts we offer are editable, so go into the ~/Library/Application Scripts/com.devon-technologies.think/Smart Rules directory. Edit (or duplicate first) the script and change the line to what’s shown…

resolve DOI metadata theDOI record theRecord apply yes rename no contact email theContactEmail
1 Like

If you’re now thinking “hmmm, but now I know I can edit this script, there are other changes I’d like to make as well”, the replies to a forum question I asked were really helpful. It sounds scary to edit a script but a lot of it is readable to a human so it mostly makes sense. E.g. in my linked example I wanted to format the filename the script provides to match how I store files. Changing the script is easy with a little reassurance and help! Then the script is totally bespoke to what you need. (Mine is set so that it can’t find the doi info, it doesn’t change the file, but it still adds the tags I need.)

3 Likes

Thank you. That does the job.

1 Like

Hi. Thanks for your comment and encouragement. I have done the odd bit of editing in the past, some successful, some not. I do too little to be very confident.