DynaPrime
Automatic RSS to HTML
version = "1.1"
----------------------------------------
Like this script? Stay tuned to www.ow10.com for updates
and announcements of new products or join our RSS feed at:
http://www.ow10.com/prodfeeds/ow10.xml
Read Me
----------------------------------------
* Disclaimer
* Overview
* Requirements
* License Key
* Installation
* How to Setup a Cron Job
* Help
Disclaimer:
----------------------------------------
// -----------------------------------------------------------------------------
//
// DynaPrime
// Automatic RSS to HTML
//
// Copyright(C), OneWay Advertising and Design, 2005-2007, All Rights Reserved.
// © 2005 - 2007 OW10.com onlineWEBTOOLS http://www.ow10.com
// E-mail: ow10@ow10.com
//
// All forms of reproduction, including, but not limited to, internet posting,
// printing, e-mailing, faxing and recording are strictly prohibited.
// One license required per site running DynaPrime RSS to HTML.
// To obtain a license for using DynaPrime RSS to HTML, please register at
// http://www.dynaprime.com/
//
// OW10.com accepts no responsibility or liability
// for damages however caused when using our services or scripts.
// By downloading and using this script you agree to the terms and conditions
//
// 11:08 PM 08/14/2006
// version = "1.1"
//
// -----------------------------------------------------------------------------
Overview:
----------------------------------------
Requirements:
----------------------------------------
* OS: Unix, Linux, Windows NT/2000
* WWW Server: Apache 1.3x+ or other
* PHP: 4.0+
* MySQL: 3.23.xx+
* Setup Cron Job [Task Scheduler on Windows]
License:
----------------------------------------
Script runs in demo mode until a license key is purchased.
License key must be manually added to serial.php.
Replace the demo number with your purchased
license key for full functionality.
1234-5678-1234-5678 // License Key
Installation Instructions:
----------------------------------------
Upload all files as BINARY using Cute FTP or other FTP program.
Do not use Dreamweaver or other Web Programs as this will
cause the code to not work.
Part ONE: Setup the Database
----------------------------------------
[1] Make a database, take note of the full name of the
database. If you create a password / login for the
database - write this down, too - otherwise just
use your FTP website login and password
[2] Go to PHP My admin and select your database
[3] Click the SQL tab [on some versions of PHPMyAdmin
click the Import Tab]
[4] Click the browse button and go to the DynaPrime files on
your hard drive:
docs > db_structure.sql
[5] Click Go. Your database is now created.
[6] Close the PHP My Admin
Part TWO: Installation
----------------------------------------
[1] Unzip the files and upload in BINARY to your server
[2] Edit ./inc/db_config.php file
Note: the URL has a trailing / and is encased by tick marks [ ' ]
'http://www.YOURDOMIN.com/DynaPrime_FOLDER/'
Remember to add the folder where you uploaded the script
followed by the trailing slash. If you upload directly to
your root folder then just put your URL followed by
the trailing slash.
Here are the fields you can change in db_config.php file:
define('SITE_URL','http://www.YOURDOMIN.com/DYNAPRIME_FOLDER/');
define('LIMIT_1LOGIN', 1);
define('ADMIN_LOGIN','adm');
define('ADMIN_PWD','adm');
define('DB_HOST','localhost');
define('DB_USER','root');
define('DB_PWD','password');
define('DB_NAME','database');
[3] CHMOD ./tmp folder to 777
[4] Setup Cron Job
[5] Test your site: http://www.YOURDOMIN.com/DynaPrime_FOLDER/
When setting up a FTP account and Seaved Feeds - refer to "Getting Started"
at: http://www.dynaprime.com/getting_started.html
Part THREE:
How to Setup up the Cron Job
----------------------------------------
You have to setup Cron Job (Task Scheduler on Windows) entry for /cron.php
to be run at regular intervals (hourly).
Windows server:
Go into the Control Panel and find the Scheduled Tasks icon. Once in there
you need to create a new task, there should be a wizard in there to take you
through step-by-step. For the command to run you need to enter something
like c:\php4\php.exe c:\pathto\cron.php
UNIX/Linux server:
[1] The 1st and simplest way is to add Cron Jobs is to use
one of these commands:
wget -q --delete-after http://www.YOURDOMIN.com/DynaPrime_FOLDER/cron.php
curl -s http://www.YOURDOMIN.com/DynaPrime_FOLDER/cron.php
[2] The 2nd way is to setup it as command-line shell script :
Update first line to point to php location
#!/usr/local/bin/php or #!/usr/bin/php
Ask your hosting provider if you are not sure.
- cron.php should be uploaded in ASCII mode (not BINARY)
- make it executable (755)
- add cron.php to Cron Jobs (you need to enter full path to it).
Cron jobs can normally be configured from your hosting control panel. If you
have trouble ask your hosting provider how to setup this script to be
executed automatically once a day.
----------------------------------------
All rights reserved. © 2005 - 2006 OW10.com / Online Webtools