Hi all:

I've now sent four or five emails to the list and nothing has gone
through, nor have I gotten a bounce for anything. I'm trying again from
a different email address and smtp server.

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.

Right now I have the following in my configuration file:
        #template_patterns:     ${start_url}/en
        ${common_dir}/site2_wrapper-en.html \
        #                       ${start_url}/fr
        #                       ${common_dir}/site2_wrapper-fr.html

        search_results_wrapper: ${common_dir}/site2_wrapper-en.html
matches_per_page: 15
        nothing_found_file: ${common_dir}/site2_noresults-en.html
        # common dir also holds site1_templates.html

But I need to have a nothing_found_file for both of my languages as
well.

I'm sure this is an easy solution, but it just won't come to me at
0veryearlyinthemorning. I have a feeling it has to do with template
mapping, but I don't understand how it would fit or how it would get
requested.


QUESTION TWO: MERGED DATABASES
And while I'm on the topic of silly questions. I can have one uber
database for multiple sites. I know this. Then I use restrict to
restrict where the content is getting pulled from. But just to
confirm...

        config file #1 start url: http://google.com
        config file #2 start url: http://yahoo.com

        limit_urls_to #1: google.com
        limit_urls_to #2: yahoo.com

        addtional restrict options #1: google URLs/words
        addtional restrict options #2: yahoo URLs/words

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?

I know it's abstract, but hopefully it makes sense?


QUESTION THREE: SESSION INFORMATION/COOKIES
I'm now running 3.1.6 with the cookie patch from:
http://www.mail-archive.com/[email protected]/msg01356.html
I've set:
        disable_cookies: false
according to:
http://www.mail-archive.com/[email protected]/msg01368.html

The search engine runs ok using the following:
        htdig -i -c ccfpd.conf -u user:pass -s -v > htdig.local.03.txt


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...


thanks

emma





-------------------------------------------------------
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