Generating bibtex entry from a URL: zotero, zbib and TooBib.

Mike Marchywka marchywka at hotmail.com
Sat May 15 15:35:25 CEST 2021


On Thu, May 13, 2021 at 11:23:09AM +0100, Jonathan Fine wrote:
>    Thank you Mike for finding and reporting this problem.


This worked on my code but failed on Zotero,

https://www.mayoclinicproceedings.org/article/S0025-6196(11)62158-7/pdf

I got this, 


% mjmhandler: toobib handledoi
% date 2021-05-15:09:24:11 Sat May 15 09:24:11 EDT 2021
% srcurl: https://www.mayoclinicproceedings.org/article/S0025-6196(11)62158-7/pdf
% citeurl: http://api.crossref.org/works/10.4065/79.7.904/transform/application/x-bibtex
@article{Ezekowitz_2004,
	doi = {10.4065/79.7.904},
	url = {https://doi.org/10.4065%2F79.7.904},
	year = 2004,
	month = {jul},
	publisher = {Elsevier {BV}},
	volume = {79},
	number = {7},
	pages = {904--913},
	author = {Michael D. Ezekowitz and Rodney H. Falk},
	title = {The Increasing Need for Anticoagulant Therapy to Prevent Stroke in Patients With Atrial Fibrillation},
	journal = {Mayo Clinic Proceedings},
srcurl={https://www.mayoclinicproceedings.org/article/S0025-6196(11)62158-7/pdf},
xsrcurl={https://www.mayoclinicproceedings.org/article/S0025-6196(11)62158-7/pdf},
citeurl={http://api.crossref.org/works/10.4065/79.7.904/transform/application/x-bibtex}

}

I use an  awful hack but also see below.  
The tmp file is the downloaded pdf.

 cat /tmp/fileik4cLa | strings -n 10 | grep "10" | grep doi
         <dc:identifier>doi:10.4065/79.7.904</dc:identifier>


However, they were good about putting DOI in exif which I would think Zotero
should know about, 


 exifutil -list  /tmp/fileik4cLa 
ExifTool Version Number         : 11.75
File Name                       : fileik4cLa
Directory                       : /tmp
File Size                       : 155 kB
File Modification Date/Time     : 2021:05:15 09:24:10-04:00
File Access Date/Time           : 2021:05:15 09:24:10-04:00
File Inode Change Date/Time     : 2021:05:15 09:24:10-04:00
File Permissions                : rw-rw-r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : Yes
Page Mode                       : UseOutlines
XMP Toolkit                     : Adobe XMP Core 4.0-c316 44.253921, Sun Oct 01 2006 17:14:39
Format                          : application/pdf
Identifier                      : doi:10.4065/79.7.904
Title                           : The Increasing Need for Anticoagulant Therapy to Prevent Stroke in Patients With Atrial Fibrillation
Creator                         : [Michael D. Ezekowitz MD|, PhD,Rodney H. Falk MD]
Subject                         : 
Description                     : Mayo Clinic Proceedings, 79 (2004) 904-913. doi:10.4065/79.7.904
Publisher                       : [Mayo Foundation for Medical Education and Research]
Aggregation Type                : journal
Publication Name                : Mayo Clinic Proceedings
Copyright                       : Copyright © 2004 Mayo Foundation for Medical Education and Research. All rights reserved.
ISSN                            : 0025-6196
Volume                          : 79
Number                          : 7
Page Range                      : 904-913
Starting Page                   : 904
Ending Page                     : 913
Digital Object Identifier       : 10.4065/79.7.904
Robots                          : noindex
URL                             : http://dx.doi.org/10.4065/79.7.904
Elsevier Web PDF Specifications : 6.1
Authoritative Domain 005 B1005D : sciencedirect.com
Authoritative Domain 005 B2005D : elsevier.com
Authoritative Domain            : [sciencedirect.com,elsevier.com]
Creator Tool                    : Elsevier
Create Date                     : 2004:06:16 12:25:03Z
Modify Date                     : 2011:12:31 15:17:28+05:30
Metadata Date                   : 2011:12:31 15:17:28+05:30
Marked                          : True
Keywords                        : 
Producer                        : Acrobat Distiller 6.0 for Windows
Document ID                     : uuid:8a183bbd-781b-41e7-b90f-c98ec653efd8
Instance ID                     : uuid:86f54fc0-d0c5-409e-95a4-b72c0afa94ca
Page Count                      : 10
Page Layout                     : SinglePage
Author                          : Michael D. Ezekowitz MD, PhD
Authoritative Domain 1          : sciencedirect.com
Authoritative Domain 2          : elsevier.com



>    On Wed, May 12, 2021 at 10:37 PM Mike Marchywka <[mailto:marchywka at hotmail.com]marchywka at hotmail.com> wrote:
> 
>      This form  [https://zbib.org/]https://zbib.org/
>      is giving me an error on this link,
>      [https://core.ac.uk/download/pdf/82352096.pdf]https://core.ac.uk/download/pdf/82352096.pdf
>      Is there a trick to getting it to work?
> 
>    It also gives an error for me, both via [http://zbib.org/]zbib.org and via the zotero browser plugin. However, this one
>    works on both [http://zbib.org/]zbib.org and the plugin:
>    [https://arxiv.org/pdf/2104.12015.pdf]https://arxiv.org/pdf/2104.12015.pdf
>    With the plugin I get the error message: This item could not be saved because Zotero is not open or is unreachable. Please
>    open Zotero and try again.
>    I suspect that there is an error, but not the one just reported.
>    --
>    Jonathan

-- 

mike marchywka
306 charles cox
canton GA 30115
USA, Earth 
marchywka at hotmail.com
404-788-1216
ORCID: 0000-0001-9237-455X


More information about the texhax mailing list.