Socket
Book a DemoInstallSign in
Socket

cackle

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cackle

0.0.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Cackle.me integration

Simple Rails plugin implements synchronization of Cackle.me comments.

Cackle.me is a real-time comment system with the ability to login via popular social networks such as Google+, Facebook, Twitter, LinkedIn, Vkontakte, Odnoklassniki, Mail.ru and many others.

Storing in local database make comments visible to search robots.

Installation

Add to Gemfile

gem 'cackle' 

Generate and run migration

rails g cackle:migration
rake db:migrate

Copy views to app/views for customization (optional)

rails g cackle:views

Create config file config/cackle.yml See http://cackle.me/help/comment-sync to find your keys

site_id:         12345          # Site ID
site_api_key:    blah-blah-blah # Account API Key
account_api_key: blah-blah-blah # Site API Key  

Helper methods

Insert comments widget

cackle_comments 

Recent comments widget

cackle_recent_comments

You can easily specify ammount of comments to show and other params. For example:

cackle_recent_comments 10, avatar_size: 32, text_size: 150, title_size: 40 

Rake tasks

First time import. Warning clears all comments in base.

cackle:import

Syncronize changes. Should be called every 5 minutes by cron.

cackle:sync

License

This project rocks and uses MIT-LICENSE.

FAQs

Package last updated on 27 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.