{
case Metadata_type_generic:
case Metadata_type_skiparticle:
- rec_md->data.text.disp =
- normalize7bit_generic(nmem_strdup(nmem, value), " ,/.:([");
+ if (strstr(value, "://")) /* looks like a URL */
+ rec_md->data.text.disp = nmem_strdup(nmem, value);
+ else
+ rec_md->data.text.disp =
+ normalize7bit_generic(nmem_strdup(nmem, value), " ,/.:([");
rec_md->data.text.sort = 0;
rec_md->data.text.snippet = 0;
break;
<metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
termlist="yes"/>
<metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="url" brief="yes" />
</service>
</server>
</pazpar2>
<metadata type="medium">book</metadata>
<metadata type="date">1995</metadata>
<metadata type="title">How to program a computer vol1</metadata>
+ <metadata type="url">http://www.indexdata.com/pazpar2/</metadata>
</record>
<record xmlns="http://www.indexdata.com/pazpar2/1.0">
<metadata type="author">Jack Collins</metadata>
<metadata type="medium">book</metadata>
<metadata type="date">1995</metadata>
<metadata type="title">How to program a computer vol1</metadata>
+ <metadata type="url">http://www.indexdata.com/pazpar2/</metadata>
</record>
<md-medium>book</md-medium>
<md-date>1995</md-date>
<md-title>How to program a computer vol1</md-title>
+ <md-url>http://www.indexdata.com/pazpar2/</md-url>
</location>
<location id="localhost:9999"
name="ztest" checksum="1993510496">
<md-medium>book</md-medium>
<md-date>1995</md-date>
<md-title>How to program a computer vol1</md-title>
+ <md-url>http://www.indexdata.com/pazpar2/</md-url>
</location>
<location id="localhost:9999"
name="ztest" checksum="1993510496">
<md-medium>book</md-medium>
<md-date>1995</md-date>
<md-title>How to program a computer vol1</md-title>
+ <md-url>http://www.indexdata.com/pazpar2/</md-url>
</location>
<location id="localhost:9999"
name="ztest" checksum="1993510496">
<md-medium>book</md-medium>
<md-date>1995</md-date>
<md-title>How to program a computer vol1</md-title>
+ <md-url>http://www.indexdata.com/pazpar2/</md-url>
</location>
<location id="localhost:9999"
name="ztest" checksum="1993510496">
<md-author>Jack Collins</md-author>
<md-medium>book</md-medium>
<md-date>1995</md-date>
- <md-title>How to program a computer vol4</md-title>
+ <md-title>How to program a computer vol1</md-title>
</location>
<location id="localhost:9999"
name="ztest" checksum="1482143625">