home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1277 < prev    next >
Encoding:
Text File  |  1992-11-20  |  2.5 KB  |  56 lines

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