| 1 | = Include external resources in a wiki page. = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This macro lets you include things into wiki pages. |
| 6 | |
| 7 | Currently supported sources are: |
| 8 | * HTTP ''(http:)'' |
| 9 | * FTP ''(ftp:)'' |
| 10 | * Wiki pages ''(wiki:)'' |
| 11 | |
| 12 | An optional second argument lets you force the output MIME type to something specific, but most things should have sane defaults. |
| 13 | |
| 14 | |
| 15 | == Bugs/Feature Requests == |
| 16 | |
| 17 | Existing bugs and feature requests for IncludeMacro are |
| 18 | [report:9?COMPONENT=IncludeMacro here]. |
| 19 | |
| 20 | If you have any issues, create a |
| 21 | [http://trac-hacks.org/newticket?component=IncludeMacro&owner=coderanger new ticket]. |
| 22 | |
| 23 | == Download == |
| 24 | |
| 25 | Download the zipped source from [download:includemacro here]. |
| 26 | |
| 27 | == Source == |
| 28 | |
| 29 | You can check out IncludeMacro from [http://trac-hacks.org/svn/includemacro here] using Subversion, or [source:includemacro browse the source] with Trac. |
| 30 | |
| 31 | == Example == |
| 32 | |
| 33 | Include Google on a page: |
| 34 | {{{ |
| 35 | [[Include(http://www.google.com)]] |
| 36 | }}} |
| 37 | |
| 38 | Include a wiki-formatted file from the repository: |
| 39 | {{{ |
| 40 | [[Include(source:trunk/my_file.txt, text/x-trac-wiki)]] |
| 41 | }}} |
| 42 | |
| 43 | == Recent Changes == |
| 44 | |
| 45 | [[ChangeLog(includemacro, 3)]] |
| 46 | |
| 47 | == Author/Contributors == |
| 48 | |
| 49 | '''Author:''' [wiki:coderanger] [[BR]] |
| 50 | '''Contributors:''' |