Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Bookmarkit

Bookmarkit

To install: script/plugin install http://svn.nanorails.com/plugins/bookmarkit/

or to use svn:externals to get updates script/plugin install -x http://svn.nanorails.com/plugins/bookmarkit/

The install will automatically copy the configuration file, the images and the partial in their final location. If this does not happen, or you deleted some of these files, you can run:

script/plugin install—force http://svn.nanorails.com/plugins/bookmarkit/

To configure, edit the file config/bookmarkit.yml

title: Bookmark It! delicious: true(default)/false digg: true(default)/false reddit: true(default)/false blinklist: true(default)/false dzone: true(default)/false newsvine: true(default)/false furl: true(default)/false spurl: true(default)/false simpy: true(default)/false fark: true(default)/false blogmarks: true(default)/false myweb2: true(default)/false wists: true(default)/false

To use, inside any view (.rhtml), use:

<%= render_BMI(title, url) %>

For example, in typo, somewhere in read.rhtml, include: <%= render_BMI(@article.title, @article.location) %>

For finer control of the rendering, it also copies a css (bookmarkit.css) to public/stylesheets. To use, include in your main layout with: <%= stylesheet_link_tag ”/stylesheets/bookmarkit” %>

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'