renevoorburg / robustify.js

A javascript for fighting link rot and content drift using link decoration and web archives.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

robustify.js

robustify.js is a javascript that attempts to fight link rot or content drift with an implementation of Herbert Van de Sompel's Memento Robust Links - Link Decoration specification, in context of the Hiberlink project.

robustify.js will make any clicked hyperlink test if the linked page is available online. If it is not, it will redirect the user to a web archive, by default using the Memento Time Travel service.

The required server side helper script statuscode.php will per default attempt to detect soft-404s. See example.html for examples of how to implement or customize robustify.js. statuscode.php can of course be run from your server but it does require the ssdeep extension for soft-404 detection.

robustify.js should work on any modern browser or IE 8 or better.

About

A javascript for fighting link rot and content drift using link decoration and web archives.

License:MIT License


Languages

Language:HTML 34.8%Language:JavaScript 34.6%Language:PHP 30.6%