You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2007/05/22 20:26:38 UTC

svn commit: r540681 - /lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml

Author: ehatcher
Date: Tue May 22 11:26:37 2007
New Revision: 540681

URL: http://svn.apache.org/viewvc?view=rev&rev=540681
Log:
Adjust delicious library view for change in asin field name

Modified:
    lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml

Modified: lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml?view=diff&rev=540681&r1=540680&r2=540681
==============================================================================
--- lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml (original)
+++ lucene/solr/trunk/client/ruby/flare/app/views/document/_document_delicious.rhtml Tue May 22 11:26:37 2007
@@ -1,11 +1,11 @@
 <tr valign="top">
   <td>
-    <%=image_tag "http://images.amazon.com/images/P/#{doc['asin_text']}.01.MZZZZZZZ" %>
+    <%=image_tag "http://images.amazon.com/images/P/#{doc['asin_display']}.01.MZZZZZZZ" %>
   </td>
   <td>
     <table class="entry">
       <tr>
-        <td class="title" colspan="2"><%=link_to doc['title_text'], "http://www.amazon.com/exec/obidos/ASIN/#{doc['asin_text']}"%></td>
+        <td class="title" colspan="2"><%=link_to doc['title_text'], "http://www.amazon.com/exec/obidos/ASIN/#{doc['asin_display']}"%></td>
       </tr>
       <% doc.each do |k,v|; highlighting = response.highlighted(doc['id'], k) %>
       <tr><td class="field"><%=k%>:</td><td><%= highlighting ? "...#{highlighting}..." : (v.respond_to?('join') ? v.join(',') : v.to_s)%></td></tr>