diff options
author | nobody <nobody@zotlabs.com> | 2021-02-17 01:05:30 -0800 |
---|---|---|
committer | nobody <nobody@zotlabs.com> | 2021-02-17 01:05:30 -0800 |
commit | 383917eb0f219b999e1e46358317ab9ac8a9937d (patch) | |
tree | 8f8c75b09f50d994577bb9255c28afe9d8805e13 /include/channel.php | |
parent | 7e3046b85cec84ffdd8f482ec2e519b165fe3d54 (diff) | |
download | volse-hubzilla-383917eb0f219b999e1e46358317ab9ac8a9937d.tar.gz volse-hubzilla-383917eb0f219b999e1e46358317ab9ac8a9937d.tar.bz2 volse-hubzilla-383917eb0f219b999e1e46358317ab9ac8a9937d.zip |
more zap export compatibility work
Diffstat (limited to 'include/channel.php')
-rw-r--r-- | include/channel.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/channel.php b/include/channel.php index ba4f6c6d9..800871ab6 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1102,7 +1102,7 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals xchan_query($r); $r = fetch_post_tags($r,true); foreach($r as $rr) - $ret['event_item'][] = encode_item($rr,true); + $ret['event_item'][] = encode_item($rr,true, $zap_compat); } } @@ -1125,7 +1125,7 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals xchan_query($r); $r = fetch_post_tags($r,true); foreach($r as $rr) - $ret['webpages'][] = encode_item($rr,true); + $ret['webpages'][] = encode_item($rr,true, $zap_compat); } } @@ -1162,7 +1162,7 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals xchan_query($r); $r = fetch_post_tags($r,true); foreach($r as $rv) { - $ret['wiki'][] = encode_item($rv,true); + $ret['wiki'][] = encode_item($rv,true, $zap_compat); } } } @@ -1187,7 +1187,7 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals xchan_query($r); $r = fetch_post_tags($r,true); foreach($r as $rr) - $ret['item'][] = encode_item($rr,true); + $ret['item'][] = encode_item($rr,true, $zap_compat); } } @@ -1283,7 +1283,7 @@ function channel_export_items_date($channel_id, $start, $finish, $zap_compat = f xchan_query($r); $r = fetch_post_tags($r, true); foreach($r as $rr) - $ret['item'][] = encode_item($rr, true); + $ret['item'][] = encode_item($rr, true, $zap_compat); } return $ret; @@ -1347,7 +1347,7 @@ function channel_export_items_page($channel_id, $start, $finish, $page = 0, $lim xchan_query($r); $r = fetch_post_tags($r, true); foreach($r as $rr) - $ret['item'][] = encode_item($rr, true); + $ret['item'][] = encode_item($rr, true, $zap_compat); } return $ret; |