home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.gopher
- Path: sparky!uunet!convex!darwin.sura.net!wupost!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!mudhoney!lindner
- From: lindner@mudhoney.micro.umn.edu (Paul Lindner)
- Subject: Re: Gopher and NeXT Digital Librarian Problem
- Message-ID: <1992Jul29.212016.22340@news2.cis.umn.edu>
- Sender: news@news2.cis.umn.edu (Usenet News Administration)
- Nntp-Posting-Host: mudhoney.micro.umn.edu
- Organization: University of Minnesota, Minneapolis
- References: <Mailstrom.1.02b2.44752.-3114.heycke@sumex-aim.stanford.edu>
- Distribution: alt
- Date: Wed, 29 Jul 1992 21:20:16 GMT
- Lines: 46
-
- In <Mailstrom.1.02b2.44752.-3114.heycke@sumex-aim.stanford.edu> heycke@sumex-aim.stanford.edu (Torsten Heycke) writes:
-
- >We've found the Boolean operator search capability derived from using the NeXT's
- >Digital Librarian to index our gopher files to be useful. Unfortunately, we also
- >find that multiple directories of files result in recursive links in the gopher
- >directories (because DL apparently wants pathnames relative to the directory in
- >which the index resides).
-
- >Are there other Digital Librarian gopher users out there who have experienced
- >this? figured out a work-around?
-
-
- Here is a general purpose script that munges the pathnames correctly.
- Give it a try...
-
- #!/bin/csh
-
- #
- # A simple shell script that makes NeXT indexes of a directory with
- # the paths munged appropriately.
- #
- # Automatically makes a link for good measure too.
- #
-
- set GopherHome = "/Gopher/IIC"
- set Data = "/Gopher/IIC/CSOM Information/MBA Program/Course Descriptions"
-
- cd $GopherHome
-
- mkdir /tmp/.index
- ln -s /tmp/.index "$GopherHome/.index"
- ixBuild -Vv -f text -i $GopherHome/.index/index.ixif "$Data"
- mv /tmp/.index/index.ixif "$Data/.index/"
- rm "$GopherHome/.index"
-
- echo "Name=Index of this tree" >"$Data/.IndexLink"
- echo "Type=7" >"$Data/.IndexLink"
- echo "Path=7/$Data/.index" >"$Data/.IndexLink"
- echo "Host=+" >"$Data/.IndexLink"
- echo "Port=+" >"$Data/.IndexLink"
-
- --
- | Paul Lindner | lindner@boombox.micro.umn.edu | Slipping into madness
- | | Computer & Information Services | is good for the sake
- | GopherMaster | University of Minnesota | of comparision.
- ///// / / / /////// / / / / / / / / //// / / / / / / / /
-