MyHomeCollection/config/feed.php
Clement Desmidt d982682a54
Some checks failed
continuous-integration/drone/push Build is failing
⬆️ Upgrade from Laravel 7 to 8 for PHP 8
2022-11-30 14:01:29 +01:00

55 lines
1.6 KiB
PHP

<?php
return [
'feeds' => [
'main' => [
/*
* Here you can specify which class and method will return
* the items that should appear in the feed. For example:
* 'App\Model@getAllFeedItems'
*
* You can also pass an argument to that method:
* ['App\Model@getAllFeedItems', 'argument']
*/
'items' => 'App\Home@getFeedItems',
/*
* The feed will be available on this url.
*/
'url' => '/feed',
'title' => 'Les maisons de Bretagne',
'description' => 'La sélection',
'language' => 'fr-FR',
/*
* The image to display for the feed. For Atom feeds, this is displayed as
* a banner/logo; for RSS and JSON feeds, it's displayed as an icon.
* An empty value omits the image attribute from the feed.
*/
'image' => '',
/*
* The format of the feed. Acceptable values are 'rss', 'atom', or 'json'.
*/
'format' => 'atom',
/*
* The view that will render the feed.
*/
'view' => 'feed::atom',
/*
* The type to be used in the <link> tag
*/
'type' => 'application/atom+xml',
/*
* The content type for the feed response. Set to an empty string to automatically
* determine the correct value.
*/
'contentType' => '',
],
],
];