Re: Option to define external link handler

"Kevin Koster" <dillo-PpymaetoNy61Z/[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Organization OmberTech
Message-ID <172031170789.28.11495248832528321407@61eb44cc970f>
Rodrigo Arias wrote:
> Working on these examples is very helpful to design the rule system, so
> feel free to mention more cases.

In addition to HTTP header feilds, it would be handy to assign
rewrite rules according to HTTP status codes. I spend a lot of time
browsing dead/dying websites so I'm always using the Wayback
Machine. I'd like to use this system to process 404 (500, etc.)
error pages through a program/script that adds a link at the top to
look up the URL at the Wayback Machine. It might also check for a
copy I've archived locally, if I get my website archives more
organised, and link to that as well.

I've already got the Wayback Machine set up as a search option
in dillorc which returns the latest archived copy of a URL:
search_url="w Wayback Machine http://web.archive.org/web/%s"

But I use it so much that the ease of just clicking a link would be
a real advantage, especially after opening multiple broken links
from a page. I might even try to write something that detects
archived error pages and works back to the last actual copy of the
page.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.