-
Notifications
You must be signed in to change notification settings - Fork 0
automatic tags generation plugin for rubyonrails applications
License
sur/auto_tags_rails
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
AutoTags ======== Author: Sur http://expressica.com Homepage: http://expressica.com/auto_tags License: MIT Intoroduction ============= AutoTags is a rubyonrails plugin to automatically generate the relevant tags from the provided content. The tags further can automatically be pushed in database using the legacy acts_as_taggable plugin. The plugin is very useful for social networking site, communities sites and all those public sites where there is a scope of huge content. So, no more manually tagging all your content... just a simple and slick solution. Example ======= model specific usage # single attribute example class Vendor < ActiveRecord::Base auto_tags :include => :product end # multiple attributes example class Vendor < ActiveRecord::Base auto_tags :include => [:product, :description] end # associations example class Book < ActiveRecord::Base has_many :authors auto_tags :include => [:title, :description, :authors_names] def authors_names authors.collect{|a| a.name.join(' ')} end end generic usage AutoTags::AutoTagsGeneration.generate_tags(content) Copyright (c) 2008 [Sur http://expressica.com], released under the MIT license
About
automatic tags generation plugin for rubyonrails applications
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published