Display custom RSS feeds on your Nova dashboard.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
resources
routes
src
.gitignore
.scrutinizer.yml
.styleci.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE.md
README.md
composer.json
mix-manifest.json
package.json
phpunit.xml.dist
webpack.mix.js

README.md

Nova RSS Card

Latest Version on Packagist Total Downloads

Display custom RSS feeds on your Nova dashboard.

This also works great in combination with the custom dashboard card for Nova.

tinker screenshot

Installation

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/'),
    ];
}

Custom layout

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),

Custom amount of items

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
]),

Usage

Just visit your Nova dashboard and you'll see the latest entries from your RSS feeds.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.