Enable Zotero to access MODS representation of detailed records
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Oct 2008 03:42:44 +0000 (03:42 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Oct 2008 03:42:44 +0000 (03:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10774 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/web/opac/skin/default/xml/header.xml
Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml

index 74612eb..85bf2ff 100644 (file)
@@ -36,7 +36,11 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml
 RewriteEngine ON
 RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
     /opac/images/blank.png [P,L]
-       
+
+RewriteEngine ON
+RewriteCond %{QUERY_STRING} (^r|&r)=(\d+)
+RewriteRule - - [E=OILS_OPAC_RID:%2]
+RewriteRule - - [E=OILS_TIME_YEAR:%{TIME_YEAR}]
 # ----------------------------------------------------------------------------------
 # Configure the OPAC
 # ----------------------------------------------------------------------------------
index a0c10cf..7990eb3 100644 (file)
@@ -4,7 +4,7 @@
        <!--#include virtual="common/css_common.xml"-->
 
        <title>&<!--#echo var="OILS_TITLE"-->;</title>
-       <link rel="unapi-server" type="application/xml" title="unAPI" href="/opac/extras/unapi"/>
+       <link rel="unapi-server" type="application/xml" title="unAPI" href="http://<!--#echo var='HTTP_HOST'-->/opac/extras/unapi"/>
 
        <!--#if expr="$slimpac!='true'"-->
                <!--#include virtual="common/js_common.xml"-->
index 5b31d6e..3852339 100644 (file)
@@ -1,4 +1,5 @@
 
+<abbr class="unapi-id" title='tag:<!--#echo var="HTTP_HOST"-->,<!--#echo var="OILS_TIME_YEAR"-->:biblio-record_entry/<!--#echo var="OILS_OPAC_RID"-->'></abbr>
 <!-- This holds the record summary information -->
 <div>
        <table id='rdetail_details_table'>