public
Description: Monkey patching permalink_fu to support stop words and max_words options
Homepage:
Clone URL: git://github.com/jugend/permalink_fu_hack.git
name age message
file README Loading commit data...
file init.rb
directory lib/
directory test/
README
== PermalinkFuHack

Extending permalink_fu to:
- filter out stop words such as 'the,a,in,on,etc..'
- specify maximum no of words allowed for a more SEO friendly permalink
- to turn off unique permalink option, for cases where permalink includes the 
primary key id, e.g. 12-book-title.

  class Article < ActiveRecord::Base
    has_permalink :title, :filter_stop_words => true, :max_word => 6, :unique => false
  end
  
== Install

  git clone git://github.com/technoweenie/permalink_fu.git
  git clone git://github.com/jugend/permalink_fu_hack.git

== Additional Options

  :unique            => Create unique permalink (default: true).
  :filter_stop_words => Flag to filter to stop words (default: false)
  :stop_words        => Array of stop words to filter (default: auto assigned to stop words 
                        similar to http://wordpress.org/extend/plugins/seo-slugs/).
  :max_words         => Maximum number of words to show on permalink (default: 6)