[open-ils-commits] r10774 - in trunk/Open-ILS: examples/apache web/opac/skin/default/xml web/opac/skin/default/xml/rdetail

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 6 23:42:46 EDT 2008


Author: dbs
Date: 2008-10-06 23:42:44 -0400 (Mon, 06 Oct 2008)
New Revision: 10774

Modified:
   trunk/Open-ILS/examples/apache/eg_vhost.conf
   trunk/Open-ILS/web/opac/skin/default/xml/header.xml
   trunk/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
Log:
Enable Zotero to access MODS representation of detailed records

Modified: trunk/Open-ILS/examples/apache/eg_vhost.conf
===================================================================
--- trunk/Open-ILS/examples/apache/eg_vhost.conf	2008-10-07 02:40:09 UTC (rev 10773)
+++ trunk/Open-ILS/examples/apache/eg_vhost.conf	2008-10-07 03:42:44 UTC (rev 10774)
@@ -36,7 +36,11 @@
 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
 # ----------------------------------------------------------------------------------

Modified: trunk/Open-ILS/web/opac/skin/default/xml/header.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/header.xml	2008-10-07 02:40:09 UTC (rev 10773)
+++ trunk/Open-ILS/web/opac/skin/default/xml/header.xml	2008-10-07 03:42:44 UTC (rev 10774)
@@ -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"-->

Modified: trunk/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml	2008-10-07 02:40:09 UTC (rev 10773)
+++ trunk/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml	2008-10-07 03:42:44 UTC (rev 10774)
@@ -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'>



More information about the open-ils-commits mailing list