|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ecyrd.jspwiki.rss.RSSGenerator
Generates an RSS feed from the recent changes.
We use the 1.0 spec, including the wiki-specific extensions. Wiki extensions have been defined in UseMod:ModWiki.
| Field Summary | |
static java.lang.String |
PROP_CHANNEL_DESCRIPTION
Defines the property name for the RSS channel description. |
static java.lang.String |
PROP_CHANNEL_LANGUAGE
Defines the property name for the RSS channel language. |
static java.lang.String |
PROP_GENERATE_RSS
Defines the property name for the RSS generator main switch. |
static java.lang.String |
PROP_INTERVAL
Defines the property name for the RSS generation interval in seconds. |
static java.lang.String |
PROP_RSSFILE
Defines the property name for the RSS file that the wiki should generate. |
| Constructor Summary | |
RSSGenerator(WikiEngine engine,
java.util.Properties properties)
Initialize the RSS generator. |
|
| Method Summary | |
static java.lang.String |
format(java.lang.String s)
Does the required formatting and entity replacement for XML. |
java.lang.String |
generate()
Generates the RSS resource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PROP_CHANNEL_DESCRIPTION
public static final java.lang.String PROP_CHANNEL_LANGUAGE
public static final java.lang.String PROP_GENERATE_RSS
public static final java.lang.String PROP_RSSFILE
public static final java.lang.String PROP_INTERVAL
| Constructor Detail |
public RSSGenerator(WikiEngine engine,
java.util.Properties properties)
throws NoRequiredPropertyException
| Method Detail |
public static java.lang.String format(java.lang.String s)
public java.lang.String generate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||