History: Pluginincludeurl
Preview of version: 9 (current)
- «
- »
Plugin IncludeURL
Use this wiki plugin to include the body content from a URL into a page, server-side.
Related Plugins: PluginIframe, PluginAJAXLoad, PluginInclude and PluginSnarf.
Parameters
Include the body content from a URLIntroduced in Tiki 15. Required parameters are in
bold
.Go to the source code
Preferences required: wikiplugin_includeurl
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
url |
url | URL to external file to include. | 15.0 |
Example usage of a full page
This code:
Copy to clipboard
{includeurl url="https://doc.tiki.org/Included+page+test"}
Would include the content of https://doc.tiki.org/Included+page+test in the current page. Since including a full page can produce unexpected results, it's likely better to use the strategy below.
Example to fetch just the center of a Tiki Wiki page
For:
Copy to clipboard
{includeurl url="https://doc.tiki.org/tiki-index_p.php?page=Included+page+test"}
Please see: An example of a page including the content of another page