summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-12 00:36:26 +0000
committerZach Copley <zach@status.net>2010-03-12 00:36:26 +0000
commit7cdcb89dc9d8dcc04848928c5b765f99566d2a4d (patch)
treec6a8dba46d7e006b12bc7b1494a677f4d067851a /classes/Notice.php
parentb12c3449309870c7c391ed0e2c7783f7a05a2334 (diff)
Add id and updated elements to atom source
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 4c7e6ab4b..40a6263e5 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1128,6 +1128,7 @@ class Notice extends Memcached_DataObject
if ($source) {
$xs->elementStart('source');
+ $xs->element('id', null, $profile->profileurl);
$xs->element('title', null, $profile->nickname . " - " . common_config('site', 'name'));
$xs->element('link', array('href' => $profile->profileurl));
$user = User::staticGet('id', $profile->id);
@@ -1143,6 +1144,7 @@ class Notice extends Memcached_DataObject
}
$xs->element('icon', null, $profile->avatarUrl(AVATAR_PROFILE_SIZE));
+ $xs->element('updated', null, common_date_w3dtf($this->created));
}
if ($source) {