| Version 3 (modified by cho45, 6 years ago) |
|---|
Ekfloras - a blosxom clone written in Ruby
Ekfloras is a BlosxomClones.
svn co http://svn.coderepos.org/share/lang/ruby/ekfloras/
Plugin Spec.
# Should inherit Ekfloras::Plugin.
# Must define under Ekfloras::Plugin.
class Ekfloras::Plugin::FooBar < Ekfloras::Plugin
# Returns priority.
# Little number first.
def priority
100
end
# Called before any processing.
def start
end
# Overwriting Ekfloras's <code>entries</code> method
# Do NOT define if you can't use this.
# Ekfloras uses the most high priority plugin.
def entries
end
undef entries
# Called after collecting entries
# for filter or sort entries.
def filter(entries)
entries
end
# Called for filter output.
def last(out)
out
end
# Called after all processing.
# Ekfloras outputs after called this method.
def finish
end
end
See http://coderepos.org/share/browser/lang/ruby/ekfloras/plugins to get more information and examples.
Template Spec.
Ekfloras uses MiniERB for template processing. This is similar to ERB.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)
