RSS: Add name of group/user

This commit is contained in:
veselcraft 2022-05-23 16:09:44 +03:00
parent 786fbecc87
commit 5f3f3299de
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -113,7 +113,7 @@ final class WallPresenter extends OpenVKPresenter
$feed = new Feed(); $feed = new Feed();
$channel = new Channel(); $channel = new Channel();
$channel->title(OPENVK_ROOT_CONF['openvk']['appearance']['name'])->url(ovk_scheme(true) . $_SERVER["SERVER_NAME"])->appendTo($feed); $channel->title($post->getOwner()->getCanonicalName() . "" . OPENVK_ROOT_CONF['openvk']['appearance']['name'])->url(ovk_scheme(true) . $_SERVER["SERVER_NAME"])->appendTo($feed);
foreach($posts as $post) { foreach($posts as $post) {
$item = new Item(); $item = new Item();