The result of a wiki rendering: the main payload is, of course, the rendered content,
but we may during the course of the render want to collect more information like page
structure, or excerpts or so on, so this gives us a simple metadata facility.
listener that checks:
whether the user is using resin 3
and if so, if they have enabled the resin 3 web.xml (required to make Confluence work under this container)
Class that:
takes a map of resource bundles (keyed by locale) or single resource bundles
sorts them by locale
combines all bundles keyed by the same locale into one CombinedResourceBundle
and returns a list of CombinedResourceBundles in the correct locale order (most specific locales come first.
Extracts the "referring URL" from the request and
(a) adds it as a ReferralLink to the content if it doesn't exist
(b) increments the view count of that link if it already exists
Note: URL will not be added if it is longer than 255 char, is null or getUrlIndex != 0
Since we only store one font in the fonts folder, we can remove all fonts (and the associated metrics file and FOP configuration file used to register the font with FOP)