Hello!
We try to provide our institutes with a simple method to include a
search form on their pages and templates which show the name of the
institute. Our htdig version is 3.1.5. To be able to use templates in
different languages, we use a attribute 'language' in our forms.
We defined some text attributes for several languages in a set of
configuration files for each language which we wanted to include in the
master configuration file. We used directives like 'include
${language}.conf' do do this.
Problem: htsearch uses only the definition of 'language' in the
configuration file. Attributes defined in a search form are ignored in
the include directive. Even a nested construct like the following
doesn't work:
de_no_title_text: 'Kein Titel verfügbar'
us_no_title_text: 'No Title Found'
no_title_text: ${${language}_no_title_text}
But: In the following line in the same configuration file all attributes
including 'language' are expanded:
search_results_header: ${common_dir}/${language}_faculty_header.html
I know that it is question of performance, but I think that parsing and
expanding the include directive before reading the include files would
be a nice feature.
Is there a workaround for this problem?
Thanks in advance
Berthold Cogel
_______________________________________________
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