[log in to unmask],Internet writes:
> >Mirroring a cluster of web pages (eg an e-journal) is a labour-intensive
> >process if you have to change all the URLs which refer to other pages in
> >the cluster. There must surely be scripts to do this. Any suggestions
> >out there?
>
> There's no need to change anything. So long as the links call local html
> files, they will work at the mirrored site automatically without any
> alteration.
That's if they are relative e.g. <A HREF="dir/wibble.html"> as opposed to
absolute e.g. <A HREF="http://lethal.ac.uk/boomerang/backwards.html">, I
think (?). However, a script to change the links is relatively
straightforward; once you've worked out the base URL, you just write
something that removes it and the preceeding http:// from the <A HREF="">
tags where it exists.
There's no need to delve into the perilous world of script-writing; a humble
word processor's "replace" facility is fine for this type of task.
T
=== Tony Gill =================================== ADAM Project Leader
[log in to unmask] * http://eden.unn.ac.uk
ADAM Project Office (Room 102) * Surrey Institute of Art & Design
Farnham Campus * Falkner Road * Farnham * Surrey * GU9 7DS * UK
===== Tel: +44 (0)1252 722441 x2427 ==== Fax: +44 (0)1252 712925 ====
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|