wiki:syntax
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| wiki:syntax [2023/07/06 06:12] – [RSS/ATOM Feed Aggregation] ob | wiki:syntax [2025/10/11 02:55] (当前版本) – 外部编辑 127.0.0.1 | ||
|---|---|---|---|
| 行 441: | 行 441: | ||
| - | ===== 嵌入 HTML 和 PHP ===== | + | ===== 嵌入 HTML和PHP |
| 通过使用 '' | 通过使用 '' | ||
| 行 492: | 行 492: | ||
| ===== RSS/ | ===== RSS/ | ||
| - | [[DokuWiki]] 以集成来自外部XML源的数据。为了解析 XML 源,使用了[[http:// | + | [[DokuWiki]] 以集成来自外部XML源的数据。为了解析XML源,使用了[[http:// |
| - | ^ Parameter | + | ^ 参数 |
| - | | any number | will be used as maximum number items to show, defaults to 8 | | + | | any number | 将用作要显示的最大项目数,默认为 |
| - | | reverse | + | | reverse |
| - | | author | + | | author |
| - | | date | + | | date |
| - | | description| | + | | description| |
| - | | nosort | + | | nosort |
| - | | //n//[dhm] | refresh period, where d=days, h=hours, | + | | //n//[dhm] | 刷新周期,其中 |
| - | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. | + | 刷新周期默认为 |
| + | 默认情况下,Feed 将按日期排序,最新项目排在最前面。 你可以使用'' | ||
| - | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | **例子:** |
| - | + | ||
| - | **Example:** | + | |
| {{rss> | {{rss> | ||
| 行 514: | 行 513: | ||
| - | ===== 宏 ===== | + | ===== 控制宏 ===== |
| 部分宏可以影响 DokuWiki 在页面中的渲染。例如: | 部分宏可以影响 DokuWiki 在页面中的渲染。例如: | ||
| - | ^ Macro ^ Description | + | ^ 宏 ^ 描述 |
| | %%~~NOTOC~~%% | | %%~~NOTOC~~%% | ||
| | %%~~NOCACHE~~%% | 默认 DokuWiki 会缓存所有的页面输出。但有时候你可能并不想要这个特性(例如使用了%%< | | %%~~NOCACHE~~%% | 默认 DokuWiki 会缓存所有的页面输出。但有时候你可能并不想要这个特性(例如使用了%%< | ||
wiki/syntax.1688623978.txt · 最后更改: 2025/10/11 02:55 (外部编辑)
