X-Git-Url: https://git.openafs.org/?p=openafs-wiki.git;a=blobdiff_plain;f=TWiki%2FIncludeTopicsAndWebPages.mdwn;h=8b96732007d913b01e4bb819829d2a4aca82aed6;hp=7a4eba4164c881ddefc55a3ef9317dd6ba16f9cc;hb=165cf333db8ce6374c2f67389ccad3bec8459e11;hpb=efc7061634b75bfe094cc7bb63c38b6715c8bd21 diff --git a/TWiki/IncludeTopicsAndWebPages.mdwn b/TWiki/IncludeTopicsAndWebPages.mdwn index 7a4eba4..8b96732 100644 --- a/TWiki/IncludeTopicsAndWebPages.mdwn +++ b/TWiki/IncludeTopicsAndWebPages.mdwn @@ -1,4 +1,4 @@ -**Include Topics and Web Pages Using **%INCLUDE\{...\}%** Variable** +# Include Topics and Web Pages Using **%INCLUDE\{...\}%** Variable Use the **%INCLUDE\{...\}%** variable to embed the content of another topic or web page inside a %WIKITOOLNAME% topic. The whole content or only parts of a page can be included. @@ -35,31 +35,28 @@ Use the **%INCLUDE\{...\}%** variable to embed the content of anoth ### 1. Display regression test results in a TWiki page
-      %INCLUDEURL{"http://domain/~qa/v1.1/REDTest.log.txt"}%
+      %INCLUDE{"http://domain/~qa/v1.1/REDTest.log.txt"}%
       
### 2. Display Yahoo's robot.txt file - You type: - - **%INCLUDE\{"http://www.yahoo.com/robots.txt"\}%**
-- You get: - - %INCLUDE{"http://www.yahoo.com/robots.txt"}% + - **%INCLUDE\{"http://www.yahoo.com/robots.txt"\}%** ### 3. Display the SUNW stock quote in a TWiki page - You type: - - **SUNW: %INCLUDE\{"http://finance.yahoo.com/q?s=SUNW&d=v1&o=t" pattern="^.\*?>SUNW</a>[^<]+(.\*?)\\s+\\S+\\s+<small.\*"\}%**
+ - **SUNW: %INCLUDE\{"http://finance.yahoo.com/q?s=SUNW&d=v1&o=t" pattern="^.\*?>SUNW</a>[^<]+(.\*?)\\s+\\S+\\s+<small.\*"\}%** - You get: - SUNW: ### 4. Display the temperature in San Francisco - You type: - - **San Francisco: %INCLUDE\{"http://weather.yahoo.com/forecast/San\_Francisco\_CA\_US\_f.html" pattern="^.\*?([0-9]+\\&ordm\\;F).\*"\}%**
+ - **San Francisco: %INCLUDE\{"http://weather.yahoo.com/forecast/San\_Francisco\_CA\_US\_f.html" pattern="^.\*?([0-9]+\\&ordm\\;F).\*"\}%** - You get: - San Francisco: See also other [[TWikiVariables]]. --- [[PeterThoeny]] - 25 Jun 2001
+-- [[PeterThoeny]] - 15 Jan 2003