Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
java
FortuneCookie.java 4.0 kB 1 25-Sep-2008 04:35 Maik Scheibler
java
FortuneCookiePlugin.java 3.2 kB 1 25-Sep-2008 14:02 Maik Scheibler moved source code from page to attachment
jar
FortuneCookiePlugin_v2.6.4.jar 3.3 kB 1 25-Sep-2008 04:14 Maik Scheibler
jar
FortuneCookiePluginv2.0.52.jar 2.3 kB 1 18-Mar-2005 22:41 Mbarcia
jar
FortuneCookies.jar 3.1 kB 2 05-Oct-2004 18:27 BradfordHolcombe

This page (revision-28) was last changed on 25-Sep-2008 16:02 by Maik Scheibler  

This page was created on 19-Nov-2003 06:23 by 171.75.64.141

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 168 added 26 lines
----
I did some optimizing work on the plugin. Download the [FortuneCookiePlugin_v2.6.4.jar].
Here are the changes:
* Changed the plugin package, the class is now {{{de.ldj.jspwiki.plugin.FortuneCookie}}}
* The sayings will be cached and only reloaded if the sayings page becomes modified. A count of sayings as first line is no longer required/used.
* Removed the usage of deprecated API. ''(I tested with JSPWiki v2.6.4 & JDK 1.6.0, but it should also work with later versions.)''
* Overall source cleanup. ''(see [FortuneCookie.java])''
These things are still the same:
* The plugin still uses the same one parameter to designate the sayings page\\{{{e.g. [{de.ldj.jspwiki.plugin.FortuneCookie page='FortuneCookies'}]}}}
* The sayings can be written as bulleted list (*), numbered list (#), separated by line breaks ({{{\\}}}) or as paragraphs. Even a mix is possible.
* Lines starting with '//' are considered as comment and will be ignored.
* Wiki markup can be used within the sayings.
One last hint: If you want to emphasize your fortune cookies, so they look cool try to put the plugin inside a ''weblogcomments'' style block.
{{{
%%weblogcomments
[{de.ldj.jspwiki.plugin.FortuneCookie page='FortuneCookies'}]
%%
}}}
--Maik Scheibler, 25-Sep-2008 04:52
Version Date Modified Size Author Changes ... Change note
28 25-Sep-2008 16:02 4.608 kB Maik Scheibler to previous
27 25-Sep-2008 15:41 4.606 kB Maik Scheibler to previous | to last
26 25-Sep-2008 14:00 7.717 kB Maik Scheibler to previous | to last
25 25-Sep-2008 12:45 7.025 kB Maik Scheibler to previous | to last
24 25-Sep-2008 04:58 7.031 kB Maik Scheibler to previous | to last
23 25-Sep-2008 04:52 6.75 kB Maik Scheibler to previous | to last
22 26-Sep-2007 23:21 5.456 kB JanneJalkanen to previous | to last
21 26-Sep-2007 02:18 5.478 kB 221.233.134.87 to previous | to last
« This page (revision-28) was last changed on 25-Sep-2008 16:02 by Maik Scheibler