NewsFeaturesDownloadsDevelopmentSupportAbout Us
Plugin haiku

Plugin haiku

From LifeType Wiki


Name: haiku

Latest version: 0.2

Download link: http://sourceforge.net/project/plog/xxx

License: GPL

Author: --Darren

[edit] Description

The haiku plugin will display a randomly generated haiku, built from a database of 5 and 7 syllable lines. The plugin currently only works for the blog administrator.

The next version will allow the administrator to open up the ability for all blog members to have their own haiku entries, dedicated for their blog.

[edit] Configuration

There are three main methods that can be used by the blog owner. They are:

$ploghaiku->getHaiku() - This method will return the randomly generated haiku with lines broken using BR tags.

$ploghaiku->getHaikuStats() - This method will return the number of 5 and 7 syllable lines in the database for your blog. This also uses BR tags.

$ploghaiku->getHaikuPermutations() - This method will return the total number of possible permuations based on the number of haiku lines in the DB.

[edit] Notes

To Do:

 -Add the ability to enable or disable the plugin
 -Add the ability for individual blog owners to have their own haiku entries
 -Add an "admin" screen for blog owners, who are not administrators