-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add link from page details view to Internet Archive #196
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions. |
We use Internet Archive snapshots in a lot of reports and analysis, so this is still an incredibly useful (and not too hard to implement!) feature — we might even consider it for all versions, even when they weren’t originally sourced from the Internet Archive. |
Do you still feel we should add these links even to the pages that were sourced from Versionista? I am starting to look into this. |
Yes! More: For the version-level link (the one that comes from For the page-level link (e.g. |
Ok, sounds good @Mr0grog. It seems to me that there are 2 urls being passed into the view, one for each page version that's being compared ( Am I supposed to only render |
For both of them if they exist.
Yep, this is by design. |
…ck calendar view and page versions edgi-govdata-archiving#196
…ck calendar view and page versions edgi-govdata-archiving#196
…ck calendar view and page versions edgi-govdata-archiving#196
…k calendar view and page versions edgi-govdata-archiving#196
…k calendar view and page versions edgi-govdata-archiving#196
…k calendar view and page versions edgi-govdata-archiving#196
…k calendar view and page versions #196
Fixed in #381. We forgot to make sure the commit comment was formatted correctly to auto-close this! |
(Updated 2019-06-17)
Where possible, we should link to the original source of pages/versions from the Wayback Machine. Analysts typically include Wayback links and screenshots in their reports (partially because our tools aren’t public-access, but also because Wayback is a pretty good system of public reference in general), so having the links directly in our views would make that a lot easier for them.
We currently show links to Versionista diffs in the top area of the page details view:
(This is the
VersionistaInfo
component.)It would be great to replace that with a link to:
Definitely: Each of the versions being compared (if those versions are from Wayback and not some other source).
You can find the correct link in the
source_metadata.view_url
property of a link. See an API response like this for an example: https://api.monitoring.envirodatagov.org/api/v0/pages/1829df77-b37e-49dc-998b-0fc964e7f24e/versionsOptionally: A link to the listing/calendar view of all the snapshots of the given page in Wayback. To create that link, we’ll have to compose it from the data we have available. It always looks like
https://web.archive.org/web/*/<page_url>
, e.g.http://web.archive.org/web/*/https://www.fhwa.dot.gov/about/staff.cfm
This could be a simple link right next to the original URL:
As I’m sitting here watching the report writing training, I’m wondering if it would be a good idea to add a link to the Internet Archive history/calendar view for a page, e.g. http://web.archive.org/web/*/https://www.fema.gov/flood-insurance-reform-mapping-flood-hazards It seems like there’s typically a lot of cross-referencing/checking with Internet Archive when building a report.This might just be getting ahead of ourselves. Once we start pulling in data directly from Internet Archive, would it still be useful?/cc @trinberg
The text was updated successfully, but these errors were encountered: