-
Notifications
You must be signed in to change notification settings - Fork 10
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
Peel Redirects #1769
Comments
One way to approach this is to look at the Peel cocoon sitemap: Questions: |
I assume those are for some older URLs and not current-peel? I can ask in the next biweekly meeting. It might be useful for us to know if those URLs are ever used, but I do not know if Peel has Google Analytics or who might have access to that account. |
Under Books, Pamphlets and Other Materials, you can add serials like
And under Images, there are a few examples of postcard booklet with multiples images (but they way they are structured you could leave them I think( |
@mbarnett the redirects I asked about are functional. For The only question I have left is if we are going to worry about partial newspaper matches. For example: with something like http://peel.library.ualberta.ca/newspapers/LSV/1967/ are we planning to redirect it? To a search? Otherwise does this make sense to proceed with? |
I could see us possibly covering that case with something like a redirect to a faceted search, yeah, although that's in the "nice to have" bucket in terms of priorities. I'll give this a thorough read-through tomorrow and then we can talk next steps. |
@mbarnett did you get an answer to this question? |
Peel Redirects. We will be moving Peel Prairie Province content (Folk Fest Programs first!) into the digitization subdomain. This will allow us to redirect the old urls to our new structure. Not included in this PR is complex or voluminous seeds data. I think that might be better suited to when we flesh out the book, newspaper, image and maps models with the full compliment of metadata and attachments. Related to #1769 What's New Stub out models identified with bare minimum of attributes (basically just the old identifiers). Stub out redirect controller. routes redirects and tests
Peel Redirects
TLDR;
We will need the following redirects
to
/books/*
Then the controller might do something like this:
to
/newspapers/*
Then the controller might do something like this:
to
/images/*
Then the controller might do something like this:
to
/maps/*
Then the controller might do something like this:
Analysis
http://peel.library.ualberta.ca/
Books, Pamphlets and Other Materials (for simplicity we'll call the smallest individual unit of these things a
Book
)/bibliography/
:peel_number
.htmli.e. bibliography/4542.html is just metadata about an item
i.e. bibliography/4062.html is a book
peel_number
is the item numberfrom Peel's Bibliography of the Prairie Provinces
Henderson’s
bibliography/
:peel_number
.htmlbibliography/
:peel_number
.:run.htmlbibliography/
:peel_number
.:run
.:part_number
.htmlI.e. bibliography/3178.html - 3178.2.12.html
run_number
might not be the correct name for this but in the case of Henderson's the directories from 1908-1919 are bibliography/3178.1.htmlpart_number
also isn't quite accurate. bibliography/3178.1.1.html is the volume for 1908. The first one.Folk Fest
bibliography/
:peel_number
.htmlbibliography/
:peel_number
.:part_number
.htmli.e. bibliography/10572.1.html
part_number
in this case maps to the volume number.Government Documents
bibliography/
:peel_number
.:part_number
.htmli.e. bibliography/10571.2.html
part_number
isn't exactly what's going on here either. For the title there are many volumes and issues (for example v.11 no.2 (Oct 1958)and v.12 (1959/1960), etc). We have some of the issues (for example we have v.1 no.5 (1 May, 1934) but not v.1 no.1, v.1. no.2, etc). It looks like we have assigned sequential numbers to the issues that we do have (for example v.1 no.5 (1 May, 1934) is bibliography/10571.1, v.2 no.1 (Aug 1934) is bibliography/10571.2 and v.2 no.2 (Nov 1934) is bibliography/10571.3).
Newspaper
newspapers/
:publication_code
/:year
/:month
/:day
/I.e. newspapers/LSV/1967/03/29/
publication_code
is three letters that represent the newspaper's title. For example: LSV is La survivanceyear
is the four digit year of publication.month
is the two digit (zero padded) month (i.e. 01 is January - 12 is December) of publication.day
is the two digit (zero padded) day of the month (i.e. 30 days has September...) of publication.Image
magee/
:magee_number
.htmli.e. magee/MGNGBG0464.html
postcards/
:postcard_number
.htmlI.e postcards/PC006393.html
magee_number
is a with the prefixMG
, four letters (i.e.NGBG
) and four zero padded numbers. Some pattern examples areMGNGBG[0001-0539]
MGNGEN[0001-0360]
, i.e.MGNGBG0001
postcard_number
is a eight digit string with the prefixPC
and ends in a six digit zero padded number[000001-032000]
We could keep these intact as
peel_image_id
or something similar.Map
maps/
:map_number
.htmlI.e. maps/M000230.html
map_number
is a with the prefixM
and six zero padded numbers. Some pattern examples areM[000001-000764]
i.e.M000230
Excludes
https://github.com/ualbertalib/steele-www | https://steele.library.ualberta.ca/
https://github.com/ualbertalib/railways.library.ualberta.ca | https://railways.library.ualberta.ca/
bibliography/author/3573.html
https://web.archive.org/web/20190423191735/https://folklore.library.ualberta.ca/
https://web.archive.org/web/20190723191748/https://royal.library.ualberta.ca/royal.cfm
More Information
The cocoon sitemap and sitemap were both informative. As was Sarah Severson.
Refinement directive
Refinement needed ahead of implementation: investigate http://peel.library.ualberta.ca/ and document the routes and related information we will need in order to provide a comprehensive set of redirects for the items in Peel. Note that we are not interested in providing redirects for the homepage, New & Updates, About sections, search queries, etc. Just the items themselves.
Need to identify:
Book.find_by(peel_id: 3693)
in order to find the target for the redirect.The text was updated successfully, but these errors were encountered: