FrontPage 

San Jose Scout Wiki

Login

Latest Macro Help

The Latest Macro find the most recent wiki page, from a set of wiki pages specified by a regex, and puts its content inline in the current page.

Usage: Latest({page_regex}[,title])

Arguments:

  • page_regex - the regular expression indicating the pages names to consider
  • title (optional) - use a timestamp in the title (page name) for comparisons

Examples:

Ex1: {{Latest(Rock_.*))}}

would find all pages with the prefix 'Rock_', and find the one with the latest filesystem modification date, and include it in the page output.


Ex2: {{Latest(Test_Results_.*, title)}}

would find all pages with the prefix 'Test_Results_', and find the one with the latest timestamp in the page name, and include it in the page output.

The timestamp used for comparison will be parsed from the page name. The timestamp of the form: YYYY-MM-DD_hh:mm:ss.

Back to page: System_Info

TBWiki engine 1.9.3 by Tim Bird