#######################################################################
#							              # 
#                   News Publisher Upgrade Readme	              #
# 	                                                              #
#                    Created by Grant Williams                        # 
#					                              #
# Created on:  6/18/99          Last Modified on:  6/18/99            #
# I can be reached at:          gcw07@ionet.net                       #
# Scripts Found at:             http://www.roosh.com/news_publisher/  #
#######################################################################
# Please use the forum at the site for support questions and not      #
# email them. The forum is checked often.	                      #
#######################################################################
# COPYRIGHT NOTICE:						      #
# 								      #
# Copyright 1999 Grant Williams    All Rights Reserved.               #
#								      #
# This program may be used and modified free of charge by anyone, as  #
# long as this copyright notice and the header above remain intact.   #  
# By using this program you agree to indemnify Grant Williams from    #
# any liability that might arise from it's use.                       #
#								      #
# Selling the code for this program without prior written consent is  #
# expressly forbidden. Obtain permission before redistributing this   #
# software over the Internet or in any other medium.  In all cases    #
# copyright and header must remain intact.                            #
#                                                                     #
#######################################################################

First you must configure the file called 'upgrade.cgi'. This is pretty simple.

require "config.cgi";
	This should point to the config.cgi script.

$UpgradeScriptUrl = "upgrade.cgi";
	This is the URL that points to upgrade.cgi. If you are leave the upgrade.cgi
	named that, you don't need to edit it.

______________________________________________________________________________

		     UPGRADING FROM 1.05, 1.05a, OR 1.05b
______________________________________________________________________________

Run the script and then click on the button. It will upgrade your information to
work with version 1.06. DO NOT RUN IT MORE THAN ONCE. IT WILL DELETE YOUR NEWS. 
Please make a backup of the news files(eg. 1.news, 2.news, etc.).
______________________________________________________________________________
			UPGRADING FROM 1.04a or BELOW
______________________________________________________________________________

Now run the script. Click on the button called "Upgrade Now!". This will update
the authors file, autolink file, news file, and configuration file. Once you have
run this program, you need to go configure the news script. 

Once the news script is configured upload it and run it. Log in as an admin and 
select "Update News File" from the menu. This will create the new files you will 
call with the SSI calls. Once these files (1.viewn, 1.viewh) have been created, you
should update your SSI calls. They should now be something like:

<!--#include virtual="data/1.viewh"-->  # this is to the headlines file (viewheadlines.txt)
<!--#include virtual="data/1.viewn"-->  # this is to the news file (viewnews.txt)

Now that you have updated the SSI calls, go into the data directory and delete the old 
view files (viewnews.txt, viewheadlines.txt). The very last thing you should do is go into
the archives directory and delete all the old archives. All the new archives end with the 
extension of ".archive". The new archive SSI calls will be something like this for monthly:

<!--#include virtual="data/archives/(1)1-99.archive"-->  

For weekly it would be something like this:

<!--#include virtual="data/archives/(1)1.1.99-1.7.99.archive"-->

That should be it. Everything should now be updated to the current version. Enjoy.