You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which is rewritten as the following (to ensure that users get to navigate to the archived version of the hyperlinked document from around the same time when the current page was archived):
If we do not pay attention to the template of playback URLs we would lose the information of the original URL and the desired time around which the linked page should have been archived (in some web archived like archive.today and perma.cc these attributes are opaque).
We can address this problem by incorporating RobustLinks in the playback. We can rewrite these anchor elements in one of the following ways:
Provides numerous options of navigation when JavaScript client of the RobustLinks is included (as smaller archives may not have comprehensive captures of all the outlinks).
Cons:
Markup and UI get cluttered.
With this RobustLinks adoption we expect each link on the pape to provide multiple navigation options:
If the href attribute is a relative or absolute path, it needs to be converted to an absolute URL for the data-originalurl attribute.
Avoid overwriting RobustLinks' data-* attributes if they are already present in the original page.
It is unclear what would be the behavior of the RobusLinks client if it were included twice, once in the original page and again by the web archive (the client needs to be smart about these cases).
The text was updated successfully, but these errors were encountered:
This is an interesting proposition that surfaces data that would typically be in a subsequent response into the base representation. That said, how would the information (e.g., data-versiondate) be obtained without the overhead of requesting all of the links or consulting some secondary index? This seems like it would incur significant HTTP overhead for every base memento (i.e., HTML page) a user visits.
Another consideration is that modifying the memento for usability seem antithetical to Reconstructive's "reroute, don't rewrite".
I am typically all-for enriching the capture to make it more useful but wonder about the side-effects of this proposal.
Looking to discuss further. Thanks for the writeup, @ibnesayeed!
I came across this issue while exploring ipywb, and I would love to contribute here.
Thanks, @ibnesayeed, for highlighting this issue!
And @machawk1 for bringing up the HTTP overhead.
Please keep me in loop of the discussion as to which variant out of the three makes more sense and is easy to do a POC upon. That's where I can come in and help with writing code and share some test reports and HTTP overhead benchmarks. Which can help us assess whether to go ahead with a given variant or not.
When we playback a memento of
https://example.com/
captured at20200323134509
like the following:The original page contains the following hyperlink:
Which is rewritten as the following (to ensure that users get to navigate to the archived version of the hyperlinked document from around the same time when the current page was archived):
If we do not pay attention to the template of playback URLs we would lose the information of the original URL and the desired time around which the linked page should have been archived (in some web archived like
archive.today
andperma.cc
these attributes are opaque).We can address this problem by incorporating RobustLinks in the playback. We can rewrite these anchor elements in one of the following ways:
Variant 1 -- Leave
href
unchanged:Pros:
href
attribute.Cons:
href
may lead to undesired locations (though, it is already handled in Reconstructive service-worker during navigation).Variant 2 -- Rewrite
href
to a potential memento URL:Pros:
Cons:
href
attribute.Variant 3 -- Include additional alternate playback URLs:
Pros:
Cons:
With this RobustLinks adoption we expect each link on the pape to provide multiple navigation options:
2020-03-23 13:45:09
Notes:
href
attribute is a relative or absolute path, it needs to be converted to an absolute URL for thedata-originalurl
attribute.data-*
attributes if they are already present in the original page.The text was updated successfully, but these errors were encountered: