Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Zotero group libraries in remote libraries #3356

Closed
hansonmcoombs opened this issue Dec 12, 2023 · 2 comments · Fixed by #3453 or #3454
Closed

support for Zotero group libraries in remote libraries #3356

hansonmcoombs opened this issue Dec 12, 2023 · 2 comments · Fixed by #3453 or #3454
Assignees
Labels
enhancement New feature or (non bug related) change to the program.
Milestone

Comments

@hansonmcoombs
Copy link
Contributor

I'm just getting my head around Latex and setting up my system/environment. Generally thank you so much for the excellent plugin.

My issue

Please correct me if I'm wrong!

I collaborate with a number of other authors. We manage our references by using a Zotero Group librarly (https://www.zotero.org/groups/), which are stored in Zotero Storage. Based on the source code group libraries are not supported.

https://github.com/Hannah-Sten/TeXiFy-IDEA/blob/master/src/nl/hannahsten/texifyidea/remotelibraries/zotero/ZoteroLibrary.kt

27: return client.get("$BASE_URL/users/${credentials?.userName}/items") 
51: const val BASE_URL = "https://api.zotero.org"

Possible solution

Create a new remote library type: zotero group library:

Based on https://forums.zotero.org/discussion/38980/api-group-access" --> https://api.zotero.org/groups/{YourGroupID}/items?key={YourKey}

you would need something like:

I would dig into this, but I've never worked with .kt or javascript... so it may take me some time.

@hansonmcoombs hansonmcoombs added enhancement New feature or (non bug related) change to the program. untriaged Issue type still needs to be triaged or verified. labels Dec 12, 2023
@PHPirates
Copy link
Collaborator

Thanks for the suggestion! Indeed, if the group id is something that needs to be provided manually to TeXiFy then a separate library type makes sense I think, because we need UI for that then.

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Dec 12, 2023
@hansonmcoombs
Copy link
Contributor Author

@PHPirates I belive that there must be a mechanism to grap all group library ids for the subscribed user... but that might be harder than it is worth. A bit of documentation (you get the group library id from the group library URL) might be easier work around for the moment. It might also allow unsubscribed read access to public groups (like the link below). Unfortunately I haven't yet had time to dig into Zotero's API...

https://www.zotero.org/groups/2608283/open_science_readings
the group id is 2608283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or (non bug related) change to the program.
Projects
None yet
2 participants