Scrive Geoff Hutchison <[EMAIL PROTECTED]>:
> On Wed, 12 Sep 2001, Pietro Palladino wrote:
>
> > 1) when I really need to use more than one database?
>
> * If you want more security for restrict/exclude than parameters to the
> CGI.
Sorry, Geoff, could you better explain this point, plz?
> * If you want to have "virtual hosting" for multiple sites.
Ok, but in this case I could use the restrict option in a php wrapper.
e.g. I have just one db and a List/Menu in which I can choose "site1" "site2"
or "site3". When I press "Go", my page sends the choice to a new php file in
which a switch instruction let me choose on which site I need to use the
restrict option...
If I use a php wrapper, are there different reasons that I don't know (on this
subject) about why I need to use multiple database? :-?
> * If you want to "mix and match" multiple categories independent of
> URLs
> (e.g. a site might want databases based on states or regions, which
> each have collections of multiple URLs)
Also this point is a little bit obscure. Could you better explain this subject?
> > 2) Actually I've 3 conf files. Which one I'll need to use when I run
> rundig?
>
> That depends on what you're intending to do. It's hard to say more
> without more details from you.
:-) Sorry, U R right. Well, I use a php wrapper to let people search in 3
different subtrees of our site. For each kind of search I use different
restrict/exclude options and 3 different conf files. Though I don't really need
3 conf files (2 of them are alike), I choose this way 'cause I thought that I
could need all of them in the future. They differ just in the
option "allow_in_form". Now the question is: Do I need a new conf file just for
digging?
>
> > 3) I didn't understand a thing. If I use a "hierarchy" of weights like
> this one:
> ...
> > Am I right if I say that words in the text are more important than
> > ones in the title...and so on with the headings? Is it convenient
> > specifying them or it's better using the default ones? By a logical
> > side, is it better give more weight to the words inside the text?
>
> The weights you gave would certainly have the effects you describe. I
> think most people find that headers, titles, meta keywords are more
> accurate, succinct descriptions of the document contents than the
> normal
> text. So the default values are at least a better starting point than
> those that you described--but these can value depending on how people
> code
> their pages. (For example, if people use <font> tags rather than <h1>
> to
> set a "header," then the header_factor isn't that useful.)
Right! Unfortunately my reality belong to the worse case :-) The pages of our
site haven't properly titles and they have no meta keywords, so what do U think
about my choice? Any suggests?
Thank you very much.
Pietro
_______________________________________________
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