wiki:IncludeMacro

Version 1 (modified by coderanger, 8 years ago) (diff)

New hack IncludeMacro, created by coderanger

Include external resources in a wiki page.

Description

This macro lets you include things into wiki pages.

Currently supported sources are:

  • HTTP (http:)
  • FTP (ftp:)
  • Wiki pages (wiki:)

An optional second argument lets you force the output MIME type to something specific, but most things should have sane defaults.

Bugs/Feature Requests

Existing bugs and feature requests for IncludeMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out IncludeMacro from here using Subversion, or browse the source with Trac.

Example

Include Google on a page:

[[Include(http://www.google.com)]]

Include a wiki-formatted file from the repository:

[[Include(source:trunk/my_file.txt, text/x-trac-wiki)]]

Recent Changes

[14552] by rjollos on 2015-04-20 18:11:22
3.0.0dev: Return a system message when a node doesn't exist.

This avoids a traceback in the logs when the node doesn't exist. Fixes #12256.

[14551] by rjollos on 2015-04-20 17:46:13
3.0.0dev: Reverse merge of [14438]. Refs #12238.

The changes will be improved on the ticket-12238 branch before being merged back to the trunk.

[14550] by rjollos on 2015-04-20 17:43:04
3.0.0dev: Moving ticket #12238 work to a branch for staging. Refs #12238.

Author/Contributors

Author: coderanger
Contributors: