diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-02 03:38:53 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-02 03:38:53 -0700 |
commit | 336aea26dc398dd38ff121c6b7d3b9559fcc8701 (patch) | |
tree | b61c492b2d91145e927cdaf0186ace2efca1b252 /include/items.php | |
parent | 6ad1a22a055f58c09d44d4da9750f6de2d478fe7 (diff) | |
download | volse-hubzilla-336aea26dc398dd38ff121c6b7d3b9559fcc8701.tar.gz volse-hubzilla-336aea26dc398dd38ff121c6b7d3b9559fcc8701.tar.bz2 volse-hubzilla-336aea26dc398dd38ff121c6b7d3b9559fcc8701.zip |
notify hub only on public updates
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/items.php b/include/items.php index 221a8a65c..ce354de9b 100644 --- a/include/items.php +++ b/include/items.php @@ -129,17 +129,17 @@ function get_feed_for(&$a, $dfrn_id, $owner_id, $last_update, $direction = 0) { $atom .= replace_macros($feed_template, array( - '$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick), - '$feed_title' => xmlify($owner['name']), - '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) , - '$hub' => $hubxml, - '$name' => xmlify($owner['name']), - '$profile_page' => xmlify($owner['url']), - '$photo' => xmlify($owner['photo']), - '$thumb' => xmlify($owner['thumb']), - '$picdate' => xmlify(datetime_convert('UTC','UTC',$owner['avatar-date'] . '+00:00' , ATOM_TIME)) , - '$uridate' => xmlify(datetime_convert('UTC','UTC',$owner['uri-date'] . '+00:00' , ATOM_TIME)) , - '$namdate' => xmlify(datetime_convert('UTC','UTC',$owner['name-date'] . '+00:00' , ATOM_TIME)) + '$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick), + '$feed_title' => xmlify($owner['name']), + '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) , + '$hub' => $hubxml, + '$name' => xmlify($owner['name']), + '$profile_page' => xmlify($owner['url']), + '$photo' => xmlify($owner['photo']), + '$thumb' => xmlify($owner['thumb']), + '$picdate' => xmlify(datetime_convert('UTC','UTC',$owner['avatar-date'] . '+00:00' , ATOM_TIME)) , + '$uridate' => xmlify(datetime_convert('UTC','UTC',$owner['uri-date'] . '+00:00' , ATOM_TIME)) , + '$namdate' => xmlify(datetime_convert('UTC','UTC',$owner['name-date'] . '+00:00' , ATOM_TIME)) )); |