Include the contents of external URLs and other Trac objects in a wiki page.
This macro lets you include various things.
Currently supported sources:
- HTTP - http: and https:
- FTP - ftp:
- Wiki pages - wiki:
- Repository files - source:
The default source is wiki if only a source path is given.
An optional second argument sets the output MIME type, though in most cases the default will be correct.
The three remote sources (http, https, and ftp) require INCLUDE_URL to be rendered.
Anyone can add a call to these, however they will not be shown. This is not a replacement for render_unsafe_content, see below.
If [wiki] render_unsafe_content is off (the default), any produced HTML will be sanitized.
This is a potential security risk! Please review the implications render_unsafe_content before using this feature.
To enable the plugin:
[components] includemacro.* = enabled
Include another wiki page:
Include a reStructuredText file from the repository:
If you set the svn:mime-type property on the file, you can leave off the explicit MIME type.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size TracIncludeMacro-2.1-py2.3.egg (12.5 kB)||File type Egg||Python version 2.3||Upload date||Hashes View hashes|
|Filename, size TracIncludeMacro-2.1-py2.4.egg (6.0 kB)||File type Egg||Python version 2.4||Upload date||Hashes View hashes|
|Filename, size TracIncludeMacro-2.1-py2.5.egg (6.0 kB)||File type Egg||Python version 2.5||Upload date||Hashes View hashes|
|Filename, size TracIncludeMacro-2.1.tar.gz (3.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|