b r a y d e n . o r g / TWiki

/ IncludeTopicsAndWebPages

This Web


WebHome  
Topic List  
Web Statistics 

All Webs


Books
Main
Random
Software
TWiki  

brayden.org


Home
Monthly Digest
Today's Links
Resumé
Reading List
Books RSS
Random RSS
Software RSS

Other


Dale's Blog

currently-reading
TextDrive
Include Topics and Web Pages Using %INCLUDE{...}% Variable

Use the %INCLUDE{...}% variable to embed the content of another topic or web page inside a TWiki topic. The whole content or only parts of a page can be included.

Syntax

%INCLUDE{"page" pattern="reg-exp"}%

Note: All text of a topic is included unless you specify %STARTINCLUDE%, %STOPINCLUDE% and/or a pattern parameter.

Usage Examples

1. Display regression test results in a TWiki page

  <pre>
  %INCLUDEURL{"http://domain/~qa/v1.1/REDTest.log.txt"}%
  </pre>

2. Display Yahoo's robot.txt file

User-agent: *
Disallow: /p/
Disallow: /r/
Disallow: /*?

3. Display the SUNW stock quote in a TWiki page

4. Display the temperature in San Francisco

See also other TWikiVariables.

-- PeterThoeny? - 25 Jun 2001

 
 
Current Rev: r1.1 - 16 Sep 2005 - 00:45 GMT - TWikiGuest, Revision History:Diffs | r1.1
© 2003-2011 by the contributing authors.