I recently wrote a simple script to provide a RSS feed for a CMSimple powered website.

The script will be placed in a new rss-folder placed in the root directory. It takes the content.htm and substracts the page you choose from its < h1 > section. Actually, I decided to take the first < h1 > section with the most recent news. The script creates the RSS news from the < h4 > subsections of this “chapter” on the fly on the new adress yourpage.com/rss/index_rss.php.

All you have to do is to download this zip file, place its content into your CMSimple root directory and modify the RSS variables at the beginning of the index_rss.php file according to your needs.

To tell the actual browsers that you offer a RSS feed on your site you'll have to add the following line to your template file:

<link rel=“alternate” type=“application/rss+xml” title=“YOUR TITLE LIKE IN INDEX_RSS.php” href=“http://yourpage.com/rss/index_rss.php”>

An existing example can be reviewed here.

Feedback and questions are welcome,


tips_and_tricks/cmsimple_rss.txt · Last modified: 2018/04/05 14:48 (external edit)
Webdesign: NMuD chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0