Show Page Script

    Table of contents
    No headers
    <content type="application/x.deki0805+xml" etag="b4f27fcd1ebe38d8e3fec24e7d4d0205" title="Sandbox">
      <body xmlns:eval="http://mindtouch.com/2007/dekiscript">
    <p>This is my sandbox page where I showcase various DekiScript tips &amp; tricks.</p>
    <p><span class="script"> wiki.tree(_, 1) </span></p>
    <h2>Tag</h2>
    <pre class="script">
    web.pre(json.format(page.tags['test']))
    </pre>
    <h2>User</h2>
    <p>Structure of the current "user" object (i.e. you!).</p>
    <pre class="script">
    web.pre(json.format(user))
    </pre>
    <h2>Page</h2>
    <p>Structure of the current "page" object (i.e. this page).</p>
    <pre class="script">
    web.pre(json.format(page))
    </pre>
    <p> </p>
    </body>
    </content>

     wiki.tree(_, 1) 

    web.pre(json.format(page.tags['test']))
    

    web.pre(json.format(user))
    

    web.pre(json.format(page))
    
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by