= 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:'' * Repository files - ''source:'' An optional second argument lets you force the output MIME type to something specific, but most things should have sane defaults. For URL includes (HTTP and FTP) you need the permission `INCLUDE_URL`. For other internal resources you need the normal Trac permission to access it. == Bugs/Feature Requests == Existing bugs and feature requests for IncludeMacro are [report:9?COMPONENT=IncludeMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=IncludeMacro&owner=coderanger new ticket]. == Download == Download the zipped source from [download:includemacro here]. == Source == You can check out IncludeMacro from [http://trac-hacks.org/svn/includemacro here] using Subversion, or [source:includemacro 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 == [[ChangeLog(includemacro, 3)]] == Author/Contributors == '''Author:''' [wiki:coderanger] [[BR]] '''Contributors:'''