| org.jamwiki.servlets.RecentChangesFeedServlet
RecentChangesFeedServlet | public class RecentChangesFeedServlet extends AbstractController (Code) | | Provides an RSS or Atom feed for recent changes.
Feed generation can be influenced through following request parameters:
author: Rainer Schmitz since: 22.12.2006 |
setDefaultFeedType | public void setDefaultFeedType(String defaultFeedType)(Code) | | Sets the default feed type.
Valid values are rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0,
atom_0.3, and atom_1.0.
This value is used if no feed type is given in the request (parameter
'feedType'). Default is rss_2.0.
Parameters: defaultFeedType - The defaultFeedType to set. |
setDefaultIncludeMinorEdits | public void setDefaultIncludeMinorEdits(boolean includeMinorEdits)(Code) | | Sets whether minor edits are included in generated feed.
This value can be overriden by the request parameter 'minorEdits'.
Default is false.
Parameters: includeMinorEdits - true if minor edits shall be included in feed. |
setDefaultLinkToVersion | public void setDefaultLinkToVersion(boolean linkToVersion)(Code) | | Prefix to use in feed and feed entry links.
This is useful in portal environments to prefix the feed URL with the portal URL.
Parameters: linkToVersion - true if link should point to edited version. |
setFeedUrlPrefix | public void setFeedUrlPrefix(String feedUrlPrefix)(Code) | | Sets whether feed entry link should link to the changed or to the current
version of the changed entry.
This value can be overriden by the request parameter 'linkToVersion'.
Default is false.
Parameters: feedUrlPrefix - feed URL prefix to set; may not be null. |
|
|