This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { var showPnxLinkElem = document.querySelectorAll('prm-brief-result-container'), urlParamVid = location.search.split('vid=')[1].split('&')[0]; function createLink (linkUrl, linkText) { var obj = document.createElement("a"); obj.setAttribute("href", linkUrl); obj.setAttribute("target", "_blank"); obj.style.margin = "0 0 0 2em"; obj.innerHTML = linkText; return obj; } for (var i=0, j=showPnxLinkElem.length; i < j; i++) { var showPnxRecId = showPnxLinkElem[i].querySelector('.list-item-primary-content').getAttribute('data-recordid'), resultItemChildren = showPnxLinkElem[i].parentNode.childNodes, resultItemLastChild = resultItemChildren[resultItemChildren.length-1], recordIdSpan = document.createElement("span"), hrefBase = showPnxLinkElem[i].querySelector('.media-thumbnail').querySelector('a').getAttribute('ng-href').replace(/docid=.*?(&|$)/, "docid="+showPnxRecId+"$1"), bn = showPnxRecId.replace(/33UDR2_KOHA/, ""), showIntranetLinkHref = "https://pro-koha.bu.univ-rennes2.fr/cgi-bin/koha/cat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
"use strict"; | |
'use strict'; | |
var app = angular.module('viewCustom', ['angularLoad']); | |
app.config(['$sceDelegateProvider', function($sceDelegateProvider) { | |
var urlWhitelist = $sceDelegateProvider.resourceUrlWhitelist(); | |
urlWhitelist.push('https://api.istex.fr/document/openurl**'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template name="tag_010"> | |
<xsl:param name="tag"/> | |
<xsl:param name="label"/> | |
<xsl:if test="marc:datafield[@tag=$tag]/marc:subfield[@code='a']"> | |
<tr valign="top"> | |
<th><xsl:value-of select="$label"/> : </th><td> | |
<xsl:for-each select="marc:datafield[@tag=$tag]"> | |
<xsl:call-template name="addClassRtl"/> | |
<xsl:for-each select="marc:subfield[@code='a']"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get360link() { | |
if (!kioskMod && (jQuery("div.ISSN").size() > 0 || jQuery("div.ISBN").size() > 0)) { | |
if (jQuery("div.ISSN").size() > 0) { | |
var ISSN = jQuery("div.ISSN").text(); | |
var url = jsHost+OPAC_SVC+'360.php?request=issn&id='+ISSN; | |
} | |
else { | |
if (jQuery("div.ISBN").size() > 0) { | |
var ISBN = jQuery("div.ISBN").eq(index).text(); | |
var url =jsHost+OPAC_SVC+'360.php?request=isbn&id='+ISBN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Config | |
$proxy_server = ''; | |
$proxy_port = ''; | |
$linkResolver = ''; // example : http://xxxxxxxxxx.openurl.xml.serialssolutions.com | |
$id = $_GET['id']; //Identifier | |
$request = $_GET['request'];//ISBN OR ISSN | |
function parseLinks($xmlstr) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bd031a7763c488cb89f59177639c9d85c961c849 Mon Sep 17 00:00:00 2001 | |
From: jsicot <[email protected]> | |
Date: Sat, 28 Feb 2015 01:06:46 +0100 | |
Subject: [PATCH 1/1] Fix v2.1.0 install problem on Ubuntu Trusty | |
--- | |
views/main.ejs | 75 ++++++++++++++++++++++++++++++---------------------------- | |
1 file changed, 39 insertions(+), 36 deletions(-) | |
diff --git a/views/main.ejs b/views/main.ejs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//error_reporting(E_ALL); | |
//ini_set('display_errors', '0'); | |
include('QuiteSimpleXMLElement.php'); | |
$amazonRemplacementImg = file_get_contents('http://www.bu.fr/images/defaultcover.jpg', false); | |
if (isset( $_GET['q'])) { | |
$q = $_GET['q']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
i.ccode AS ccode, | |
count(DISTINCT(b.biblionumber)) as total | |
FROM | |
(SELECT biblionumber,barcode,ccode,dateaccessioned,itemlost,wthdrawn,timestamp FROM items) i | |
LEFT JOIN biblio as b ON b.biblionumber=i.biblionumber | |
WHERE (YEAR(b.datecreated) = '2013') | |
AND i.barcode IS NOT NULL | |
GROUP BY i.ccode | |
ORDER BY total DESC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF() | |
# back-end and the YAZ CQL-to-PQF converter. This specifies the | |
# interpretation of various CQL indexes, relations, etc. in terms | |
# of Type-1 query attributes. | |
# | |
# This configuration file generates queries using BIB-1 attributes. | |
# See http://www.loc.gov/z3950/agency/zing/cql/dc-indexes.html | |
# for the Maintenance Agency's work-in-progress mapping of Dublin Core | |
# indexes to Attribute Architecture (util, XD and BIB-2) |
NewerOlder