home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / gopher / Unix / GopherTools / alcuin.info.Z / alcuin.info
Encoding:
Text File  |  1994-08-10  |  4.5 KB  |  109 lines

  1. Article 2398 of comp.infosystems.gopher:
  2. Xref: feenix.metronet.com comp.infosystems.gopher:2398
  3. Newsgroups: comp.infosystems.gopher
  4. Path: feenix.metronet.com!news.ecn.bgu.edu!psuvax1!uwm.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!gatech!taco!ericmorgan.lib.ncsu.edu!eric_morgn
  5. From: Eric Lease Morgan <eric_morgn@ncsu.edu>
  6. Subject: Alcuin: a script to organize WAIS indexes
  7. Message-ID: <1993Apr30.195411.4598@ncsu.edu>
  8. X-Xxmessage-Id: <A806FCA72401184D@ericmorgan.lib.ncsu.edu>
  9. X-Xxdate: Fri, 30 Apr 93 15:56:23 GMT
  10. Sender: news@ncsu.edu (USENET News System)
  11. Organization: NCSU Libraries
  12. X-Useragent: Nuntius v1.1.1d12
  13. Date: Fri, 30 Apr 1993 19:54:11 GMT
  14. Lines: 91
  15.  
  16.  
  17. Alcuin is a perl script used to organize WAIS indexes in a gopher
  18. server's data directory.
  19.  
  20. There exist over 400 publicly available WAIS indexes around the world. (A
  21. list of these indexes can be FTP'ed from think.com.) Besides the problem
  22. of figuring out how WAIS searching is done, a librarian is concerned with
  23. organizing and managing a collection of WAIS indexes. With the gopher
  24. protocol is it easy to put a front-end on WAIS, but the matter of
  25. organization and management still exist. This is where Alcuin comes in.
  26.  
  27. The other day, while playing frisbee golf, Mr. Serials met a man by the
  28. name of Alcuin. As it turns out, Alcuin (Al in this millennium) is an
  29. unemployed librarian from the Middle Ages looking for work. Mr. Serials
  30. referred him to me, and I hired him. After all, Alcuin has more than 1000
  31. years of experience, was an advisor to Charlemagne, set up a school and a
  32. couple of libraries, studied the seven liberal arts, and wrote extensibly
  33. on the subjects of rhetoric, logic, and dialectic. I figured he would be
  34. a good person to systematically collect and manage WAIS indexes.
  35.  
  36. This is how Alcuin works. First, I have to FTP the list of publicly
  37. available WAIS indexes from think.com. I then de'Z and un-tar the archive.
  38.  
  39. Second, I put Alcuin to work. Alcuin reads the list of WAIS indexes and
  40. puts the list into an array (new list). Alcuin then reads a list of the
  41. WAIS indexes I already own (old list). He then subtracts the old list
  42. from the new list. Next, Alcuin reads the list of WAIS indexes I don't
  43. want in my gopher server and puts that into an array (trash list), and
  44. Alcuin subtracts the trash list from the new list. The final list
  45. contains items that are new to my server. The initialization process is
  46. complete after Alcuin creates a directory-tree listing of my gopher
  47. server.
  48.  
  49. Third, Alcuin presents me with a menu similar to the one below:
  50.  
  51.        There are 356 new items remaining.
  52.        The next item is ANU-Pacific-Manuscripts.src.
  53.  
  54.             What do you want to do?
  55.  
  56.             (V)iew it    (E)valuated it
  57.             (S)kip it    (A)dd it
  58.             (T)rash it
  59.  
  60.             (L)ist the remaining items
  61.             List the (O)ld items
  62.             List the t(R)ash items
  63.  
  64.             (Q)uit
  65.  
  66.             (V, E, S, A, L, O, T, or Q) ==>> 
  67.  
  68. This is what the choices do:
  69.  
  70.   V - displays the .src file with the more command
  71.   S - goes to the next item
  72.   E - runs the waissearch program
  73.   T - adds the .src file to the trash list
  74.   A - prompts me for a cool name for the index,
  75.       displays my gopher server's directory tree,
  76.       prompts me for a directory,
  77.       saves a link file in the specified directory, and
  78.       optionally saves the link file in other directories
  79.   L - lists the remaining new items
  80.   O - lists the old items
  81.   R - lists the trashed items
  82.   Q - quits
  83.  
  84. Depending on your menu selection(s), Alcuin cycles through the list of
  85. new WAIS indexes until each one has been processed. Then, about once a
  86. week, I will download the list of WAIS indexes from Thinking Machines and
  87. start the whole process over again. Granted, the first time through I
  88. have many items to inspect, but after that the job gets easier.
  89.  
  90. Alcuin makes a number of assumptions. First, he assumes all your WAIS
  91. indexes are located in one directory within your gopher server's data
  92. directory. Second, he assumes you have the waissearch binary that came
  93. with the Thinking Machines WAIS distribution. Thirdly, Alcuin assumes you
  94. use a terminal with a large scroll-back buffer because the gopher tree
  95. listing and output from waissearch can be many, many screens long.
  96.  
  97. Alcuin can come work for you too. FTP to dewey.lib.ncsu.edu and download
  98. /pub/software/perl/alcuin. You may use Alcuin, but you can't say you
  99. wrote it. "Use it but don't abuse it."
  100.  
  101.   Eric Lease Morgan, Systems Librarian
  102.   NCSU Libraries
  103.   Box 7111, Room 2316-b
  104.   Raleigh, NC 27695-7111
  105.   (919) 515-6182
  106.   eric_morgan@ncsu.edu
  107.  
  108.  
  109.