Z39.50 virtual database recognized.
The name of the database is the text content of the
<literal><database></literal> element which should be
- first element inside th virtual section.
+ first element inside the virtual section.
+ </para>
+ <para>
+ For Metaproxy 1.0.20 and later, the database is treated as a glob pattern.
+ This allows operators * (any number of any character) and
+ ? (any single character). The virtual sections are inspected in
+ the order given. The first matching virtual database is used.
</para>
<para>
Following that is one or more <literal><target></literal>
elements with the identifier of each target that the virtual database
- maps to.
+ maps to. If a database is given for a target (following a slash), that
+ database name is used as Z39.50 database for this target. If the
+ database is omitted for the target, the original (virtual) database
+ is used as Z39.50 database.
</para>
<para>
If multiple targets are given that has special meaning depending on the
<database>db3</database>
<target>indexdata.com/special</target>
</virtual>
+ <virtual>
+ <database>*</database><!-- default -->
+ <target>localhost:9999</target><-- database not altered -->
+ </virtual>
</filter>
]]>
</screen>