X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fatom10feed.php;h=3ae9dc81be077c3b387202ffdb49800cc565245e;hb=56e72ec7a138b823b8094312d935c9644838a8eb;hp=c1fdeaae935719e15c0fe8d2ac33955664759e61;hpb=9fadf8da1164d620284917b829329e195aa2a226;p=quix0rs-gnu-social.git diff --git a/lib/atom10feed.php b/lib/atom10feed.php index c1fdeaae93..3ae9dc81be 100644 --- a/lib/atom10feed.php +++ b/lib/atom10feed.php @@ -109,7 +109,7 @@ class Atom10Feed extends XMLStringer $xs->element('name', null, $name); } else { throw new Atom10FeedException( - 'author element must contain a name element.' + _('author element must contain a name element.') ); } @@ -176,6 +176,14 @@ class Atom10Feed extends XMLStringer } $this->elementStart('feed', $commonAttrs); + $this->element( + 'generator', array( + 'uri' => '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); @@ -315,5 +323,4 @@ class Atom10Feed extends XMLStringer array_push($this->links, $attrs); } - }