Add generator tag into Atom feeds.
This commit is contained in:
parent
507454d65d
commit
79b392a39e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user