SuperSimpleNews 1.0 Read Me
Introduction
SuperSimpleNews 1.0 is an Open-source (GPL2) PHP based news script which doesn't require a database as all news articles are stored in simple CSV files. As the name depicts, this is a very simple script which includes a password protected administrative backend for adding, editing and deleting articles. For editing the text the brilliant widgEditor is utilised for it's lightweight simplicity and effectiveness. Example scripts are included to get you setup quickly. RSS support is included by default.
Installation
- Copy all the files to your server location, ie www.yourwebsite.com/newsadmin/ Remember:This will be the location of your back-end admin panel not the news page (front-end).
- Locate the config file 'includes/config.inc.php' (relative to your upload folder) and enter your settings to suit your website and server configuration. You'll notice a 'news_encoding' setting which should be noted because you may have issues with your character encoding if your 'POST' encoding is different from your page encoding!
- You can now access the back-end by accessing the root of your installation folder. Enter you password and you can start adding news articles!
- You will now want to intergrate the script into your website. For this examples have been provided (see below) which demonstrate how the 'newsTools' class is accessed to display headlines and a news page.
- You don't need the 'resources' folder for the script to work on your server, this is only used for the code highlighting on this page.
Examples
When setting up your system all paths should be relative to you config and class files found in the 'includes' folder.
Headlines Example
Example News Page
Feedback
Please contact me via monkeymatt.com if you have any feedback, recommendations or have found a bug.