wiki:IncludeMacro

Version 1 (modified by coderanger, 10 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 [download:includemacro 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

15552 by rjollos on 2016-05-16 17:09:23
3.0.0dev: Avoid AttributeError when resource not specified

Fixes #12778.

15121 by rjollos on 2015-12-14 05:18:47
3.0.0dev: Revise comment

Refs #12573.

15119 by rjollos on 2015-12-12 05:52:38
3.0.0dev: Trap NoSuchChangeset exceptions

Fixes #12573.

(more)

Author/Contributors

Author: coderanger
Contributors: