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

Link to the scanned images from the poem pages #31

Open
palewire opened this issue Apr 20, 2021 · 7 comments
Open

Link to the scanned images from the poem pages #31

palewire opened this issue Apr 20, 2021 · 7 comments

Comments

@palewire
Copy link
Owner

No description provided.

@JoeGermuska
Copy link
Contributor

For XLI Poems, I took a look at getting them Hathi Trust. It's not super clear what their terms of use are, but their obstruction of downloading the full book is a small hint that they wouldn't approve.

Nevertheless, I tried a script to grab them and it didn't work. I could easily do the clicky-clicky through all 64 pages, if you would be comfortable using them from that source.

I'd imagined adding them in a structure like assets/img/pagescans/xli-poems/page_01.jpg

I hadn't yet thought about how to link them in.

Let me know if you want me to get the Hathi images and if so, your opinion about where to put them.

An alternative might be to link directly to the HathiTrust pages, eg p. 15 for "Songs 1".

@palewire
Copy link
Owner Author

palewire commented May 8, 2021

I think that linking to the Hathi images is good enough, especially if they're prefer us not to download. If we get a scan of our own at a later date, we can link to that then.

@palewire
Copy link
Owner Author

palewire commented May 8, 2021

Adding the hyperlink to the poem's YAML file seems right. I just encourage you to structure it as an array so it can support cases where the poems runs over multiple pages.

@JoeGermuska
Copy link
Contributor

@palewire
Copy link
Owner Author

palewire commented May 8, 2021

I think I'd vote for the second one, unless you object.

@JoeGermuska
Copy link
Contributor

hm, yeah, links to pages makes sense. but if there's more than one, maybe you need more than just a URL... like a page number and/or a title (of the source book)?

here's how I started, for one that spans two pages:

page_scans:
    - 'https://babel.hathitrust.org/cgi/pt?id=uc1.$b408727&view=1up&seq=31'
    - 'https://babel.hathitrust.org/cgi/pt?id=uc1.$b408727&view=1up&seq=32'

but it could be

page_scans:
    - source: XLI Poems (The Dial Press, 1925) via Hathi Trust
      page: 25
      url: 'https://babel.hathitrust.org/cgi/pt?id=uc1.$b408727&view=1up&seq=31'
    - source: XLI Poems (The Dial Press, 1925) via Hathi Trust
      page: 26
      url: 'https://babel.hathitrust.org/cgi/pt?id=uc1.$b408727&view=1up&seq=32'
    - 

I guess it depends on how it will be used for display...

JoeGermuska added a commit to JoeGermuska/cummings.ee that referenced this issue May 8, 2021
@palewire
Copy link
Owner Author

I think your proposed change to the page_scans data makes a lot of sense. Will give us more flexibility.

palewire pushed a commit that referenced this issue Jan 18, 2022
palewire pushed a commit that referenced this issue Jan 18, 2022
palewire pushed a commit that referenced this issue Jan 18, 2022
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