# Fresh News Updater Version 1.0 by Webfresh (TM) # Copyright ©1999-2000 Webfresh All Rights Reserved # # This program is being distributed as shareware. It may be used and # modified by anyone, so long as this copyright notice and the header # above remain intact, but any usage should be registered. (See the # program documentation for registration information.) Selling the # code for this program without prior written consent is expressly # forbidden. Obtain permission before redistributing this program # over the Internet or in any other medium. In all cases copyright # and header must remain intact. # # VERSIONS OF SOFTWARE #----------------------------------------------------------------------- # Only one copy of the shareware or registered version of Fresh News # Updater may be used on one web site owned by one owner or an entity. # # LICENSE TO REDISTRIBUTE #----------------------------------------------------------------------- # Distributing the software and/or documentation with other products # (commercial or otherwise) or by other than electronic means without # Webfresh prior written permission is forbidden. # All rights to the Fresh News Updater software and documentation not # expressly granted under this Agreement are reserved to Webfresh. # # DISCLAIMER OR WARRANTY #----------------------------------------------------------------------- # THIS SOFTWARE AND ACCOMPANYING DOCUMENTATION ARE PROVIDED "AS IS" AND # WITHOUT WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER # WARRANTIES WHETHER EXPRESSED OR IMPLIED. BECAUSE OF THE VARIOUS HARDWARE # AND SOFTWARE ENVIRONMENTS INTO WHICH THE FRESH NEWS UPDATER MAY BE USED, # NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. THE USER MUST # ASSUME THE ENTIRE RISK OF USING THIS PROGRAM. ANY LIABILITY OF WEBFRESH WILL BE # LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF PURCHASE PRICE. # IN NO CASE SHALL WEBFRESH BE LIABLE FOR ANY INCIDENTAL, SPECIAL OR # CONSEQUENTIAL DAMAGES OR LOSS, INCLUDING, WITHOUT LIMITATION, LOST PROFITS # OR THE INABILITY TO USE EQUIPMENT OR ACCESS DATA, WHETHER SUCH DAMAGES ARE # BASED UPON A BREACH OF EXPRESS OR IMPLIED WARRANTIES, BREACH OF CONTRACT, # NEGLIGENCE, STRICT TORT, OR ANY OTHER LEGAL THEORY. THIS IS TRUE EVEN IF # WEBFRESH IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO CASE WILL # WEBFRESH'S LIABILITY EXCEED THE AMOUNT OF THE LICENSE FEE ACTUALLY PAID # BY LICENSEE TO WEBFRESH. # ################################################################################# Distribution : - admin.cgi (Admin Control Panel) - news.cgi (News Box) - news.dat (News data) - info.dat (News Box info) - news.temp (News Box layout) - readme.txt (Documentation) Usage of Fresh News Updater is free as long as the link to Webfresh.com remains visible. If you want to remove the link you must register the software. Please see below (5.) for more information. 1. Installation a) - Open "admin.cgi" in a text editor and set the path to perl. This is generally #!/usr/bin/perl But this can be different depending on how your server is set up. Sometimes it may be: #!/usr/local/bin/perl And many other variations. If you are not sure of your path to Perl, contact your server Admin. - Then scroll down and set two variables: Your admin password and date format. b) - Open "news.cgi" in a text editor and set the path to perl (see above) - Then scroll down and set only one variable: The text you want to display if there are no news to available. c) - Create a folder on your server in your cgi-bin (or outside your cgi-bin, on some servers you are only allowed to execute cgi scripts in your cgi-bin). Name it to whatever you want. - Upload "news.cgi" and "admin.cgi" into that folder in ASCII mode. Chmod both files 755 (rwxr-xr-x) - Then create a folder called "data" in that folder you just created. (The folder must be called "data") Chmod folder "data" 777 (rwxrwxrwx or world writable). - Upload "info.dat", "news.dat" and "news.temp" into the "data" folder in ASCII mode. Chmod "info.dat" and "news.dat" 666 (rw-rw-rw) or 777 (rwxrwxrwx) if you have problems. 2. Administration Run admin.cgi from your browser (i.e. http://www.yourdomain.com/cgi-bin/news/admin.cgi) and put in your password. Everything should be self-explanatory. 3. Use Fresh News Updater You can modify the news box layout in "news.temp". You must leave the copyright notice in place if you have not registered your Fresh News Updater copy. Call the news box ("news.cgi") directly from your browser (i.e. http://www.yourdomain.com/cgi-bin/news/news.cgi) 4. Troubleshooting If you get a (server) error check : a) your path to perl (see above) b) your file permissions (see above) c) your folder name must be "data" If you are still having trouble please send an email to trouble@webfresh.com 5. Registering Registering your Fresh News Updater copy authorizes you to remove the link back to Webfresh.com in your news box. Registering comes at only US$ 19. If you want to register please go to http://www.webfresh.com/perl/fnu 6. Version 1.02 All HTML tags allowed (incl. links (yyy)) 1.01 Linebreaks allowed