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

The site has been updated and the program does not work anymore #2

Open
ranierosupermo opened this issue Oct 7, 2022 · 1 comment

Comments

@ranierosupermo
Copy link

ranierosupermo commented Oct 7, 2022

The original site has been upaded with new links and a different way to browse the records. The program doesn't work properly anymore. Could you fix and adapt it to the new site? If you browse the documents now, you will notice that you can't even download images in full size. I'll try to explain you how to get the image in the original size, in the hope that this will help you in fixing the program. To download the original image, first check the link to a page image, for example:

https://www.antenati.san.beniculturali.it/ark:/12657/an_ua731639/0AR8dy8

and save the code after the last slash "/", which identifies the image. In this case, the code is "0AR8dy8"

Now you need a "template link" called "IIIF manifest", which is the same for any image you want to download except for the identification code:

https://iiif-antenati.san.beniculturali.it/iiif/2/[TARGET]/full/full/0/default.jpg

You will notice a space marked as "[TARGET]". You have to replace this with that code of the image, which is, again, "0AR8dy8". You will obtain the following link:

https://iiif-antenati.san.beniculturali.it/iiif/2/0AR8dy8/full/full/0/default.jpg

This link will actually take you to the original full sized image where you can download it.

I don't know how your program works, but you should insert this logic and update all of the links to the registry pages etc, including the original home page link, because they are not the same. Now the home page link is "https://www.antenati.san.beniculturali.it/" without "dl".

Also, always use the IIIF manifest link that I have sent to you, don't take it from the site when browsing pages because it doesn't work.

@MarcelloCuoghi
Copy link
Owner

Thanks for your advices, I will try to update following your suggestions. Unfortunately I don't have much time in this period but with these suggestions you help me a lot.

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