Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tracincludemacro

How to install TracIncludeMacro

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tracincludemacro
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2.1 Available View build log
Windows (64-bit)
2.1 Available View build log
Mac OS X (10.5+)
2.1 Available View build log
Linux (32-bit)
2.1 Available View build log
Linux (64-bit)
2.1 Available View build log
 
License
BSD
Dependencies
Depended by
Imports
Lastest release
version 2.1 on Jan 5th, 2011

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.

warn:This is a potential security risk! Please review the implications

System Message: WARNING/2 (<string>, line 34)

Field list ends without a blank line; unexpected unindent.

render_unsafe_content before using this feature.

To enable the plugin:

[components]

System Message: ERROR/3 (<string>, line 39)

Inconsistent literal block quoting.

includemacro.* = enabled

Example

Include another wiki page:

[[Include(PageName)]]

Include a reStructuredText file from the repository:

[[Include(source:trunk/docs/README, text/x-rst)]]
tip:If you set the svn:mime-type property on the file, you can

System Message: WARNING/2 (<string>, line 55)

Field list ends without a blank line; unexpected unindent.

leave off the explicit MIME type.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.