From: Zach Copley Date: Thu, 4 Mar 2010 09:16:25 +0000 (-0800) Subject: Add generator tag into Atom feeds. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79b392a39e9a847c398b697cf8f982a6b220ed56;p=quix0rs-gnu-social.git Add generator tag into Atom feeds. --- diff --git a/lib/atom10feed.php b/lib/atom10feed.php index c1fdeaae93..2d342e7854 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);