/LESK-Module_RssFeeds

Simple RSS feed reader for LESK sites.

Primary LanguagePHPISC LicenseISC

RSS Feeds Module

To deploy simply clone the repository from the Modules directory of the base LESK install, as shown below:

$ cd app/Modules/
$ git clone https://github.com/armpit/LESK-Module_RssFeeds.git RssFeeds

Then make sure to optimize the master module definition, from the base directory, with:

$ cd ../..
$ ./artisan module:optimize

Dependencies

You can install SimplePie using composer from the base directory of your LESK installation thusly:

$ composer require simplepie/simplepie

Prerequisites

...

Installing and activating

Once a new module is detected by the framework, a site administrator can go to the "Modules administration" page and first initialize the module, then enable it for all authorized users to have access.

Configuration

Default values are shown.

  • Enable/disable caching. (Boolean)
rssfeeds.cache_enable = true
  • Cache storage location. (Relative to 'storage/app')
rssfeeds.cache_dir = rssfeeds_cache
  • Cache timeout. (Integer)
rssfeeds.cache_ttl = 3600
  • Enable/disable personal feeds for users. (Boolean)
rssfeeds.personal_enable = false