Was this page helpful?

Wiki.Text

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    wiki.text(path : str, section : str, revision: num) : xml 
    

    Retrieve the text contents for an entire or part of another wiki page

    Usage Restrictions

    1.8.2 or later

    Parameters

    Name Type Description
    path str wiki page path
    section str (optional, default:none) section to include on wiki page
    revision num (optional, default: head revision) page revision to use (8.05.2b or later)
    0 is the head revision
    > 0 is a specific revision (e.g. 1 is the first revision)
    < 0 is revision relative to head revision (e.g. -1 is the previous revision)

    Result

    A page in xml with the specified text area

    Samples

       Output

    To pull text from a page:

    {{wiki.text("/Community/Defragcon") }} 

      

    Defragcon

    To pull text from a page section:

    {{wiki.text("/Community/Defragcon", "Recent News") }} 

      

    Defragcon

      

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by