buda-base / BDRC-Lib-App

5 stars 2 forks source link

links to IA in the app #102

Open eroux opened 2 years ago

eroux commented 2 years ago

depends on #101

When a work is available only on IA, opening the BDRC image reader is a bit counter-productive. In that case there should be an "Borrow on Internet Archive" button that directs to the record on IA, and no mechanism to download PDF or view the images of BDRC. Note that in that case a few sample images are available from BDRC and could be used as preview / thumbnail

The URL for the record on IA can be constructed from the app. It is for instance https://archive.org/details/bdrc-W25007 (all are constructed in the same way).

There's a little bit of pedagogy to do for users, who need to login on IA with a different username from their BDRC account, and then click borrow, and they can't download PDFs.

eroux commented 2 years ago

for work parts things could be a little bit more complex since it's a better user experience to direct users to the first page of the part they're interested in instead of the whole record. See https://github.com/buda-base/public-digital-library/issues/684 for how the URLs are constructed. This would require more information in the database though (start volume ID, start image number), so we should discuss further about this sub-feature

subsystem7 commented 1 year ago