What
would Leeroy Jenkins do? Or rather, what would Leeroy Jenkins say?
Let's do this!
Leeroy Jenkins plugin for blojsom. It contains the source, build.xml, and compiled JAR file. To install, copy the JAR to your /WEB-INF/lib directory and add the following line to /WEB-INF/plugin.properties: leeroy-jenkins=org.blojsom.plugin.text.LeeroyJenkinsPlugin. Add "leeroy-jenkins" to the end of one of your flavor-based plugin chains in /WEB-INF/(blog-id)/plugin.properties. Make sure the meta plugin runs before this plugin.
In your blog entry, on a separate line, use "meta-use-lj-quote=". You can leave it blank after the '=' to have the plugin insert a quote at random. Or you can use a specific number from 0 to 19 to use a specific quote. In your template, you can pull out the quote like, <p>And now, for your moment of zen: <i>$!entry.getMetaData().get("lj-quote")</i></p>.
Still lost? Watch
this video. Play with the
soundboard to hear the soundclips of the quotes. And finally, check out the
musical tribute.
Why the plugin? Because I could
Technorati Tags:
leeroy_jenkins