Skip to content

Instantly share code, notes, and snippets.

@tamoot
Created May 8, 2010 14:05
Show Gist options
  • Save tamoot/394576 to your computer and use it in GitHub Desktop.
Save tamoot/394576 to your computer and use it in GitHub Desktop.
Index: rakuten.rb
===================================================================
--- rakuten.rb (revision 20)
+++ rakuten.rb (working copy)
@@ -111,13 +111,18 @@
price = rakuten_get_price( doc )
shop = rakuten_get_shop( doc )
<<-HTML
- <a href="#{h( link )}">
+ <div class="isbn_detail">
+ <a class="amazon-detail" href="#{h( link )}">
+ <div class="amazon-detail">
<img class="amazon-detail left" src="#{h( img.src )}"
alt="#{h( name )}" title="#{h( name )}">
- </a>
+ <div class="amazon-detail-desc">
<span class="amazon-title">#{h( name )}</span><br>
<span class="amazon-label">#{h( shop )}</span><br>
- <span class="amazon-price">#{h( price )}</span><br style="clear: left">
+ <span class="amazon-price">#{h( price )}</span>
+ </a>
+ </div><br style="clear: left">
+ </div></div>
HTML
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment