home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.infosystems.gopher
- Path: sparky!uunet!stanford.edu!MED.Stanford.EDU!CAMIS!mtm
- From: mtm@CAMIS.Stanford.EDU (Mike Macgirvin)
- Subject: Re: Waisindex a file containing keywords pointing to other files
- Message-ID: <mtm.722287273@CAMIS>
- Keywords: waisindex keywords HyperText
- Sender: news@medmail.stanford.edu
- Organization: Stanford University, California, USA
- References: <3338@accucx.cc.ruu.nl> <6793@m1.cs.man.ac.uk>
- Date: Fri, 20 Nov 1992 19:21:13 GMT
- Lines: 43
-
- zlsiimw@mcchpc.mcc.ac.uk (Mark Whidby) writes:
-
- >In article <3338@accucx.cc.ruu.nl>, henny@accucx.cc.ruu.nl (Henny Bekker)
- >writes:
- >|>
- >|> Hello All,
- >|>
- >|> I like to known if someone has succeeded in waisindex-ing a
- >|> (short) file containing lines with keywords pointing to other (the
- >|> real big ones) files..
- >|> I like to use gopher as a frontend for it..
- >|> Imagine:I have a file containing descriptions of titels of documents.
- >|> I like to index the file with waisindex so that a 'hit' results
- >|> not in a seacrch to the description but to the original file
- >|> of the descriptions..
- >|> I don't known how to implement this with waisindexing and gopher.. (if
- >|> possible at all ??)
-
- >The only thing I can think of is to ensure that the real files have as
- >their first line the title of the file and then use the -t first_line
- >option when you waisindex them. Forget about the short file. I don't
- >know if this will work - best to try indexing a couple of files first
- >and see what happens.
- >--
- >_____________________________________________________________
- >Mark Whidby, Distributed Systems, Manchester Computing Centre
-
- I've just done this for our own work, but the patches are as
- yet incomplete. The basic approach is to modify the function
- "FixTitleandPath" in Waisindex.c so that it reads the entire .cap
- entry and will replace the document pointer with the one you supply on
- the "Path=" line. The distributed version reads the "Name=" string but
- ignores all other lines in the .cap file. I will also have to check
- that this function existed in the 1.1b1 distribution as I have also
- added in the iubio WAIS stuff which patched this file significantly,
- and the function didn't exist in the 1.02 distribution...
- At any rate, I can probably produce a patch in about a week or
- so, after I've answered all these questions and seen how it might also
- fit into the latest release...
-
- "mike" (Mike Macgirvin) Mike_Macgirvin@MED.Stanford.EDU
- Unix Server Administrator Center for Advanced Medical Informatics at Stanford
-
-