alphayax / rss_fs
Create a RSS feed from filesystem directory
1.1.2
2017-03-26 16:03 UTC
Requires (Dev)
- codacy/coverage: dev-master
- phpunit/phpunit: ^6.0.10
This package is not auto-updated.
Last update: 2024-12-22 03:17:36 UTC
README
This composer library allow you to generate RSS stream form a file system folder.
Setup
composer require alphayax/rss_fs
Exemple
require_once '../vendor/autoload.php'; $directory = new \alphayax\rssfs\model\Directory( $directoryToServe); $directory->setAccessUrl( $urlToAccessDirectory); $directory->setTitle( $titleOfTheRssFeed); $directory->setDescription( $descriptionOfTheRssFeed); $directory->setLanguage( $language); $a = new \alphayax\rssfs\controller\Page( $directory, true); $a->display();