Difference between revisions of "Help:Linking to Bitsavers"

From Computer History Wiki
Jump to: navigation, search
(New page: Bitsavers is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a lo...)
 
(Totally obsolete)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Bitsavers is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a load balancer. So if you're going to link to bitsavers please use the redirect.php script.
+
''This is all obsolete (and the URL given doesn't work anymore anyway); just use direct links, in an <nowiki>==External links==</nowiki> section at the bottom of the page.''
 +
 
 +
[[Bitsavers]] is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a load balancer. So if you're going to link to bitsavers please use the redirect.php script.
  
 
(I'll put some more meat on this article soon, so for now I'm just pasting in the documentation from the script verbatim)
 
(I'll put some more meat on this article soon, so for now I'm just pasting in the documentation from the script verbatim)
Line 14: Line 16:
 
   http://bitsavers.org/pdf/dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf
 
   http://bitsavers.org/pdf/dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf
 
  (Therefore, link to http://toresbe.dreamhosters.com/redirect.php?res=bitsavers&doc=''path to document''
 
  (Therefore, link to http://toresbe.dreamhosters.com/redirect.php?res=bitsavers&doc=''path to document''
 +
 +
[[Category: Help]]

Latest revision as of 00:23, 23 May 2022

This is all obsolete (and the URL given doesn't work anymore anyway); just use direct links, in an ==External links== section at the bottom of the page.

Bitsavers is a popular and widely used resource. However, it has become something of a victim of its own success. The site is noticably very slow. Therefore, I've written something of a load balancer. So if you're going to link to bitsavers please use the redirect.php script.

(I'll put some more meat on this article soon, so for now I'm just pasting in the documentation from the script verbatim)

Usage: redirect.php?doc=(filename)&res=(resource)
The parameters (Passed via HTTP GET) are:
res
 Specifies the resource (currently, only "bitsavers" is valid)
doc
 Specifies the file to be fetched, without the first slash.
 For example, in the case of $res=="bitsavers" and $doc=="dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf",
 the script will redirect via the HTTP header "location" to 
  
  http://bitsavers.org/pdf/dec/pdp11/1145/EK-KB11A-MM-004_Aug76.pdf
(Therefore, link to http://toresbe.dreamhosters.com/redirect.php?res=bitsavers&doc=path to document