Confluence 5.3 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The HTML Include macro allows you to include the contents of an external HTML file in a Confluence page.
警告: Web ページに不明な HTML を含めることは危険です。
HTML can contain active scripting components. This means that it would be possible for a malicious attacker to present a user of your site with script that their web browser would believe came from you. Such code could be used, for example, to steal a user's authentication cookie and give the attacker their Confluence login password.
HTML インクルード マクロを使用する
ページに HTML インクルード マクロを挿入する方法
- In the Confluence editor, choose Insert > Other Macros.
- Find and select the required macro.
オートコンプリートでマクロを素早く入力する方法
Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.
既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。
The information on this page does not apply to Confluence OnDemand.
パラメーター
パラメータは、マクロ出力の内容や形式を制御するために設定するオプションです。
パラメーター | 既定 | 説明 |
---|---|---|
HTML Page's URL | なし | インクルードするページの URL。 |
トラブルシューティング
- The HTML Include macro will only be available if it has been enabled by your Confluence administrator. Also, your Confluence Administrator can define a whitelist of trusted URLs. You will see an error message on the Confluence page if the included URL is not in the whitelist.
- You can only use the HTML Include macro for pages with absolute links. If you use the macro to include an HTML page that has relative links, navigating those links in the wiki results in a 'Page Not Found' error. See CONF-6567.
コードの例
参照先:
概要
コンテンツ ツール
アプリ