org.ceryle.wiki.plugin
Class RecentNearChanges

java.lang.Object
  extended by org.ceryle.wiki.plugin.InterWikiPlugin
      extended by org.ceryle.wiki.plugin.RecentNearChanges
All Implemented Interfaces:
WikiPlugin

public class RecentNearChanges
extends InterWikiPlugin

This implements a RecentNearChanges feature using the InterWikiPlugin as its basis.

Parameters:

href='[URL]'
This is the interwiki link to the source wiki. The InterWiki value must be defined in the calling wiki's configuration. The Page value is ignored, but is generally recommended as the value "Main".
since='[int]'
An optional parameter used with the "recentChanges" command. When provided, only the changes from the number of days specified by the 'since' value are included in the result.
format='compact'
When this parameter is present and the command outputs a table, the generated table is smaller and does not include all fields.
timeformat='[format]'
When this parameter is present, the modification date is presented in this format, which should be a Java Date format suitable for displaying timestamps. The default is "HH:mm:ss".
dateformat='[dd:MM:yyyy]'
When this parameter is present, the modification date is presented in this format, which should be a Java Date format suitable for displaying dates. The default is "dd:MM:yyyy".

Values for the timeformat and dateformat parameters are specified using the syntax as described in SimpleDateFormat

Author:
Murray Altheim

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ceryle.wiki.plugin.InterWikiPlugin
InterWikiPlugin.PageRecord
 
Field Summary
 
Fields inherited from class org.ceryle.wiki.plugin.InterWikiPlugin
CLASS_XMLRPC, COMMAND_ALLPAGES, COMMAND_APPNAME, COMMAND_BASEURL, COMMAND_LISTLINKS, COMMAND_PAGE, COMMAND_PAGEHTML, COMMAND_PAGEINFO, COMMAND_RECENTCHANGES, COMMAND_TIMEZONE, COMMAND_VIEWURL, default_dateformat, DEFAULT_DAYS, DEFAULT_MODE, default_timeformat, KEY_AUTHOR, KEY_HREF, KEY_LASTMODIFIED, KEY_NAME, KEY_PAGE, KEY_TYPE, KEY_VERSION, linkBack, m_cellpadding, m_compact, m_debug, m_dfmt, m_engine, m_rem_tfmt, m_utc_tfmt, m_xmlrpcURL, MODE_ALLPAGES, MODE_APPNAME, MODE_BASEURL, MODE_LISTLINKS, MODE_PAGE, MODE_PAGEHTML, MODE_PAGEHTMLVERSION, MODE_PAGEINFO, MODE_PAGEINFOVERSION, MODE_PAGEVERSION, MODE_RECENTCHANGES, MODE_TIMEZONE, MODE_UNKNOWN, MODE_VIEWURL, pagenameMain, pagenameRecentChanges, PARAM_COMMAND, PARAM_DATE_FORMAT, PARAM_FORMAT, PARAM_HREF, PARAM_PAGE, PARAM_SINCE, PARAM_TIME_FORMAT, PARAM_VERSION, prohibitDirectCalls, reverseSort, showRemoteTime, wrapWikiText
 
Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin
CORE_PLUGINS_RESOURCEBUNDLE
 
Constructor Summary
RecentNearChanges()
           
 
Method Summary
 String execute(WikiContext context, Map params)
           
 
Methods inherited from class org.ceryle.wiki.plugin.InterWikiPlugin
error, getRemoteCalendar, getRemoteTimeZoneID, getViewURL, handleOutput, handleRecentChanges, isSameDay, processAllPages, processHashtable, processListLinks, processPageInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecentNearChanges

public RecentNearChanges()
Method Detail

execute

public String execute(WikiContext context,
                      Map params)
               throws PluginException
Specified by:
execute in interface WikiPlugin
Overrides:
execute in class InterWikiPlugin
Throws:
PluginException


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.