summaryrefslogtreecommitdiff
path: root/lib/atomnoticefeed.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-02 00:38:50 -0800
committerZach Copley <zach@status.net>2010-03-02 00:38:50 -0800
commitf68e3dfba5a1b745aceaf07bed8b92c53f3708aa (patch)
tree36f68a3b1737a599371310390215f92c1052aa42 /lib/atomnoticefeed.php
parent9816b35063b75f1aa051d8b1ecefe716d99f5dc4 (diff)
parent40ac7247979dc6f33f56b20c907d55deb6b9c815 (diff)
Merge branch 'testing' of gitorious.org:statusnet/mainline into testing
* 'testing' of gitorious.org:statusnet/mainline: don't duplicate title in summary in Atom output per RFC4287 4.2.13 Show <activity:subject> and no activity actors for user feed Revert "show service debug info"
Diffstat (limited to 'lib/atomnoticefeed.php')
-rw-r--r--lib/atomnoticefeed.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/atomnoticefeed.php b/lib/atomnoticefeed.php
index 3c3556cb9..e4df731fe 100644
--- a/lib/atomnoticefeed.php
+++ b/lib/atomnoticefeed.php
@@ -107,9 +107,19 @@ class AtomNoticeFeed extends Atom10Feed
*/
function addEntryFromNotice($notice)
{
- $this->addEntryRaw($notice->asAtomEntry());
- }
+ $source = $this->showSource();
+ $author = $this->showAuthor();
-}
+ $this->addEntryRaw($notice->asAtomEntry(false, $source, $author));
+ }
+ function showSource()
+ {
+ return true;
+ }
+ function showAuthor()
+ {
+ return true;
+ }
+}