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

Research: What is the site saying that Zotero is picking up? #1213

Open
ruthtillman opened this issue Jun 9, 2023 · 3 comments
Open

Research: What is the site saying that Zotero is picking up? #1213

ruthtillman opened this issue Jun 9, 2023 · 3 comments
Assignees

Comments

@ruthtillman
Copy link
Collaborator

Is there something in the way the page is declaring itself that Zotero is picking up?

When I do a search that results in more than one page of results. – example “history of fruit varieties” 153 results. When I leave the list at 10 per page, the zotero icon showing in my browser bar is the folder, and when click on that I can select all the ones I want to add. BUT when I then go to the next page, the zotero icon changes to ‘saving as a webpage’ and I can’t save the individual items. Also if I change the first page to show 100 items at a time – it switches to saving as a Webpage.

@ruthtillman ruthtillman self-assigned this Jun 9, 2023
@ruthtillman
Copy link
Collaborator Author

@ruthtillman
Copy link
Collaborator Author

<link rel="alternate" type="application/rss+xml" title="RSS for results" href="[/catalog.rss?q=ethical+fashion&amp;search_field=all_fields](view-source:https://catalog.libraries.psu.edu/catalog.rss?q=ethical+fashion&search_field=all_fields)" />
  <link rel="alternate" type="application/atom+xml" title="Atom for results" href="[/catalog.atom?q=ethical+fashion&amp;search_field=all_fields](view-source:https://catalog.libraries.psu.edu/catalog.atom?q=ethical+fashion&search_field=all_fields)" />
  <link rel="alternate" type="application/json" title="JSON" href="[/catalog.json?q=ethical+fashion&amp;search_field=all_fields](view-source:https://catalog.libraries.psu.edu/catalog.json?q=ethical+fashion&search_field=all_fields)" />

obvs documentation would show more

@ruthtillman ruthtillman changed the title Ruth figure out: What is the site saying that Zotero is picking up? Research: What is the site saying that Zotero is picking up? Dec 14, 2023
@Smullz622 Smullz622 self-assigned this Jan 2, 2024
@Smullz622
Copy link
Contributor

Update for when we revisit this:

It appears that at least part of the problem is related to COinS/export_as_openurl_ctx_kev method (used by Zotero to generate citations). The solr docs in the search results index don't have as many fields and did not respond to export_as_openurl_ctx_kev. Initial work for zotero to pick up citations for index of search results is done here.

The initial work is based on Stanford & Emory's work:

Emory discusses their approach here. The override of export_as_openurl_ctx_kev comes from their solution but still needs more work since it may limit the fields for docs that do have the additional fields. Possible move for our future work is to create a new separate method just for exports of indexed results so we do not have to override the default.

Stanford changed the default in app/views/catalog/show.html.erb which is something we probably want to do as well since document_partial_name(@document) is going to be depreciated by blacklight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants