DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:iframeinterwiki

iframeinterwiki Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin Allows external URLs to be loaded into an iframe in your DokuWiki page using interwiki uri

Last updated on
2023-10-05
Provides
Syntax
Repository
Source

Tagged with embed, iframe, include

Download and Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Manual Installation

To install the plugin manually, download the source to your plugin folder, lib/plugins and extract its contents. That will create a new plugin folder, lib/plugins/iframeinterwiki, and install the plugin.

The folder will contain:

conf/default.php                       default settings
conf/metadata.php                      settings information for the config plugin
lang/xx/lang.php                       language strings for config plugin
syntax.php                             plugin script

Syntax and Usage

Simple:

{{url>http://www.example.com/somepage.html}}

Complete Syntax:

{{url>someurl width,height noscroll noborder alignment|alternate-text}}

Using interwiki:

{{url>personalserver>test.html}}

with personnalserver was defined on interwiki.local.conf

Can use {NAME} or {URL} to replace the second part of interwiki uri by test.html here. URL is for url encoded parameter.

Configuration

The plugin has one configuration setting, which can be set via the admin/configuration settings page.

  • $js_ok — default value - false, set to true to enable JavaScript URLs.

:!: This should never be enabled in public wikis as it opens a XSS security hole.

Acknowledgments

The plugin base on the iframe plugin written by Christopher Smith.

plugin/iframeinterwiki.txt · Last modified: 2024-02-01 11:19 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki