|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 62 ||All time: 10,181 This week: 189|
This class can generate an RSS feed from a list of items.
It takes as a parameter an array with the details of a list of items to include in the RSS feed, the path and the file name for the RSS feed.
The class validates the parameters and generates a RSS feed for the items that were passed by creating a RSS file at the specified file path.
About Simple RSS Generator
Hi with the help of this page you can generate simple RSS 2.0
$rssItems = [
'title' => 'What Is Composer? How Does It Work? Useful Composer Commands And Usage',
'url' => 'https://somesite.in/posts/what-is-composer-how-does-it-work',
'description' => 'In this article, you will learn: What Is Composer, Using Composer, Installation In Ubuntu/Windows/Mac.',
'updatedAt' => '2020-05-07'
$path = '.'; / Path to generate your rss.xml file */
$filename = 'rss.xml'; / RSS filename default is rss.xml */
$rss = new RSS();
->description('Some random description of the site')
->language('en-US') / Default is en-Us you can set any of yours */
->lastUpdated($feedItems['updatedAt']) / Just pass datetime string or date string */
->generate($path, $rssItems, $filename);
RSS Items is array of items which requires following fields.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.