Syndetic AC: Add more review sources with comments
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Apr 2012 06:59:01 +0000 (02:59 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 14:45:45 +0000 (10:45 -0400)
* Add more Syndetic review sources (commented out)
    Add additional Syndetic review sources, commented out
    for performance reasons -- each source represents a distinct
    request from the server to the AC provider, and we currently
    lack a means of configuring which are on/off, short of
    commenting / uncommenting.

* Add comments for Syndetics review sources
* Fix file name for School Library Journal reviews, add New
    York Times reviews.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm

index 62b7afc..85f274c 100644 (file)
@@ -115,13 +115,18 @@ sub reviews_html {
 
     my %reviews;
 
-    $reviews{ljreview} = $self->fetch_content('ljreview.html', $key);
-    $reviews{pwreview} = $self->fetch_content('pwreview.html', $key);
-    $reviews{slreview} = $self->fetch_content('slreview.html', $key);
-    $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{kireview} = $self->fetch_content('kireview.html', $key);
+    $reviews{ljreview} = $self->fetch_content('ljreview.html', $key); # Library Journal
+    $reviews{pwreview} = $self->fetch_content('pwreview.html', $key); # Publishers Weekly
+    $reviews{sljreview} = $self->fetch_content('sljreview.html', $key); # School Library Journal
+    $reviews{chreview} = $self->fetch_content('chreview.html', $key); # CHOICE Review
+    $reviews{blreview} = $self->fetch_content('blreview.html', $key); # Booklist Review
+    $reviews{hbreview} = $self->fetch_content('hbreview.html', $key); # Horn Book Review
+    $reviews{kireview} = $self->fetch_content('kireview.html', $key); # Kirkus Reviews
+    #$reviews{abreview} = $self->fetch_content('abreview.html', $key); # Bookseller+Publisher
+    #$reviews{criticasreview} = $self->fetch_content('criticasreview.html', $key); # Criticas
+    $reviews{nyreview} = $self->fetch_content('nyreview.html', $key); # New York Times
+    #$reviews{gdnreview} = $self->fetch_content('gdnreview.html', $key); # Guardian Review
+    #$reviews{doodysreview} = $self->fetch_content('doodysreview.html', $key); # Doody's Reviews
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {
@@ -148,11 +153,16 @@ sub reviews_xml {
 
     $reviews{ljreview} = $self->fetch_content('ljreview.xml', $key);
     $reviews{pwreview} = $self->fetch_content('pwreview.xml', $key);
-    $reviews{slreview} = $self->fetch_content('slreview.xml', $key);
+    $reviews{sljreview} = $self->fetch_content('sljreview.xml', $key);
     $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{kireview} = $self->fetch_content('kireview.xml', $key);
+    #$reviews{abreview} = $self->fetch_content('abreview.xml', $key);
+    #$reviews{criticasreview} = $self->fetch_content('criticasreview.xml', $key);
+    $reviews{nyreview} = $self->fetch_content('nyreview.xml', $key);
+    #$reviews{gdnreview} = $self->fetch_content('gdnreview.xml', $key);
+    #$reviews{doodysreview} = $self->fetch_content('doodysreview.xml', $key);
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {