Random content script

A simple script for random html publishing.

About

This is a "plug-in" / "add-on" for a web site. It is an easy way to make something happen on some page that would otherwise remain static.

What it does

This software publishes content selected from a list onto a single page. It can show anything from small quotes to full html pages.

Let's say it publishes "messages": The software may show just one particular message. Or, say, a random rotation of messages 2, 8, and 87 out of 100 available messages. Or, all of them. Or, a default page.

Documentation

Technical information

There are 4 php files, each file has the necessary information in the source code


With version 0.1.2 comes css support, and an extra file:


Technical requirements

For a web site visitor, the only requirement is a browser that can render html. Any browser, that is.

To customize the software you will need a text editor.

A developer may find it nice to know some php, html, javascript, css.

Try it

Demo

Install and uninstall

To install the software, first unzip the downloaded file to an empty folder on your pc. Then, upload this folder to your web server. See "index.php" source code for instructions on how to include mb: in a web page.

To uninstall the software, just delete the software files.

It's easy.

Download

License

All download, use, and modification of this software is subject to the W?F! license. By downloading, using, or modifying this software you declare your acceptance of all license terms.

Versions

Current version

The most recent version is 0.1.2 - this version does not require database software.

Version history

Version 0.1.2 (2017-02-11)
- added mini html template generator, and css support
Version 0.1.1 (2017-02-10)
- improved usage example list (mb_msg_db)
Version 0.1.0 (2017-02-06)
- first, fully functional prototype