summaryrefslogtreecommitdiff
path: root/lib/atomnoticefeed.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-10 18:55:14 -0800
committerZach Copley <zach@status.net>2010-02-11 13:56:05 -0800
commite2c0f59414dd7e9a33ffbae7307b81a85c2c168b (patch)
treed10b1f7f4b3220124a03f7f7d019632eb1e7c469 /lib/atomnoticefeed.php
parentce3c3be1bf971329f82bedbf3aae636e3c8ecbf9 (diff)
Some upgrades to Atom output for OStatus
Diffstat (limited to 'lib/atomnoticefeed.php')
-rw-r--r--lib/atomnoticefeed.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/atomnoticefeed.php b/lib/atomnoticefeed.php
index a28c9cda7..ce87ec9e6 100644
--- a/lib/atomnoticefeed.php
+++ b/lib/atomnoticefeed.php
@@ -5,12 +5,28 @@ class AtomNoticeFeed extends Atom10Feed
function __construct($indent = true) {
parent::__construct($indent);
- // Feeds containing notice info use the Atom Threading Extensions
+ // Feeds containing notice info use these namespaces
$this->addNamespace(
'xmlns:thr',
'http://purl.org/syndication/thread/1.0'
);
+
+ $this->addNamespace(
+ 'xmlns:georss',
+ 'http://www.georss.org/georss'
+ );
+
+ $this->addNamespace(
+ 'xmlns:activity',
+ 'http://activitystrea.ms/spec/1.0/'
+ );
+
+ // XXX: What should the uri be?
+ $this->addNamespace(
+ 'xmlns:ostatus',
+ 'http://ostatus.org/schema/1.0'
+ );
}
function addEntryFromNotices($notices)