Include the contents of external URLs and other Trac objects in a wiki page.
Project description
Notes
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.
Permissions
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.
Configuration
If [wiki] render_unsafe_content is off (the default), any produced HTML will be sanitized.
To enable the plugin:
[components] includemacro.* = enabled
Example
Include another wiki page:
[[Include(PageName)]]
Include a reStructuredText file from the repository:
[[Include(source:trunk/docs/README, text/x-rst)]]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file TracIncludeMacro-2.1.tar.gz
.
File metadata
- Download URL: TracIncludeMacro-2.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 055470372955816abf9931fe6edb7fb822c6d5a974cada3266400dcd796ae82b |
|
MD5 | d64b76065b667718c9f255333ce3cb76 |
|
BLAKE2b-256 | 5694f7fbab4fc50c5ec0ec368b7800634150482779eb7372e2a976ba40afa0ee |
File details
Details for the file TracIncludeMacro-2.1-py2.5.egg
.
File metadata
- Download URL: TracIncludeMacro-2.1-py2.5.egg
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccb4a3856b7de73e82aa75aa645697dee87339f10c33ce672a1dc3f5935f021 |
|
MD5 | 056f60e08014f07096ef7683fee1416d |
|
BLAKE2b-256 | 266baf9de9ee1c4200954f95e3427072e2f54818da530b098385cc3e3348c01b |
File details
Details for the file TracIncludeMacro-2.1-py2.4.egg
.
File metadata
- Download URL: TracIncludeMacro-2.1-py2.4.egg
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1879f6d539b688938e77c087b85c68c0da70e7ece5ec6e408438657014870f48 |
|
MD5 | e804d78b6a1155a59b387039c75caa5b |
|
BLAKE2b-256 | dd028250463854079901ca2ee507466e544acd815500215c7b28b81e9028ab3e |
File details
Details for the file TracIncludeMacro-2.1-py2.3.egg
.
File metadata
- Download URL: TracIncludeMacro-2.1-py2.3.egg
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96fe12531fc272fdade9721ed0cd61f3e90781c5166b52651a91b264ec588a1c |
|
MD5 | c538723bf3263b2dc325e195bba0386b |
|
BLAKE2b-256 | e6d36d7d049f095762ecb8ec069a9df68cc31dd9cd1d9412faf762b2692e38a4 |