channel export - use a selected list of functional data categories to export; this allows one to export single data sets instead of always exporting everything we know about

This commit is contained in:
zotlabs
2017-01-31 15:28:25 -08:00
parent a6cbebe03c
commit 732065bf13
9 changed files with 302 additions and 193 deletions

View File

@@ -99,6 +99,17 @@ class Comanche {
}
}
/**
* Currently supported condition variables:
*
* $config.xxx.yyy - get_config with cat = xxx and k = yyy
* $request - request uri for this page
* $observer.language - viewer's preferred language (closest match)
* $observer.address - xchan_addr or false
* $observer.name - xchan_name or false
* $observer - xchan_hash of observer or empty string
*/
function get_condition_var($v) {
if($v) {
$x = explode('.',$v);