According to Kevin Bollman:
> Hi,
>          I'm sorry if this an obvious question to answer, but I haven't 
> been able to figure out the right config variables needed for htmerge. 
> (Using htmerge 3.2.0b3)
> 
>          Here is what I am trying to do:
>          I have created multiple databases
>          /www/var/users, /www/var/perl, /www/var/unix
>          and I would like to merge them all into a typical /htdig database 
> directory which my search.htm will point to.
> 
> Can someone tell me what configuration variables I need to use in order to 
> create such a database as this?  I don't really understand what doc_db and 
> doc_index need to say for this.
> 
> Right now I am getting an Unknown char on the EOF line, so I assuming its 
> looking for config variables I didn't set in that file.
> 
> I am not on the list, so please cc me.

Take a close look at the end of your config file that gives the Unknown
char error.  Chances are there's a control character there, or a comment
line with spaces before the "#".  Either will cause this error message.

As for the directories you mention above, presumably these are different
database_dir settings for your multiple databases.  So, you'd have
different config files that were used to generate each of the databases.
You can just give these config files, two at a time, to htmerge, to merge
one into another.  If you just change database_dir, and not database_base,
doc_db, doc_index, etc., then all your databases will have the same base
name, and only the directory name changes for each database.

E.g., if you have a.conf, b.conf and c.conf, which use database_dir
settings of /www/var/a, /www/var/b and /www/var/c respectively, and you
want to merge them all into /www/var/z, then make a z.conf file which
uses the /www/var/z as database_dir, then do the following:

  cp -p /www/var/a/* /www/var/z/
  htmerge -c z.conf -m b.conf
  htmerge -c z.conf -m c.conf

This will copy the "a" database into "z", then merge in the "b" and "c"
databases in turn.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to