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
- SimplePie - used for parsing RSS feeds.
You can install SimplePie using composer from the base directory of your LESK installation thusly:
$ composer require simplepie/simplepie
...
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.
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