Re: Firefox addin to replace 404 pages with archived pages from wayback machine

Herbert Van de Sompel <[email protected]> Fri, 5 Aug 2016 14:58:49 -0600
Newsgroups gmane.org.w3c.tag
Message-ID <CAOywMHetgjmP5YU_oa3aQOF-mt0+NdUidV5-w7T=fsbNYs8sJg@mail.gmail.com>
--001a114c5d5a5e3c6205395955f7
Content-Type: text/plain; charset=UTF-8

On Fri, Aug 5, 2016 at 10:23 AM, Noah Mendelsohn <[email protected]>
wrote:

> See [1].
>
> I thought this might be of some interest to the TAG. Seems to me that this
> is OK insofar as the addin is a modification to a user agent, and is
> presumably activated only with the user's consent.
>
> Nonethess, this seems to embody a slightly skewed view of Web protocols:
> if I as a URI authority serve a new or updated page, your browser will do
> what I intend and show the user that new content. If I delete a page, the
> browser will not honor that deletion, but will show content anyway. This
> seems to me just a bit of a slippery slope. A 404 is just as meaningful in
> Web protocols (no such page) as a 200 IMO.
>
>
The Memento Extension for Chrome (http://bit.ly/memento-for-chrome) handles
404 and much more. It covers archived resources in many web archives, see
http://timetravel.mementoweb.org/about/. And its behavior is completely
under control of the user because it works by right-clicking links or
pages.

Right clicking yields a Memento menu with several options:
* Get near current date: Retrieves the most recently archived resource, and
hence can be used to address 404.
* Get near saved date: retrieves an archived resource with archival
datetime closest to the date set in a calendar picker
* Get near memento-datetime: if the page is itself an archived resource in
a web archive, retrieves an archived resource of a linked resource with
archival datetime closest to the date expressed in the page's
Memento-Datetime header.
* Get near page date: retrieves an archived resource with a datetime
closest to the page datetime if it is provided in a machine-readable manner
* Get near link date: retrieves an archived resource with a datetime
closest to date expressed in the data-versiondate link decoration
attribute, as defined in http://robustlinks.mementoweb.org/spec/

Note that the Memento protocol is not only for web archives. It can also be
supported by version control systems, wikis, etc. For example, the W3C wiki
and all versions of the W3C specs are accessible using Memento. Using, e.g.
Memento for Chrome, one can seamlessly navigate to the version of a wiki
page or W3C spec as it was at a certain date. And, of course to versions of
linked resources, using right-click as described above. Using the Time
Travel API, see http://timetravel.mementoweb.org/guide/api/, one can use a
URI of this form to get to a version of a W3C spec as it existed at a given
date:
http://timetravel.mementoweb.org/memento/20031112/https://www.w3.org/TR/webarch/

Cheers

Herbert




> I'm not proposing that the TAG do anything about this or devote
> significant time to it right now, just pointing it out in case it's of
> interest.
>
> Thank you.
>
> Noah
>
>
> [1] http://gadgets.ndtv.com/apps/news/firefox-will-try-to-show-y
> ou-saved-archive-of-a-page-instead-of-404-error-869482
>
>


-- 
Herbert Van de Sompel
Digital Library Research & Prototyping
Los Alamos National Laboratory, Research Library
http://public.lanl.gov/herbertv/
http://orcid.org/0000-0002-0715-6126

==

--001a114c5d5a5e3c6205395955f7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Aug 5, 2016 at 10:23 AM, Noah Mendelsohn <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-co=
lor:rgb(204,204,204);padding-left:1ex">See [1].<br>
<br>
I thought this might be of some interest to the TAG. Seems to me that this =
is OK insofar as the addin is a modification to a user agent, and is presum=
ably activated only with the user&#39;s consent.<br>
<br>
Nonethess, this seems to embody a slightly skewed view of Web protocols: if=
 I as a URI authority serve a new or updated page, your browser will do wha=
t I intend and show the user that new content. If I delete a page, the brow=
ser will not honor that deletion, but will show content anyway. This seems =
to me just a bit of a slippery slope. A 404 is just as meaningful in Web pr=
otocols (no such page) as a 200 IMO.<br>
<br></blockquote><div><br></div><div>The Memento Extension for Chrome (<a h=
ref=3D"http://bit.ly/memento-for-chrome">http://bit.ly/memento-for-chrome</=
a>) handles 404 and much more. It covers archived resources in many web arc=
hives, see <a href=3D"http://timetravel.mementoweb.org/about/">http://timet=
ravel.mementoweb.org/about/</a>.=C2=A0And its behavior is completely under =
control of the user because it works by right-clicking links or pages.=C2=
=A0</div><div><br></div><div>Right clicking yields a Memento menu with seve=
ral options:</div><div>* Get near current date: Retrieves the most recently=
 archived resource, and hence can be used to address 404.=C2=A0</div><div>*=
 Get near saved date: retrieves an archived resource with archival datetime=
 closest to the date set in a calendar picker</div><div>* Get near memento-=
datetime: if the page is itself an archived resource in a web archive, retr=
ieves an archived resource of a linked resource with archival datetime clos=
est to the date expressed in the page&#39;s Memento-Datetime header.=C2=A0<=
/div><div>* Get near page date: retrieves an archived resource with a datet=
ime closest to the page datetime if it is provided in a machine-readable ma=
nner</div><div>* Get near link date: retrieves an archived resource with a =
datetime closest to date expressed in the data-versiondate link decoration =
attribute, as defined in <a href=3D"http://robustlinks.mementoweb.org/spec/=
">http://robustlinks.mementoweb.org/spec/</a>=C2=A0</div><div><br></div><di=
v>Note that the Memento protocol is not only for web archives. It can also =
be supported by version control systems, wikis, etc. For example, the W3C w=
iki and all versions of the W3C specs are accessible using Memento. Using, =
e.g. Memento for Chrome, one can seamlessly navigate to the version of a wi=
ki page or W3C spec as it was at a certain date. And, of course to versions=
 of linked resources, using right-click as described above. Using the Time =
Travel API, see <a href=3D"http://timetravel.mementoweb.org/guide/api/">htt=
p://timetravel.mementoweb.org/guide/api/</a>,=C2=A0one can use a URI of thi=
s form to get to a version of a W3C spec as it existed at a given date: <a =
href=3D"http://timetravel.mementoweb.org/memento/20031112/https://www.w3.or=
g/TR/webarch/">http://timetravel.mementoweb.org/memento/20031112/https://ww=
w.w3.org/TR/webarch/</a></div><div><br></div><div>Cheers</div><div><br></di=
v><div>Herbert</div><div><br></div><div><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wid=
th:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-l=
eft:1ex">
I&#39;m not proposing that the TAG do anything about this or devote signifi=
cant time to it right now, just pointing it out in case it&#39;s of interes=
t.<br>
<br>
Thank you.<br>
<br>
Noah<br>
<br>
<br>
[1] <a href=3D"http://gadgets.ndtv.com/apps/news/firefox-will-try-to-show-y=
ou-saved-archive-of-a-page-instead-of-404-error-869482" rel=3D"noreferrer" =
target=3D"_blank">http://gadgets.ndtv.com/apps/n<wbr>ews/firefox-will-try-t=
o-show-y<wbr>ou-saved-archive-of-a-page-ins<wbr>tead-of-404-error-869482</a=
><br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature">Herbert Van de Sompel<br>Digital Library Research &amp=
; Prototyping<br>Los Alamos National Laboratory, Research Library<br><a hre=
f=3D"http://public.lanl.gov/herbertv/" target=3D"_blank">http://public.lanl=
.gov/herbertv/</a><br><a href=3D"http://orcid.org/0000-0002-0715-6126" targ=
et=3D"_blank">http://orcid.org/0000-0002-0715-6126</a><br><br>=3D=3D</div>
</div></div>

--001a114c5d5a5e3c6205395955f7--