Creates a weblog archive. It essentially consists of a list that contains hyperlinks to different parts of the archive.
JSPWiki does not keep weblog archives as such, but they are all generated on-the-fly, dynamically.
The Weblog Archive Plugin does not generate entries for months that do not have a weblog entry.
Parameters#
- page = The page on which the weblog resides. If not defined, uses the current page.
Example#
__Archive:__\\ [{WeblogArchivePlugin}]
might generate something like this:
Archive:
2003 AD
January
February
March
About the generated HTML#
The list that is created is essentially an HTML ul -list. The generated HTML for the above example might look like this:
<div class="weblogarchive"> <ul> <li class="archiveyear">2003</li> <li><a href="...">January</a></li> <li><a href="...">February</a></li> <li><a href="...">March</a></li> </ul> </div>
The look-and-feel of what it actually looks like on the browser is achieved through the magic of Cascading Style Sheets (CSS).
If you wonder where the "AD" comes from, it's been defined in the style sheet file, as a cute example on how to use the :after -pseudoelement.
See also#
WeblogEntryPlugin, WeblogPlugin.
Back to JSPWikiPlugins.