MindTouch Developer Center > Sandbox > 00 One more site

00 One more site

Table of contents
  1. 1. List page variables:
  2. 2. Date Formats:
  3. 3. Dates:  
  4. 4. TAGS:
    1. 4.1. Level 2
      1. 4.1.1. Level 3

List page variables:

  

  

site.name MindTouch Developer Center
page.tags { "08-10-15" : { definition : nil, name : "08-10-15", pages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tagged#%5b+539+%5d", prefix : "", type : "text", value : "08-10-15" }, blue : { definition : nil, name : "blue", pages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tagged#%5b+540+%5d", prefix : "", type : "text", value : "blue" }, "date:2008-04-23" : { definition : nil, name : "date:2008-04-23", pages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tagged#%5b+542+%5d", prefix : "date:", type : "date", value : "2008-04-23" }, "date:2008-05-23" : { definition : nil, name : "date:2008-05-23", pages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tagged#%5b+543+%5d", prefix : "date:", type : "date", value : "2008-05-23" }, moon : { definition : nil, name : "moon", pages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tagged#%5b+541+%5d", prefix : "", type : "text", value : "moon" } }
page.name 00_One_more_site
page.parent { api : "http://wiki.developer.mindtouch.com/@api/deki/pages/2387", author : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$user#%5b+4348+%5d", comments : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$comments#%5b+2387+%5d", date : "Fri, 18 Jul 2008 14:43:57 GMT", editsummary : "no wording changes", feed : "http://wiki.developer.mindtouch.com/@api/deki/pages/2387/feed", files : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$files#%5b+2387+%5d", fronturi : "http://wiki.developer.mindtouch.com/Sandbox", id : 2387, language : "", mime : "application/x.deki0805+xml", name : "Sandbox", namespace : "", parent : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$page#%5b+1+%5d", path : "Sandbox", subpages : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$subpages#%5b+2387+%5d", tags : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$tags#%5b+2387+%5d", talkuri : "http://wiki.developer.mindtouch.com/Talk:Sandbox", text : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$pagetext#%5b+%22Sandbox%22+%5d", title : "Sandbox", toc : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$pagetoc#%5b+%22Sandbox%22+%5d", unprefixedpath : "Sandbox", uri : "http://wiki.developer.mindtouch.com/Sandbox", viewcount : 53338, xml : "local://2c042cdbfcf443458f11d751df2e08b0/deki/$pagexml#%5b+2387+%5d" }

  

   

This is user 2's changes.

Testing multiple Pages to print at one time 

Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

italicstrikeout

     

Date Formats:

{ date.format(date.Now, "yyyy-mm-dd") } 2008-01-20

{ date.format(date.Now, "dd-mm-yy") } 20-01-08

{ date.format(date.Now, "yyyymmdd") } 20080120

Dates:  

Search 1: { wiki.search( '"date:2008-04-23"' ) }

Search Range 1: { wiki.search( '"date:Range[20080401 TO 20080428]"' ) }

Date: { date.format(date.Now, "yyyy-mm-dd") } 2008-01-20

Search Range 2: { wiki.search( ' "date:Range[20080401 TO 20110428]" ' ) }

Search Range 3: { wiki.search( ' "date:Range[{ date.format(date.Now, "yyyymmdd") } TO 20110428]" ' ) }}

TAGS:

Wiki Search 4: { wiki.search( 'tag:"08-10-15"' ) }

                     

Wiki Search 3: { wiki.search( "blue" ) }

                    

Wiki Search 4: { wiki.search('tag:"blue"') }


Related information

Level 2

    

    

Level 3

    

    

    

MindTouchContributionsAgreement.pdf

You must login to post a comment.