]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add generator tag into Atom feeds.
authorZach Copley <zach@status.net>
Thu, 4 Mar 2010 09:16:25 +0000 (01:16 -0800)
committerZach Copley <zach@status.net>
Thu, 4 Mar 2010 09:16:25 +0000 (01:16 -0800)
lib/atom10feed.php

index c1fdeaae935719e15c0fe8d2ac33955664759e61..2d342e7854a8b56d29fa9e53405ff84f68c71a48 100644 (file)
@@ -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);