差分
このページの2つのバージョン間の差分を表示します。
| dokuwiki:ja:export [2006/11/11] – 作成 administrator | dokuwiki:ja:export [2022/03/12] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== ページのエクスポート ====== | ||
| + | Single wiki pages can be exported to different formats by adding an appropriate " | ||
| + | |||
| + | * '' | ||
| + | * Returns the pages' | ||
| + | * Example: http:// | ||
| + | * '' | ||
| + | * Returns the rendered page as simple XHTML without any navigational elements | ||
| + | * Example: http:// | ||
| + | * '' | ||
| + | * Returns the rendered XHTML of the page only. | ||
| + | * No head or body tags are added. No contenttype headers are sent. | ||
| + | * Useful to include the rendered output into some other website | ||
| + | * Example: http:// | ||
| + | |||
| + | You can specify the '' | ||
| + | |||
| + | For exporting other formats refer to the [[wiki: | ||
| + | |||
| + | //Is there a way to export only the __table of contents__? for the newsflash on ourhomepage (www.brooklynroadrunners.org) this would suffice, referring to the full news story. The programming has already been done, just a way to bring it up?// -- Geert | ||
| + | |||
| + | |||
| + | |||
| + | ===== Export multiple pages to HTML ===== | ||
| + | |||
| + | For exporting multiple pages or whole [[namespaces]] have a look at the [[http:// | ||
| + | |||
| + | > Unfortunatelly offline-doku does not handle plugin content correctly. Does anyone knows a solution for that? | ||
| + | >> Pavel' | ||
| + | < | ||
| + | $tokens = $parser-> | ||
| + | to | ||
| + | $fp = fopen($file, | ||
| + | $buffer = fread($fp, filesize($file)); | ||
| + | fclose($fp); | ||
| + | $tokens = $parser-> | ||
| + | |||
| + | Here's an example command line using [[http:// | ||
| + | |||
| + | < | ||
| + | pavuk -dont_leave_site -noRobots -index_name " | ||
| + | </ | ||
| + | |||
| + | Simply change the URL at the end of the command. | ||
| + | |||
| + | -> see also related page [[wiki: | ||