This note describes the changes to the CERN Library of Common code described in the previous note to info-afs. URL Translation Library The URL translation library is a patch to the CERN Library of Common Code that translates URLs from one form to another. (Refer to the CERN Library URL http://info.cern.ch/hypertext/WWW/Library/Status.html). There are several advantages to these patches: - We retrieve documents using the file system whenever possible. For example, the URL http://www.cs.stateu.edu/Web/People/foo/bar.html is equivalent to the URL xfile://afs/cs.stateu.edu/user/foo/www/bar.html and the latter is used whenever possible for performance reasons. - To further enhance performance, we build a local repository of documents that are not accessible via the file system. The document cache is refreshed once a day by a repository server. The URL translation facility reads a file of translations (for example, /afs/transarc.com/public/www/Cache/Xlate.conf) that usually consists of some proxy translations (/afs/transarc.com/public/www/Cache/Xlate.reg) and repository translations (/afs/transarc.com/public/www/Cache/rep2/urls.rep). You can change the default by setting the XLATE_CONF environment variable to the name of a translation file. The translation file is run through cpp before processing so that other translation files can be included. If the translation library cannot find cpp, set the environment variable XLATE_CPP to the local cpp. The patch file` (/afs/transarc.com/public/www/Cache/Xlate-1.0beta.tar.z) can be applied to the CERN library or to the library used to build Mosaic. There is a beta version of Mosaic 2.4 for Sun4 and Solaris machines in /afs/transarc.com/public/www/bin/Mosaic.beta. The Solaris binary uses X11R6 shared libraries. If you are not running X11R6, please try the Sun4 version. We hope to have HPUX and AIX versions available soon. The default translation file for these versions is /afs/transarc.com/public/Cache/Xlate.conf. Please direct questions to [EMAIL PROTECTED] For more information see FILE://localhost/afs/transarc.com/public/www/Cache/Xlate.html The Transarc Research Group
