This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
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)








