This extension allows you to add social bookmarking to your products so your customers can share pages.
Current bookmarks include:
- ask
- blinklist
- blogmarks
- delicious
- digg
- dzone
- fark
- furl
- google bookmarks
- magnolia
- netscape
- newsvine
- shoutwire
- simpy
- slashdot
- spurl
- stumbleupon
- swik
- technorati
- windows live
- yahoo myweb2
-
Install the extension with one of the following commands
git clone git://github.com/wsmedia/spree-social-bookmarks.git script/extension install git://github.com/wsmedia/spree-social-bookmarks.git
-
Add the following to your products page
<%= display_bookmarks(@product.name, product_url(@product) %>
-
You can also add bookmarks to none product pages, just pass a title or name
<%= display_bookmarks(@blog.title) %>
-
You can turn off specific bookmarks in the configuration file.
# lib/social_bookmarks_configuration.rb
class SocialBookmarksConfiguration < Configuration
preference :ask, :boolean, :default => 1 # switch to 0 to hide bookmark in the view
...
end
Development of this extension is by White Star Media.