SAVE_DATAFEED

[[SAVE_DATAFEED:filename]]

Saves the last loaded datafeed’s current state as a delimited datafeed file  named filename using the same delimiter. Delimiter may be modified by initializing the variable delimiter. Datafeed fields and values must first be either already loaded from source or otherwise initialized into variable memory.

[[INITIALIZE:delimiter|\t]] {tab delimited}
[[SAVE_DATAFEED:datafeed_saved.txt]]

Saves the current state of the datafeed’s  rows and columns with a tab for a delimiter to “datafeed_saved.txt“.

Note that since the pipe symbol is a reserved delimiter in the TerraDctl shortcodes, it should not be used inside a shortcode for anything other than separating  parameters. Use PHP to initialize any variable with a pipe  symbol inside it.

<?php $delimiter=chr(124); ?>

or

<?php $pipe=chr(124); ?>
[[INITIALIZE:delimiter|$pipe]]

Leave a Reply