==README for rss.php==
Release date: December 10, 2004.
Most recent update: June 7, 2023.
miniBB version: 3.5+
Author: Paul Puzyrev (minibb.com)

rss.php is an addon for miniBB ( https://www.minibb.com/forums/rss.php ), which will display forums XML/RSS feed in RSS format 2.0.

==INSTALLATION==
Copy rss.php, rss_options.php to the forums folder.

==SETUP==
Open rss_options.php in ASCII editor and edit add-on's configuration. You will see descriptions in the code. Most important is to change $contentFeed setting, providing your website's/forums title, description, hyperlink and atom:link.

If you set `$goLastPost=TRUE;` then you must also set: `$sort='topic_last_post_id DESC';`, `$post_sort=1;`.

==USAGE==
Let your users some way know about the link to the RSS feed, so they can insert it into RSS feed reader.
Example: https://www.minibb.com/forums/rss.php - this link is listed on miniBB's front webpage.

Displaying of news feed varies depending on your settings:

* If you want only new TOPICS appearing on the page, with the first message posted, set $sort='topic_id DESC'; and $post_sort=0;
* If you want your newsfeed changes each time when someone posts new message, change $sort='topic_last_post_id DESC'; and $post_sort=1;

Feed's latest update is being automatically equal to the first message's date, which appears on the top of this feed.

==NOTES==
XML structure is built-in into the plugin. Look up for $contentFeed and find out how it's built, changing necessary titles.

If you want browsers to display RSS icon in the URL bar, edit /templates/main_header.html, or provide in your header HTML file the following code (optionally changing title):

<link rel="alternate" type="application/rss+xml" title="Forum's latest discussions" href="{$main_url}/rss.php">

==FINALLY==
If you will find a problem or question about this add-on, do not hesitate to report it in the related thread:
https://www.minibb.com/forums/11_4205_1.html
