In SWISH-E, the configuration file contains the variable to which Bill is
referring.
#define TITLETOPLINES 12
Just change the default to something that keeps into account the
possibility of comment line before the title.
Giulia
/* ----------------------------------------------------------- */
/* Giulia Hill Library Systems Office */
/* 386 Doe Library */
/* ghill@library.berkeley.edu U.C. Berkeley, */
/* Berkeley, CA 94720 */
/* ----------------------------------------------------------- */
On Tue, 23 Jun 1998, William Malin wrote:
> As I recall, from the original SWISH 1.1, you could hard-code into the c
> code a directive for SWISH to look X number of lines into the file for the
> title. If you have comments that take up several "lines" at the beginning
> of your html files, then SWISH may give up looking for the title before
> your title actually appears. This "look X number of lines into the file for
> title" stuff must be entered before compiling; its not something that you
> can do from inside your conf file at time of indexing.
>
> Bill Malin
>
>
>
>
> At 08:38 AM 6/23/98 -0700, you wrote:
> >I've been having a little bit of a problem with swish-e
> >retrieving the titles of my documents. It seems that
> >where I have simple tags, the <html>, <head>, then
> ><title></title>, there is no problem, but if I have
> >comments above the <title> tags it's unable to pick up the
> >title. Right now it's not an issue because I'm going into
> >each file to retrieve the Description from the meta tag
> >and it's not a big deal to parse out the title, but I
> >wondered if someone might be able to elucidate how title
> >retrieval works in swish-e. Thanks.
> >
> >Laurie
> >
> >Laurie Dickinson
> >The Geometry Center
> >400 Lind Hall
> >207 Church Street S.E.
> >University of Minnesota
> >Minneapolis, MN 55455
> >email: laurie@geom.umn.edu
> >phone: (612) 626-0888
> >fax: (612) 626-7131
> >
>
>
Received on Tue Jun 23 10:14:35 1998