Bugzilla – Attachment 2707 Details for
Bug 4903
OAI doesn't work out of the box - XSL path
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised patch
0001-bug-4903-enable-OAI-DC-output-when-install-done-in-s.patch (text/plain), 1.39 KB, created by
Galen Charlton
on 2010-10-28 12:46:54 UTC
(
hide
)
Description:
revised patch
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2010-10-28 12:46:54 UTC
Size:
1.39 KB
patch
obsolete
>From 88c999d7d0716246bbf9d954c96ade80ce531175 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmcharlt@gmail.com> >Date: Thu, 28 Oct 2010 08:43:55 -0400 >Subject: [PATCH] bug 4903: enable OAI-DC output when install done in standard mode >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Based on patch by Tomás Cohen Arazi <tomascohen@gmail.com>, >revised to work regardless of the installation mode. > >Signed-off-by: Galen Charlton <gmcharlt@gmail.com> >--- > opac/oai.pl | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/opac/oai.pl b/opac/oai.pl >index b434980..038b6d1 100755 >--- a/opac/oai.pl >+++ b/opac/oai.pl >@@ -459,10 +459,10 @@ sub stylesheet { > unless ( $stylesheet ) { > my $xsl_file = $self->{ conf } > ? $self->{ conf }->{ format }->{ $format }->{ xsl_file } >- : ( C4::Context->config('intranetdir') . >- "/koha-tmpl/intranet-tmpl/prog/en/xslt/" . >+ : ( C4::Context->config('intrahtdocs') . >+ '/prog/en/xslt/' . > C4::Context->preference('marcflavour') . >- "slim2OAIDC.xsl" ); >+ 'slim2OAIDC.xsl' ); > my $parser = XML::LibXML->new(); > my $xslt = XML::LibXSLT->new(); > my $style_doc = $parser->parse_file( $xsl_file ); >-- >1.7.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4903
: 2707