egh / zotxt

zotxt: a Zotero extension for text
http://gitlab.com/egh/zotxt
GNU General Public License v3.0
326 stars 16 forks source link

Linking to Zotero items: pb with the id field #30

Open myildi opened 3 years ago

myildi commented 3 years ago

Hello, Thank you very much for developing this nice extension! I use the last version of Zotero with the last version of OSX. I meet a problem with BetterbibteX and Zotxt.

I use Hook for connecting different information together and it has now a module for linking with Zotero items, that is very useful for me (I am a researcher). This connection uses zotxt that I have already installed.

It reads the information about the selected item in Zotero through the following curl command: "curl -s -d selected=t\&format=json -G http://127.0.0.1:23119/zotxt/items" and then builds a zotero:// link using the id it reads from this record

When Better BibTeX is activated, I get as the id the citekey of the article, like zotero://select/library/items/harmsen2015 and the the zotero link cannot point to the specific article when I click it.

If I deactivate BBTX, the correct id (the same as the name of the subfolder in the Zotero storage folder) is obtained and the link points to the specific file: zotero://select/library/items/DCEXAPF4

BBTX developer suggested me to contact you: "I don't generate or modify this url, that's zotxt's work. Zotxt likely detects the presence of BBT and reacts to that, but I don't know how it reacts to BBT and whether it's configurable; you'll have to ask the Zotxt developer."

I have not been able to find any option for Zotxt. Do you think that we could solve this problem?

Thank you for your attention. Very cordially,

Murat

TomBener commented 2 years ago

Hi, @myildi. I encountered the same issue here. When deactivating Better BibTeX for Zotero, the integration of Hook & Zotero works well. But I have to use Better BibTeX. This issue really annoys me. Have you any further solution for it? Thanks!

myildi commented 2 years ago

Hi Tom, I use now the script given in the Hook forums and it seems to work.

TomBener commented 2 years ago

Which script do you use? Could you please provide a link? thanks.

Update: I just found Zutilo for Zotero provides an additional feature to Copy selected item links, which can be done via an assigned keyboard shortcut. It can be an alternative to Hook & Zotero integration when Better BibTeX for Zotero is activated.

myildi commented 2 years ago

Hi, Tom, Hook comes now with Zotero scripts (for v5 and v6 beta) and these seem to work in my case. I have Zotero v. 5.0.97-beta.55+3b993b2af

On 5 December 2021, at 15:42, TomBen @.***> wrote:

Which script do you use? Could you please provide a link? thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/egh/zotxt/issues/30#issuecomment-986188744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACVMH65ZKT3S5NANP4SR23UPMQXDANCNFSM46TY64RA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Prof. Murat Yildizoglu

Advisor to the Minister of Education, Youth and Sports of Cambodia Expertise France

On temporary leave from University of Bordeaux

80 Preah Norodom Boulevard

Phnom Penh Royaume du Cambodge Telegram: +855 95 732 088 http://yildizoglu.fr