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

update CONTENTdm links used in posts #22

Open
evanwill opened this issue Dec 8, 2023 · 2 comments
Open

update CONTENTdm links used in posts #22

evanwill opened this issue Dec 8, 2023 · 2 comments
Assignees

Comments

@evanwill
Copy link
Member

evanwill commented Dec 8, 2023

Need to replace all instances containing the urls https://digital.lib.uidaho.edu or https://cdm17254.contentdm.oclc.org.
Most of the occurrences of these links is in old posts migrated from Tumblr. There is only about 50 posts to fix--so not impossibly large!
It requires a bit of detective work to figure out what it is supposed to be linking to--in most cases you replace a pair of links, one to the old CONTENTdm item page with the link to new Item page, and one to the old CONTENTdm image api with new image location on libobjects. In some cases the Item page is correct, but the CDM image links just need to be updated.

Steps:

  • pull to update project locally
  • go to search pane
  • in "files in include" type _posts/*
  • in search box paste one of the URLs above
  • visit each post and replace the links with appropriate updated links (this may involve updating image links and links to Item pages)
@evanwill
Copy link
Member Author

evanwill commented Dec 8, 2023

I did a few of these, not too hard!

@kxuidaho
Copy link
Contributor

kxuidaho commented Dec 14, 2023

Done, got all the links sorted out!

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