跟踪dt1000/dt1500功能的配置办法:
<traceDTLP>
<origin serverAddr="test" UserName="root" Password="" >
<databaseMap>
<item targetDatabase="跟踪流通库" originDatabase="流通库" marcSyntax="unimarc"/>
<item targetDatabase="跟踪中文图书" originDatabase="图书总库" marcSyntax="unimarc" />
<item targetDatabase="跟踪英文图书" originDatabase="English Books" marcSyntax="usmarc" />
</databaseMap>
</origin>
</traceDTLP>
校验条码脚本的配置办法:
<script><![CDATA[
using System;
using DigitalPlatform.LibraryServer;
public class MyLibraryHost : LibraryHost
{
// return: 0 not valid barcode; 1: is valid reader barcode; 2: is valid item barcode
public int VerifyBarcode(string strBarcode,
out string strError)
{
strError = "";
if (String.IsNullOrEmpty(strBarcode) == true)
return 0;
if (strBarcode.Length != 8)
return 0;
if (strBarcode[0] == 'R')
return 1;
if (strBarcode[0] == 'B')
return 2;
return 0;
}
}
]]></script>
工作日历的配置方法:
<rightstable>
<!-- 所有类型的缺省参数 -->
<param name="工作日历名" value="基本日历" />
...
~~~~
http://localhost/dp2libraryws/search.aspx?dbname=中文书刊&from=题名&matchstyle=prev&word=中国
http://localhost/dp2libraryws/search.aspx?dbname=%e4%b8%ad%e6%96%87%e4%b9%a6%e5%88%8a&from=%e9%a2%98%e5%90%8d&matchstyle=left&word=%e4%b8%ad%e5%9b%bd