( 9 open / 25 total )
- Support Requests
( 2 open / 5 total )
( 2 open / 2 total )
- Feature Requests
( 23 open / 30 total )
Forums ( 31 messages in 2 forums )
Mailing Lists ( 0 mailing lists )
- PHP Headliner Development
CVS Tree ( commits, adds )
PHP Headliner - Quick Start guide
The following provides minimal installation details.
PHP 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.
The next installation step is to configure the groups which you wish to provide
a portal for. Within MyConfig.php edit the
Once the groups have been configured, you must run a script whcih will generate the required
database schema. Simply execute the file
You 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
Take 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|