At line 1 changed 199 lines. |
Since v1.6.3 you can now define your own plugins. These are just |
simply Java classes that implement the |
''com.ecyrd.jspwiki.plugin.WikiPlugin'' interface and can be found from |
somewhere in your class path. The plugins work so that when you write |
a special code on the Wiki page, the plugins are invoked and their |
output is inserted into the page, verbatim. |
|
The form is: |
|
[[{INSERT <plugin class> WHERE <param1=value1>,<param2=value2>,...}] |
|
You can also use a shortcut: instead of using {{[[{INSERT com.ecyrd.jspwiki.plugin.RecentChangesPlugin}} you can also use {{[[{INSERT RecentChangesPlugin}]}}. This works only with the plugins that come with JSPWiki, though. |
|
In addition, you can now (since 1.9.30) omit even the "INSERT", so the shortest possible version for plugins becomes: |
|
[[{CurrentTimePlugin}] |
|
If a parameter contains spaces, you can use single quotes (') around the parameter. Like this: |
|
[[{INSERT CurrentTimePlugin format='dd MM yyyy'}] |
|
Here are some sample plugins included in the archive: |
|
---- |
|
!!RecentChangesPlugin |
|
Inserts the latest changes in order. |
|
!Parameters: |
* __since__=''n'' : show changes from the last n days. |
* __format__=''(full|compact)'' : if "full", then display a long |
version with all possible info. If "compact", then be as compact as possible. |
|
!Example: |
{{{ |
[{INSERT RecentChangesPlugin since=5, format=compact}] |
}}} |
|
Inserts the changes from the past 5 days in a compact format. You |
might use this to make an automatical list of changes to the [LeftMenu], or [LeftMenuFooter], for example. |
|
---- |
|
!!UnusedPagesPlugin |
|
Lists all pages that are not currently referred to by any other page, thus meaning they are inaccessible through any other means. |
|
!Parameters |
|
* __maxwidth__=''n'' : Limits the length of the generated links to at most ''n'' characters. This should used to keep the [LeftMenu] or [LeftMenuFooter] at a manageable width. Default is to not limit the length at all. |
|
|
!Example: |
|
See [UnusedPages]. |
|
---- |
|
!!UndefinedPagesPlugin |
|
Lists all pages that are referred to, but not yet created. |
|
!Parameters |
|
* __maxwidth__=''n'' : Limits the length of the generated links to at most ''n'' characters. This should used to keep the [LeftMenu] or [LeftMenuFooter] at a manageable width. Default is to not limit the length at all. |
|
!Example: |
|
See [UndefinedPages]. |
|
---- |
|
|
!!ReferringPagesPlugin |
|
Finds and lists all pages that refer to the current page. |
|
!Parameters |
|
* __max__=''n'' : How many pages to list. Default is 10. Some pages might create very long lists, so it's a good idea to limit the list size. |
* __maxwidth__=''n'' : Limits the length of the generated links to at most ''n'' characters. This should used to keep the [LeftMenu] or [LeftMenuFooter] at a manageable width. Default is to not limit the length at all. |
|
!Example |
|
See [LeftMenuFooter]. |
|
---- |
|
!!CurrentTimePlugin |
|
Just displays the current server time. |
|
!Parameters |
|
* __format__=''format string'' : How the date and time should be formatted. If you omit this, a default format will be used. The following characters are available to you: |
|
{{{ |
Symbol Meaning Presentation Example |
------ ------- ------------ ------- |
G era designator (Text) AD |
y year (Number) 1996 |
M month in year (Text & Number) July & 07 |
d day in month (Number) 10 |
h hour in am/pm (1~12) (Number) 12 |
H hour in day (0~23) (Number) 0 |
m minute in hour (Number) 30 |
s second in minute (Number) 55 |
S millisecond (Number) 978 |
E day in week (Text) Tuesday |
D day in year (Number) 189 |
F day of week in month (Number) 2 (2nd Wed in July) |
w week in year (Number) 27 |
W week in month (Number) 2 |
a am/pm marker (Text) PM |
k hour in day (1~24) (Number) 24 |
K hour in am/pm (0~11) (Number) 0 |
z time zone (Text) Pacific Standard Time |
\' escape for text (Delimiter) |
\'' single quote (Literal) ' |
}}} |
|
For example, two 'y':s give you the year using two digits. Four 'y':s give you the year in four digits. Three 'M':s give you the month in letters, whereas two 'M':s give just the month number. |
|
(Yes, these are exactly the Java [SimpleDateFormat|http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html] arguments. Sorry for copying them in.) |
|
!Example |
|
Using [[{INSERT CurrentTimePlugin format='yyyy.MM.dd G \'at\' hh:mm:ss z'}] would give you: |
|
[{INSERT CurrentTimePlugin format='yyyy.MM.dd G \'at\' hh:mm:ss z'}] |
|
---- |
|
!!IndexPlugin |
|
Displays all of the pages in this Wiki in alphabetical order. IndexPlugin has been contributed by AlainRavet. |
|
!Parameters |
* __itemsPerLine__ = ''n''. Break every 'n' items on line. |
|
!Example |
|
See [PageIndex]. |
|
---- |
|
!!Counter |
|
A simple counter that starts counting at 1 at the top of the page, and each time it is invoked, will increase its value by one. These counters are transient, and relative to the current page view only - i.e. two persons viewing the same page at the same time get their own counters. |
|
The current counter value is accessible also as a [WikiVariable]. The name of the variable is "counter", or "counter-<name>", if you have defined a counter name. |
|
!Parameters |
|
* __name__ = ''counter name''. You may define as many counters per page as you want; you just need to separate them with the ''counter name'' |
|
!Example |
|
[[{Counter}], [[{Counter}], [[{Counter}], [[{Counter name='aa'}] produces |
|
[{Counter}], [{Counter}], [{Counter}], [{Counter name='aa'}]. |
|
The value of "counter" at the end is [{$counter}] and the value of "counter-aa" is [{$counter-aa}]. |
|
---- |
|
!!Image |
|
The Image plugin allows one to have finer control over the layout of images than just the simple inling of images. |
|
!Parameters |
|
* __src__ = ''Image source''. This can either be a full URL (http://...) or a [WikiAttachment] name. Required. |
* __align__ = ''left|right|center''. The image alignment. |
* __height__ = ''integer''. Force the height of the image. |
* __width__ = ''integer''. Force the width of the image. |
* __alt__ = ''alt text''. The alt text of an image. This is very useful when doing pages that can be navigated w |
ith text-only browsers. |
* __caption__ = ''caption text''. The text that should be shown as a caption under the image. |
* __link__ = ''hyperlink''. A hyperlink (http://...). In the future, you can also use [WikiPages]. |
* __border__ = ''integer''. Size of the image border. |
* __style__ = ''style info''. Any style markup you would like to apply to the table surrounding the image. |
* __class__ = ''class name''. Redefine the default class for this |
image, which is "imageplugin". |
|
!Example |
|
[[{Image src='SandBox/test.png' caption='Testing image' style='font-size: 120%; color: green;'}]. |
|
Shows the attachment SandBox/test.png with the caption "Testing image" underneath it. The text is 120% in height a |
nd will be rendered in green color. |
|
!CSS |
|
* {{.imageplugin}} = The table that encompasses the image. It consists of two undercategories: |
** {{img}} = The IMG tag that gets embedded. |
** {{caption}} = The caption that is embedded. |
|
[googleÅÅÃû|http://www.yourgoogle.com] |
[google×ó²àÅÅÃû|http://www.yourgoogle.com/google-list/google-list.htm ] |
[ÍøÕ¾½¨Éè|http://www.yourgoogle.com/webdesign/webdesign-1.htm] |
[googleÍƹã|http://googlesz.freewebpage.org] |
[googleÅÅÃû|http://googlegd.freewebpage.org] |
[ inflatables|http://www.inflatables-china.com] |
[Îå½ð¹¤¾ß|http://www.swellongtools.com] |
[ÄÉÃ×|http://nami8.freewebpage.org] |
[ÍøÂçÓªÏú|http://www.tlup.com] |
[ÏîÄ¿ºÏ×÷|http://www.tlup.com] |
[ÍøÂçÉãÏñ»ú|http://www.sfcomm.com] |
[ÍøÂçÉãÏñ»ú|http://swellong.freewebpage.org] |
[ÏÊ»¨|http://www.flowerwish.com] |
[ÍøÉÏ»¨µê|http://www.flowerwish.com] |
[ɽÌØ|http://www.flowerwish.com/ups] |
[ɽÌØupsµçÔ´|http://www.flowerwish.com/ups] |
[APCµçÔ´|http://www.flowerwish.com/ups] |
[ɽÌصçÔ´|http://www.flowerwish.com/ups] |
[²£Á§|http://glasses.freewebpage.org ] |
[ÍøÂ綩»¨|http://www.FLOWERWISH.com/events/fwa.asp] |
[ÍøÂ绨µê|http://www.FLOWERWISH.com/events/fwb.asp] |
[ÍøÂçËÍ»¨|http://www.FLOWERWISH.com/events/fwc.asp] |
[Á¬Ëø»¨µê|http://www.FLOWERWISH.com/events/fwd.asp] |
[»¨µê|http://www.FLOWERWISH.com/events/fwe.asp] |
[ÍøÉÏÏÊ»¨|http://www.FLOWERWISH.com/events/fwf.asp] |
[ÏÊ»¨µê|http://www.FLOWERWISH.com/events/fwg.asp] |
[Âò»¨|http://www.FLOWERWISH.com/events/fwh.asp] |
[꿃즩Ȭ|http://www.FLOWERWISH.com/events/fwi.asp] |
[ÍøÉÏ»¨µê|http://www.FLOWERWISH.com/events/fwj.asp] |
[ÍøÉÏÀñÆ·|http://www.FLOWERWISH.com/events/fwk.asp] |
[ÍøÉÏÂò»¨|http://www.FLOWERWISH.com/events/fwl.asp] |
[ÍøÉÏËÍ»¨|http://www.FLOWERWISH.com/events/fwm.asp] |
[ÍøÉÏ»¨µê|http://www.FLOWERWISH.com/events/fwn.asp] |
[ÍøÉÏÏÊ»¨ËÙµÝ|http://www.FLOWERWISH.com/events/fwo.asp] |
[ÏÊ»¨ËÙµÝ|http://www.FLOWERWISH.com/events/fwp.asp] |
[ÏÊ»¨ÅäËÍ|http://www.FLOWERWISH.com/events/fwq.asp] |
[ÏÊ»¨¿ìµÝ|http://www.FLOWERWISH.com/events/fwr.asp] |
[ÏÊ»¨Íø|http://www.FLOWERWISH.com/events/fws.asp] |
[ÉúÈÕÏÊ»¨|http://www.FLOWERWISH.com/events/fwt.asp] |
[ÀñÒÇÏÊ»¨|http://www.FLOWERWISH.com/events/fwu.asp] |
[°®ÇéÏÊ»¨|http://www.FLOWERWISH.com/events/fwv.asp] |
[¶©»¨|http://www.FLOWERWISH.com/events/fww.asp] |
[¹ú¼ÊËÍ»¨|http://www.FLOWERWISH.com/events/fwx.asp] |
[ÏÊ»¨ÀñÆ·Íø|http://www.FLOWERWISH.com/events/fwy.asp] |
[ÏÊ»¨ÀñÆ·µê|http://www.FLOWERWISH.com/events/fwz.asp] |
[ÇéÈ˽ÚÏÊ»¨|http://www.flowerwish.com/events/f1.asp] |
[ÇéÈ˽Úõ¹å|http://www.flowerwish.com/events/f2.asp] |
[ĸÇ×½ÚÏÊ»¨|http://www.flowerwish.com/events/f3.asp] |
[¸¸Ç×½ÚÏÊ»¨|http://www.flowerwish.com/events/f4.asp] |
[ÆßϦÏÊ»¨|http://www.flowerwish.com/events/f5.asp] |
[½Ìʦ½ÚÏÊ»¨|http://www.flowerwish.com/events/f7.asp] |
[Ê¥µ®½ÚÏÊ»¨|http://www.flowerwish.com/events/f8.asp] |
[±±¾©ÏÊ»¨|http://www.flowerwish.com/city/1a.asp] |
[Ìì½òÏÊ»¨|http://www.flowerwish.com/city/2a.asp] |
[ÉϺ£ÏÊ»¨|http://www.flowerwish.com/city/3a.asp] |
[ÖØÇìÏÊ»¨|http://www.flowerwish.com/city/4a.asp] |
[ʯ¼ÒׯÏÊ»¨|http://www.flowerwish.com/city/5a.asp] |
[Ö£ÖÝÏÊ»¨|http://www.flowerwish.com/city/6a.asp] |
[ÉòÑôÏÊ»¨|http://www.flowerwish.com/city/7a.asp] |
[³¤´ºÏÊ»¨|http://www.flowerwish.com/city/8a.asp] |
[¹þ¶û±õÏÊ»¨|http://www.flowerwish.com/city/9a.asp] |
[³É¶¼ÏÊ»¨|http://www.flowerwish.com/city/10a.asp] |
[ºôºÍºÆÌØÏÊ»¨|http://www.flowerwish.com/city/11a.asp] |
[¸£ÖÝÏÊ»¨|http://www.flowerwish.com/city/12a.asp] |
[Ì«ÔÏÊ»¨|http://www.flowerwish.com/city/13a.asp] |
[º£¿ÚÏÊ»¨|http://www.flowerwish.com/city/14a.asp] |
[ÎÚ³ľÆëÏÊ»¨|http://www.flowerwish.com/city/15a.asp] |
[Òø´¨ÏÊ»¨|http://www.flowerwish.com/city/16a.asp] |
[À¼ÖÝÏÊ»¨|http://www.flowerwish.com/city/17a.asp] |
[Î÷°²ÏÊ»¨|http://www.flowerwish.com/city/18a.asp] |
[À¥Ã÷ÏÊ»¨|http://www.flowerwish.com/city/19a.asp] |
[¹óÑôÏÊ»¨|http://www.flowerwish.com/city/20a.asp] |
[ÄϲýÏÊ»¨|http://www.flowerwish.com/city/21a.asp] |
[ÄÏÄþÏÊ»¨|http://www.flowerwish.com/city/22a.asp] |
[¹ãÖÝÏÊ»¨|http://www.flowerwish.com/city/23a.asp] |
[³¤É³ÏÊ»¨|http://www.flowerwish.com/city/24a.asp] |
[Î人ÏÊ»¨|http://www.flowerwish.com/city/25a.asp] |
[º¼ÖÝÏÊ»¨|http://www.flowerwish.com/city/26a.asp] |
[¼ÃÄÏÏÊ»¨|http://www.flowerwish.com/city/27a.asp] |
[¹ÜÀí×ÊÁÏ|http://www.blueattain.com] |
[ KVM|http://www.szsuun.com] |
[KVM|http://www.szsuun.com/htm/kvm/kvm1.htm] |
[triisopropanolamine|http://www.hongbaoli.com/eng/prod_tipa.htm] |
[µÆÊÎ|http://www.flowerwish.com/dengshi] |
[ÖÐɽµÆÊÎ|http://www.flowerwish.com/dengshi] |
[µÆ¾ß|http://www.flowerwish.com/dengshi ] |
[»·±£¼¼Êõ|http://www.flowerwish.com/huanbao] |
[Ë®´¦Àí|http://www.flowerwish.com/huanbao] |
[¼ÒÕþ|http://www.flowerwish.com/jiazheng] |
[±£Ä·|http://www.flowerwish.com/jiazheng] |
[Öӵ㹤|http://www.flowerwish.com/jiazheng] |
[¿ì²Í|http://www.flowerwish.com/kuaican] |
[ÉîÛÚ¿ì²Í|http://www.flowerwish.com/kuaican] |
[ÉîÛÚ¶©²Í|http://www.flowerwish.com/kuaican] |
[×â³µ|http://www.flowerwish.com/zuche] |
[ÉîÛÚ×â³µ|http://www.flowerwish.com/zuche] |
[Æû³µ×âÁÞ|http://www.flowerwish.com/zuche] |
[ÎïÒµ¹ÜÀí|http://www.tlup.com/wuye] |
[Çå½à|http://www.tlup.com/wuye] |
[±£°²|http://www.tlup.com/wuye] |
[¿ìµÝ|http://www.tlup.com/ups] |
[ KVM|http://kvmkvm.freewebpage.org] |
[ÆóÒµ¹ÜÀí|http://filesdown.freewebpage.org] |
[¹ÜÀíÅàѵ|http://filesdown.freewebpage.org] |
[µçÄÔÅä¼þ|http://hardware.freewebpage.org] |
[µçÄÔÓ²¼þ|http://hardware.freewebpage.org] |
[Ä£¾ß|http://moju.freewebpage.org] |
[Ä£¾ß¼Ó¹¤|http://moju.freewebpage.org] |
[×¢ËÜÄ£¾ß|http://moju.freewebpage.org] |
[ÁÔÍ·|http://humenhunter.freewebpage.org] |
[ pyrethrum|http://pyrethum.freewebpage.org ] |
[ÉãÏñ»ú|http://xiangji.freewebpage.org] |
[ÊýÂëÉãÏñ»ú|http://xiangji.freewebpage.org] |
[ÎÛË®´¦Àí|http://wushui.freewebpage.org] |
[À¬»ø´¦Àí|http://szwuye.freewebpage.org] |
[Èó»¬ÓÍ|http://runhuayou.freewebpage.org] |
[Îå½ð¹¤¾ß|http://chaiyou.freewebpage.org] |
[¿ª¹ØµçÔ´|http://kaiguan.freewebpage.org] |
[Äæ±äµçÔ´|http://kaiguan.freewebpage.org] |
[Ñõ»¯Ã¾|http://yanghuamei.freewebpage.org] |
[magnesia|http://magnesia.freewebpage.org] |
[magnesium oxide|http://magnesium.freewebpage.org] |
[electric magnesium oxide|http://magnesium.freewebpage.org] |
[mica tape|http://www.ktyu.com] |
[fiber glass yarn|http://www.ktyu.com] |
[ EDM|http://www.edmcocn.com] |
[ÆóÒµÃû¼|http://www.yourgoogle.com/company-card-index/companyindex.htm] |
[ÃŽû|http://www.flowerwish.com/menjin] |
[ÃŽûϵͳ|http://www.flowerwish.com/menjin] |
[¿¼ÇÚ|http://www.flowerwish.com/kaoqin] |
[¿¼ÇÚ»ú|http://www.flowerwish.com/kaoqin] |
[¿¼ÇÚϵͳ|http://www.flowerwish.com/kaoqin] |
[ÊÕ·Ñ»ú|http://www.flowerwish.com/shoufei] |
[Ïû·Ñ»ú|http://www.flowerwish.com/shoufei] |
[Í£³µ³¡ÏµÍ³|http://www.flowerwish.com/tingchechang] |
[ÖÇÄÜÍ£³µ³¡|http://www.flowerwish.com/tingchechang] |
[Í£³µ³¡|http://www.flowerwish.com/shoufei] |
[ºìõ¹å|http://www.flowerwish.com/others/xianhua/rose1.asp] |
[»Æõ¹å|http://www.flowerwish.com/others/xianhua/rose1.asp] |
[·Ûõ¹å|http://www.flowerwish.com/others/xianhua/rose1.asp] |
[°×õ¹å|http://www.flowerwish.com/others/xianhua/rose1.asp] |
[õ¹å|http://www.flowerwish.com/others/xianhua/rose2.asp] |
[°ÙºÏ|http://www.flowerwish.com/others/xianhua/baihe1.asp] |
[Óô½ðÏã|http://www.flowerwish.com/others/xianhua/yujinxiang1.asp] |
[°ÙºÏ|http://www.flowerwish.com/others/zhishi/baihecs.asp] |
[²¢µÙÁ«|http://www.flowerwish.com/others/zhishi/bingdiliancs.asp] |
[Ë®ÏÉ|http://www.flowerwish.com/others/zhishi/shuixiancs.asp] |
[ĵµ¤|http://www.flowerwish.com/others/zhishi/mudancs.asp] |
[ÜÔÀò»¨|http://www.flowerwish.com/others/zhishi/molihuacs.asp] |
[²å»¨|http://www.flowerwish.com/others/zhishi/chahua.asp] |
[»¨»Ü±£ÏÊ|http://www.flowerwish.com/others/zhishi/xianhuabaoxian.asp] |
[ÏÊ»¨±£ÏÊ|http://www.flowerwish.com/others/zhishi/xianhuabaoxian.asp] |
[ɽ²è»¨|http://www.flowerwish.com/others/zhishi/shanchahuacs.asp] |
[Ç黨|http://www.flowerwish.com/others/jieri/qinghua.asp] |
[¸¸Ç×½ÚËÍ»¨|http://www.flowerwish.com/others/jieri/fuqinjie.asp] |
[ĸÇ×½ÚËÍ»¨|http://www.flowerwish.com/others/jieri/muqinjie.asp] |
[½Ìʦ½ÚËÍ»¨|http://www.flowerwish.com/others/jieri/jiaoshijie.asp] |
[ÇéÈ˽ÚÀ´Àú|http://www.flowerwish.com/others/jieri/qingrenjie.asp] |
[ÇéÈ˽ÚÏÊ»¨|http://www.flowerwish.com/others/jieri/qingrenjie.asp] |
[Ê¥µ®½ÚËÍ»¨|http://www.flowerwish.com/others/jieri/shengdanjie.asp] |
[ÖйúÇéÈ˽Ú|http://www.flowerwish.com/others/jieri/qingrenjiecn.asp] |
[ÆßϦËÍ»¨|http://www.flowerwish.com/others/jieri/qingrenjiecn.asp] |
[ÈçºÎËÍ»¨|http://www.flowerwish.com/others/shijian/songhualiyi.asp] |
[ËÍ»¨µÄѧÎÊ|http://www.flowerwish.com/others/shijian/songhualiyi.asp] |
[ºÏ·ÊÏÊ»¨|http://www.flowerwish.com/city/28a.asp] |
[ÄϾ©ÏÊ»¨|http://www.flowerwish.com/city/29a.asp] |
[Î÷ÄþÏÊ»¨|http://www.flowerwish.com/city/30a.asp] |
[ÀÈøÏÊ»¨|http://www.flowerwish.com/city/31a.asp] |
[Ïã¸ÛÏÊ»¨|http://www.flowerwish.com/city/32.asp] |
[̨ÍåÏÊ»¨|http://www.flowerwish.com/city/33.asp] |