PHP code example of alphayax / rss_fs
1. Go to this page and download the library: Download alphayax/rss_fs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alphayax / rss_fs example snippets
$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();