Subject: Re: Pine Discussion Archives

From: Stefan Kramer <[email-masked]>
Date: Wed, 7 Aug 1996 10:08:11 -0700 (PDT)

Mike,

Your suggestion of adding <BASE HREF="http://www.cac.washington.edu"> to
the <HEAD></HEAD> part of to the saved archive search results page is
indeed an elegant solution.  

Generating the "BASE" line directly in the output page is, unfortunately,
not quite practical, since the HTMLized archives are actually generated on
another server (i.e., with another base URL than
"http://www.cac.washington.edu") here at the UW before they are copied to
the "public" server nightly and where they are "tested". 

However, the search results page now shows the date and time the search was
conducted, so when saved to a local file, it will be evident how up-to-date
those results are.

 ------------------------------------------------------------
  Stefan Kramer                   [email-masked]
  University of Washington        Computing & Communications        
 ------------------------------------------------------------

On Mon, 29 Jul 1996, Mike Brudenell wrote:

# On Fri, 26 Jul 1996, Stefan Kramer wrote:
# 
# > After you have concluded your search of the subject or full-text index at
# > 	http://www.cac.washington.edu/pine/pine-info/
# > you could save the results page to a local HTML file.  Since the hyperlinks
# > therein will be relative (i.e., "assume" they are on the server
# > http://www.cac.washington.edu/), you should then load the HTML file into a
# > text editor that has that capability and search-and-replace all occurrences
# > of
# > 
# > 	<a HREF="/pine/pine-info
# > with
# > 	<a HREF="http://www.cac.washington.edu/pine/pine-info
# > 
# > You then have your own customized message index that will point back to the
# > HTMLized messages you selected in your query, on our server.  (The URLs for
# > the individual messages are expected to remain stable, though we can't
# > guarantee that. ;-)  
# 
# A simpler solution is to edit the downloaded file and, in the
# <HEAD>...</HEAD> section add the one line:
# 
# 	<BASE HREF="URL">
# 
# where URL is the full URL of the document that you saved to an HTML file
# (eg, http://www.cac.washington.edu/pine/pine-info/)
# 
# The magical thing about "BASE" is that the URL specified will be used as
# the base against which relative links are resolved (instead of the URL of
# the current document which, after saving to a local disk file, would be
# inappropriate).
# Perhaps the Keeper Of The Pine Archives could consider adding/generating a
# suitable "BASE" line directly?  This would then allow people to save the
# results page to local disk and use it without the need for any editing.