Only request review sources TADL subscribes to
authorJeff Godin <jgodin@tadl.org>
Wed, 9 May 2012 13:33:18 +0000 (09:33 -0400)
committerJeff Godin <jgodin@tadl.org>
Thu, 26 Jul 2012 09:05:49 +0000 (05:05 -0400)
For Syndetic Solutions, only request those review
sources which TADL subscribes to. This includes
sources not requested by default, and removes
sources which we do not use. The ordering of
the review sources is also intentional.

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

index bddd217..287bbcf 100644 (file)
@@ -116,12 +116,9 @@ 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{sljreview} = $self->fetch_content('sljreview.html', $key);
     $reviews{kireview} = $self->fetch_content('kireview.html', $key);
+    $reviews{nyreview} = $self->fetch_content('nyreview.html', $key);
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {
@@ -147,12 +144,9 @@ sub reviews_xml {
     my %reviews;
 
     $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{chreview} = $self->fetch_content('chreview.xml', $key);
-    $reviews{blreview} = $self->fetch_content('blreview.xml', $key);
-    $reviews{hbreview} = $self->fetch_content('hbreview.xml', $key);
+    $reviews{sljreview} = $self->fetch_content('sljreview.xml', $key);
     $reviews{kireview} = $self->fetch_content('kireview.xml', $key);
+    $reviews{nyreview} = $self->fetch_content('nyreview.xml', $key);
 
     for(keys %reviews) {
         if( ! $self->data_exists($reviews{$_}) ) {