uhlenbrock / sharethis_fu
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
sharethis.yml.example | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README.textile
ShareThis Fu
This plugin should help you easily and unobtrusively integrate ShareThis in your rails app.
Installation
script/plugin install git://github.com/uhlenbrock/sharethis_fu.gitThis should create sharethis.yml in your config directory. Add your publisher key as well as any widget customizations.
Usage
There are three parts to the integration:
1. A javascript include tag in the head of your html layout
<%= include_sharethis_if_needed %>2. Declaration in controller of your choice
uses_sharethis3. Within the view where the button should appear
<%= sharethis :title => “Title to be shared.”, :url => “http://www.sharethis.com/” %>TODO
- Write more tests
- Allow for further widget customization

