Hey people! I need some help with the feed plugin.
I’ve set it up so that I see all posts from 5 different pages.
But, I notice that the rss feed itself, the description is empty. And whatever I do to the array, it falls back to the defaults. So I’m thinking that it doesn’t use the array.
<?php
$pages = $site->index()->filterBy('template', 'category');
$visiblePages = $pages->children()->visible()->filterBy('date', '<', time())->sortBy('date', 'desc');
echo $visiblePages->feed(array(
'title' => $page->title(),
'description' => $page->description(),
'link' => '/',
));
?>
Output:
Does anyone have an idea what’s going on here?