Fix LP 984039: correct Syndetic Kirkus Reviews
authorJeff Godin <jgodin@tadl.org>
Tue, 17 Apr 2012 14:46:22 +0000 (10:46 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 2 May 2012 20:23:14 +0000 (16:23 -0400)
Use correct "filename" component of URL for retrieving Kirkus
Reviews content from Syndetic Solutions.

Correct filename confirmed by Bowker technical support, and by
empirical tests.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm

index 6ae2a5a..62b7afc 100644 (file)
@@ -121,7 +121,7 @@ sub reviews_html {
     $reviews{chreview} = $self->fetch_content('chreview.html', $key);
     $reviews{blreview} = $self->fetch_content('blreview.html', $key);
     $reviews{hbreview} = $self->fetch_content('hbreview.html', $key);
-    $reviews{kirkreview} = $self->fetch_content('kirkreview.html', $key);
+    $reviews{kireview} = $self->fetch_content('kireview.html', $key);
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {
@@ -152,7 +152,7 @@ sub reviews_xml {
     $reviews{chreview} = $self->fetch_content('chreview.xml', $key);
     $reviews{blreview} = $self->fetch_content('blreview.xml', $key);
     $reviews{hbreview} = $self->fetch_content('hbreview.xml', $key);
-    $reviews{kirkreview} = $self->fetch_content('kirkreview.xml', $key);
+    $reviews{kireview} = $self->fetch_content('kireview.xml', $key);
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {