summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-04 01:16:25 -0800
committerZach Copley <zach@status.net>2010-03-04 01:16:25 -0800
commit79b392a39e9a847c398b697cf8f982a6b220ed56 (patch)
treec0b43b8b27b475dec76d936ad8aaf2496ed9a911 /lib
parent507454d65d85c897c029b6d16dbb8579ccaa11f3 (diff)
Add generator tag into Atom feeds.
Diffstat (limited to 'lib')
-rw-r--r--lib/atom10feed.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/atom10feed.php b/lib/atom10feed.php
index c1fdeaae9..2d342e785 100644
--- a/lib/atom10feed.php
+++ b/lib/atom10feed.php
@@ -176,6 +176,14 @@ class Atom10Feed extends XMLStringer
}
$this->elementStart('feed', $commonAttrs);
+ $this->element(
+ 'generator', array(
+ 'url' => 'http://status.net',
+ 'version' => STATUSNET_VERSION
+ ),
+ 'StatusNet'
+ );
+
$this->element('id', null, $this->id);
$this->element('title', null, $this->title);
$this->element('subtitle', null, $this->subtitle);