Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Backlinks für Alexandria
Browse files Browse the repository at this point in the history
* in MARC-Ansicht und Exemplaren jeweils Backlink auf Trefferliste
* ungenügend, da nicht direkt auf Exemplar verlinkbar
* Passende IDs aus Alma fehlen
  • Loading branch information
Oliver Schihin committed Nov 17, 2015
1 parent bf1b164 commit 31a46e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion local/config/vufind/Holdings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IDSBB = false

[Backlink]
ALEPH = "{server}/F?func=item-global&doc_library={bib-library-code}&doc_number={bib-system-number}&sub_library={aleph-sublibrary-code}"
ALEX = "http://www.alexandria.ch/primo_library/libweb/action/dlSearch.do?institution=BIG&vid=ALEX&scope=default_scope&query=lsr07,contains,vtls{bib-system-number}-41big_inst"
ALEX = "http://www.alexandria.ch/primo_library/libweb/action/dlSearch.do?institution=BIG&vid=ALEX&scope=default_scope&query=any,contains,{bib-system-number}"
CCSA = "http://www.posters.nb.admin.ch/lib/item?id=chamo:{bib-system-number}"
CHARCH = "https://www.helveticarchives.ch/detail.aspx?ID={bib-system-number}"
IDSBB = "http://baselbern.swissbib.ch/Record/{id}?expandlib={sub-library-code}#holding-institution-{network}-{sub-library-code}"
Expand Down
6 changes: 3 additions & 3 deletions module/Swissbib/src/Swissbib/RecordDriver/Helper/Holdings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,8 @@ protected function getBackLinkRERO($networkCode, $institutionCode, $item,
}

/**
* Get backlink for Alexandria network
* Get backlink for Alexandria network (Primo on Alma)
* * links only to result list as we have no usable identifier
*
* @param String $networkCode NetworkCode
* @param String $institutionCode InstitionCode
Expand All @@ -1189,8 +1190,7 @@ protected function getBackLinkAlex($networkCode, $institutionCode, array $item,
array $data
) {
$values = [
// remove characters from number string
'bib-system-number' => preg_replace('[\D]', '', $item['bibsysnumber'])
'bib-system-number' => $item['bibsysnumber']
];

return $this->compileString($data['pattern'], $values);
Expand Down
1 change: 1 addition & 0 deletions module/Swissbib/src/Swissbib/XSLT/MARCFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class MARCFormatter implements ServiceManagerAwareInterface
// @codingStandardsIgnoreStart
protected static $institutionURLs = [
"ABN" => "http://aleph.ag.ch/F/?local_base=ABN01&con_lng=GER&func=find-b&find_code=SYS&request=%s",
"ALEX" => "http://www.alexandria.ch/primo_library/libweb/action/dlSearch.do?institution=BIG&vid=ALEX&scope=default_scope&query=any,contains,%s",
"BGR" => "http://aleph.gr.ch/F/?local_base=BGR01&con_lng=GER&func=find-b&find_code=SYS&request=%s",
"BORIS" => "http://boris.unibe.ch/cgi/oai2?verb=GetRecord&identifier=%s&metadataPrefix=oai_dc",
"CCSA" => "http://permalink.snl.ch/bib/chccsa%s",
Expand Down

0 comments on commit 31a46e8

Please sign in to comment.