Add more Syndetic review sources (commented out) user/jeff/lp988230_syndetic_additional_reviews
authorJeff Godin <jgodin@tadl.org>
Wed, 25 Apr 2012 09:03:27 +0000 (05:03 -0400)
committerJeff Godin <jgodin@tadl.org>
Wed, 25 Apr 2012 09:03:27 +0000 (05:03 -0400)
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.

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

index 432cc0a..85f274c 100644 (file)
@@ -122,7 +122,11 @@ sub reviews_html {
     $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{$_}) ) {
@@ -154,7 +158,11 @@ sub reviews_xml {
     $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{$_}) ) {