Ciao Emma Jane!

QUESTION ONE: TEMPLATES
I'm hoping that someone has a quick answer to this. ... I need to have
four output templates from the same search:
        english results found
        english no results found

        french results found
        french no results found

I would like to use template_patterns to match the language distinction
(it's in the URL). But I don't understand how to add in the no results.
I guess your solution is to provide different configuration files, one for the english and one for the french language. Even though at my Website we have mainly italian documents, we host some tourism related pages in different languages (mainly english, but french, spanish, german too - I have not set the engine for the latters one yet!).

I use a configuration file for the italian engine, and one for the english (soon for the others too). Also because those documents are made up of words of different dictionaries and ... as long as ht://Dig supports them, I think it is a good idea to separate their indexing and therefore their searching phases too.

You could, for instance, create an htdig.en.file which is responsible for retrieving documents written in english (use for now the restriction and limits rules on URLs), indexing those words, build searchable databases and allowing users to find relevant results from them (basically a whole htdig-htmerge-htfuzzy-htsearch cycle).

Once you've prepared this, you basically have to copy it and change the language dependant settings for french: the same for any templates you may have.

This implies that for htsearch you'll have to provide different configuration files, depending on the language the user has chosen for searching information on your site.

I hope this may help you somehow; if now, feel free to ask me and the other guys again.

QUESTION TWO: MERGED DATABASES
And while I'm on the topic of silly questions.
:-)

search using config file #1 will give only pages located within google
AND that match only the restrict options from my google list. When I do
a   crawl using config file #1 I will update only the google portion of
the database. When I do a crawl using config file #2 I will update only
the yahoo portion of the database. As long as I don't use -i for
"initial" everything will stay in the database while I'm
updating/crawling one of the two sites...right?
Yeah, I suggest you to use the '-a' flag to for allowing the creation of a temporary working copy of the database (this allows users to search while htdig is executing).

I know it's abstract, but hopefully it makes sense?
It's not abstract ... however ... where's the question for merged databases? Is your intention to merge #1 and #2 into a #3 database? Just wondering ... :-)

QUESTION THREE: SESSION INFORMATION/COOKIES
However, I'm still getting SESSIONs in my URLs.
41:114:1:http://openkosmos.ecommons.ca/ccfpd-eforums/dev/web/en/privacy\index.ht
ml?SESSION=883501be00c963ac861e9e51554d5b78:
---*+***---*******************- size = 11039

Can someone please help me to get rid of these parameters? I'm not
currently running any url_rewrite_rules. I have yet to get a rewrite
rule to show up in the -v output...
Probably it does not depend on your settings and it's just the way the server application has been made, which uses a query string method for session propagation. What comes up to me is use the url_rewrite_rules for 'removing' the SESSION part, which should not be present in the archive. There's a perfect example in the url_rewrite_rules documentation: http://www.htdig.org/attrs.html#url_rewrite_rules

I suggest you to follow those instructions. :-)


--
Gabriele Bartolini - Web Programmer - ht://Dig & IWA Member - ht://Check maintainer
Current Location: Prato, Tuscany, Italia
[EMAIL PROTECTED] | http://www.prato.linux.it/~gbartolini | ICQ#129221447
> 'Since I was born, Italy is worth mentioning not just for Pizza'



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
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