PHP Headliner |
|
- Bugs
( 9 open / 25 total )
- Support Requests
( 2 open / 5 total )
- Patches
( 2 open / 2 total )
- Feature Requests
( 23 open / 30 total ) - PHP Headliner Development |
PHP Headliner - Quick Start guideQuick StartThe following provides minimal installation details. Installation
Scheduled tasksPHP Headliner needs to be able to periodically load articles from the news server. Also, the cache and read-articles lists need to be purged periodically. The two PHP files in the tasks directory should be executed periodically, this is best done through a cron job, for example: # Every five minutes, query the news server */5 * * * * /usr/bin/php ???/headliner/tasks/synchronise.php # Every night purge the caches 0 1 * * * /usr/bin/php ???/headliner/tasks/purge.php Your must of course replace the '???' above with the installed location of PHP Headliner. A cron job is a scheduled task that is created by inserting an entry into a crontab. Access to the crontab in order to create cron jobs is a typical feature of most commercial Linux/Unix hoting packages. If you do not have access to this facility, you should ask your service provider whether they can provide it. If you do not have access to a crontab or other means of scheduling the above scripts, you can edit 'index.php' at the commented lines so that the news server is querried each time the page is loaded. However, this is not an ideal solution as it will make your site run a bit slower. Configure groupsThe next installation step is to configure the groups which you wish to provide
a portal for. Within MyConfig.php edit the Construct SchemaOnce the groups have been configured, you must run a script whcih will generate the required
database schema. Simply execute the file TestYou should now be able to navigate to your installation directory of Headliner and see the list of groups which you
configured. In order to populate these groups perform an initial run of the schedule task WarningTake great care before creating a portal for an existing USENET newsgroup. You should ensure that the current users of the group are happy for you to create a web-based portal for their group. Take even more care if you permit anonymous posting. |
| © Colin Eberhardt | |