aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-14 07:55:18 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-14 07:55:18 -0700
commit47e9613acde8a6282e3c3717edf6efb7fce47252 (patch)
tree7fb58a21abf5069260838b0639dda8fca3bbfc81 /include
parent2ee1b00c9c17f9ae299376a84d8055b0308864bf (diff)
downloadvolse-hubzilla-47e9613acde8a6282e3c3717edf6efb7fce47252.tar.gz
volse-hubzilla-47e9613acde8a6282e3c3717edf6efb7fce47252.tar.bz2
volse-hubzilla-47e9613acde8a6282e3c3717edf6efb7fce47252.zip
mongo notification checkin, wall, comments, settings
Diffstat (limited to 'include')
-rw-r--r--include/items.php7
-rw-r--r--include/notifier.php6
2 files changed, 7 insertions, 6 deletions
diff --git a/include/items.php b/include/items.php
index 6877116c9..74809583c 100644
--- a/include/items.php
+++ b/include/items.php
@@ -96,8 +96,7 @@ function get_feed_for(&$a,$dfrn_id,$owner_id,$last_update) {
'$thumb' => xmlify($owner['thumb']),
'$picdate' => xmlify(datetime_convert('UTC','UTC',$owner['avatar-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
'$uridate' => xmlify(datetime_convert('UTC','UTC',$owner['uri-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
- '$namdate' => xmlify(datetime_convert('UTC','UTC',$owner['name-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
-
+ '$namdate' => xmlify(datetime_convert('UTC','UTC',$owner['name-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z'))
));
@@ -109,7 +108,6 @@ function get_feed_for(&$a,$dfrn_id,$owner_id,$last_update) {
));
}
else {
-
if($item['parent'] == $item['id']) {
$atom .= replace_macros($item_template, array(
'$name' => xmlify($item['name']),
@@ -143,8 +141,7 @@ function get_feed_for(&$a,$dfrn_id,$owner_id,$last_update) {
}
}
- $atom .= "</feed>\r\n";
-
+ $atom .= '</feed>' . "\r\n";
return $atom;
}
diff --git a/include/notifier.php b/include/notifier.php
index 7d9b09da3..36ff27054 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -137,7 +137,11 @@ dbg(3);
$updated . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
'$name' => xmlify($owner['name']),
'$profile_page' => xmlify($owner['url']),
- '$photo' => xmlify($owner['photo'])
+ '$photo' => xmlify($owner['photo']),
+ '$thumb' => xmlify($owner['thumb']),
+ '$picdate' => xmlify(datetime_convert('UTC','UTC',$owner['avatar-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
+ '$uridate' => xmlify(datetime_convert('UTC','UTC',$owner['uri-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z')) ,
+ '$namdate' => xmlify(datetime_convert('UTC','UTC',$owner['name-date'] . '+00:00' , 'Y-m-d\TH:i:s\Z'))
));
if($cmd == 'mail') {