⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 weblogarchiveplugin.txt

📁 wiki建站资源 java编写的 很好用
💻 TXT
字号:
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|Main]\\
[February|Main]\\
[March|Main]

!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].

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -