[open-ils-commits] r17531 - branches/rel_2_0/Open-ILS/examples (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Sep 8 21:51:25 EDT 2010


Author: dbs
Date: 2010-09-08 21:51:23 -0400 (Wed, 08 Sep 2010)
New Revision: 17531

Modified:
   branches/rel_2_0/Open-ILS/examples/opensrf.xml.example
Log:
Make OpenLibrary the default added content provider

OpenLibrary is a better choice than Amazon for added content out of the box
because:

1) The OpenLibrary added content handler provides cover images +
tables of content, whereas the Amazon added content handler only
provides cover images.

2) The terms of use for OpenLibrary content are much friendlier than
the Amazon "Product Advertising API".

We discussed this back in mid-2009: http://markmail.org/message/csx2hl6aleznapga


Modified: branches/rel_2_0/Open-ILS/examples/opensrf.xml.example
===================================================================
--- branches/rel_2_0/Open-ILS/examples/opensrf.xml.example	2010-09-09 01:50:10 UTC (rev 17530)
+++ branches/rel_2_0/Open-ILS/examples/opensrf.xml.example	2010-09-09 01:51:23 UTC (rev 17531)
@@ -262,18 +262,10 @@
 
         <added_content>
 
-            <!-- XXX If you use the Amazon plugin, you must link back to Amazon in the OPAC -->
+            <!-- load the OpenLibrary added content module -->
+            <module>OpenILS::WWW::AddedContent::OpenLibrary</module>
 
-            <!-- load the Amazon added content module -->
-            <module>OpenILS::WWW::AddedContent::Amazon</module>
             <!--
-            Base URL for Amazon added content fetching.  This URL may
-            need to be shortened when new (read: non-image) content 
-            fetching capabilities are added
-            -->
-            <base_url>http://images.amazon.com/images/P/</base_url>
-
-            <!--
             Max number of seconds to wait for an added content request to 
             return data.  Data not returned within the timeout is considered
             a failure
@@ -297,6 +289,11 @@
             <userid>MY_USER_ID</userid>
 
             <!--
+            Base URL for Amazon added content fetching. Not needed by OpenLibrary
+            <base_url>http://images.amazon.com/images/P/</base_url>
+            -->
+
+            <!--
             Segregating the details for ContentCafe out for easier use.  At some point, we
             may want to support multiple services at one time.
             -->



More information about the open-ils-commits mailing list