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

Skip and Log Records that do not have friendly_url values. #486

Closed
2 tasks done
kevinreiss opened this issue Apr 6, 2023 · 0 comments · Fixed by #487
Closed
2 tasks done

Skip and Log Records that do not have friendly_url values. #486

kevinreiss opened this issue Apr 6, 2023 · 0 comments · Fixed by #487
Assignees

Comments

@kevinreiss
Copy link
Member

kevinreiss commented Apr 6, 2023

User story

As a user wanting to utilize library database I see that appears in a search result list I need a URL to link to that will force me to use Princeton Authentication when appropriate. This value is the "friendly_url" value in the databases export CSV, CSV is at https://lib-jobs.princeton.edu/library-databases.csv.

Concrete examples from the current export:

*Example Database Asset

id,name,description,alt_names,url,friendly_url,subjects
2938688,GQuery: NCBI Global Cross-database Search,"Integrated, text-based search and retrieval system used at NCBI for the major databases, including PubMed, Nucleotide and Protein Sequences, Protein Structures, Complete Genomes, Taxonomy, and others.",,http://www.ncbi.nlm.nih.gov/gquery,https://libguides.princeton.edu/resource/3776,Molecular Biology

Implementation notes, if any

To Dos

  • Ignore assets that do not contain a "friendly_url" value in the Libguides API export. DB maintainers are supposed to manually assign this value as new assets are created.
  • Write to a log the id values of records that do not have a friendly URL. This can be used by DB maintainers to make corrections.
@kevinreiss kevinreiss changed the title Add "nid" column to the library databases export csv of libguide assets Add "asset_id" column to the library databases export csv of libguide assets Apr 7, 2023
@kevinreiss kevinreiss changed the title Add "asset_id" column to the library databases export csv of libguide assets Skip and Log Records that do not have friendly_url values. Apr 7, 2023
@maxkadel maxkadel self-assigned this Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants