alphayax/rss_fs

Create a RSS feed from filesystem directory

1.1.2 2017-03-26 16:03 UTC

This package is not auto-updated.

Last update: 2024-04-28 00:21:38 UTC


README

Latest Stable Version Latest Unstable Version Codacy Badge Codacy Badge

pakagist Total Downloads License

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();