FrontPage 

Fuego wiki

Login

Snapshot Help

The Snapshot processor takes the value from an existing item, and appends it to another place. This is primarily intended for taking snapshots of dynamic or calculated data (like a stock quote, or the number of bugs), and placing them in a table block to be used to chart results over time.

Processor arguments are:

  • source - the location to get the data from
  • destination - the place to append the data to
  • format = a format string for the data. It should have named format variables. You should always have a variable named 'content'. For example:
    • %(content)s = the content from the source
    • %(timestamp)s = the time when the snapshot was taken
    • %(user)s = the user name of the person referencing the page

Example usage:

{{{#!Snapshot
source=FinancePage:GoogleStockQuoteBlock
destination=FinancePage:GoogleData
format="""
||%(timestamp)s||%(content)s||"""
}} }

TBWiki engine 1.9.1 by Tim Bird
TBWiki engine 1.9.1 by Tim Bird