Add generator tag into Atom feeds.

This commit is contained in:
Zach Copley 2010-03-04 01:16:25 -08:00
parent 507454d65d
commit 79b392a39e

View File

@ -176,6 +176,14 @@ class Atom10Feed extends XMLStringer
} }
$this->elementStart('feed', $commonAttrs); $this->elementStart('feed', $commonAttrs);
$this->element(
'generator', array(
'url' => 'http://status.net',
'version' => STATUSNET_VERSION
),
'StatusNet'
);
$this->element('id', null, $this->id); $this->element('id', null, $this->id);
$this->element('title', null, $this->title); $this->element('title', null, $this->title);
$this->element('subtitle', null, $this->subtitle); $this->element('subtitle', null, $this->subtitle);