Display custom RSS feeds on your Nova dashboard.
This also works great in combination with the custom dashboard card for Nova.
You can install the package in to a Laravel app that uses Nova via composer:
composer require beyondcode/nova-rss-card
Next up, you must register the card with Nova. This is typically done in the cards
method of the NovaServiceProvider
.
// in app/Providers/NovaServiceProvder.php
// ...
public function cards()
{
return [
// ...
new RssCard('https://feed.laravel-news.com/'),
];
}
You can customize the RSS feed card height by specifying it as the second parameter in the constructor, like this:
new RssCard('https://feed.laravel-news.com/', '500px),
To customize the amount of items to show on your RSS feed card, you can set a limit
property as a meta attribute on your RSS feed card, like this:
(new RssCard('https://feed.laravel-news.com/', '500px))->withMeta([
'limit' => 10
]),
Just visit your Nova dashboard and you'll see the latest entries from your RSS feeds.
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.