@@ -59,7 +59,6 @@ class PostController extends ActionController
59
59
* @return string
60
60
* @throws NodeException
61
61
* @throws MissingActionNameException
62
- * @throws \Neos\Flow\Http\Exception
63
62
*/
64
63
public function rssAction (): string
65
64
{
@@ -88,22 +87,22 @@ public function rssAction(): string
88
87
}
89
88
90
89
$ channel = new Channel ();
91
- $ channel ->setTitle ($ feedTitle );
92
- $ channel ->setDescription ($ feedDescription );
93
- $ channel ->setFeedUri ($ feedUri );
94
- $ channel ->setWebsiteUri ((string )RequestInformationHelper::generateBaseUri ($ this ->request ->getHttpRequest ()));
95
- $ channel ->setLanguage ((string )$ this ->i18nService ->getConfiguration ()->getCurrentLocale ());
90
+ $ channel ->setTitle ($ feedTitle )
91
+ ->setDescription ($ feedDescription )
92
+ ->setFeedUri ($ feedUri )
93
+ ->setWebsiteUri ((string )RequestInformationHelper::generateBaseUri ($ this ->request ->getHttpRequest ()))
94
+ ->setLanguage ((string )$ this ->i18nService ->getConfiguration ()->getCurrentLocale ());
96
95
97
96
/* @var $postNode NodeInterface */
98
97
foreach ($ postsNode ->getChildNodes ('RobertLemke.Plugin.Blog:Post ' ) as $ postNode ) {
99
98
$ postUri = $ uriBuilder ->uriFor ('show ' , ['node ' => $ postNode ], 'Frontend\Node ' , 'Neos.Neos ' );
100
99
101
100
$ item = new Item ();
102
- $ item ->setTitle ($ postNode ->getProperty ('title ' ));
103
- $ item ->setGuid ($ postNode ->getIdentifier ());
104
- $ item ->setPublicationDate ($ postNode ->getProperty ('datePublished ' ));
105
- $ item ->setItemLink ((string )$ postUri );
106
- $ item ->setCommentsLink ((string )$ postUri . '#comments ' );
101
+ $ item ->setTitle ($ postNode ->getProperty ('title ' ))
102
+ ->setGuid ($ postNode ->getIdentifier ())
103
+ ->setPublicationDate ($ postNode ->getProperty ('datePublished ' ))
104
+ ->setItemLink ((string )$ postUri )
105
+ ->setCommentsLink ((string )$ postUri . '#comments ' );
107
106
108
107
$ author = $ postNode ->getProperty ('author ' );
109
108
if ($ author instanceof NodeInterface) {
0 commit comments