RSStatic v0.1.3 Please read the license agreement located at http://www.rsstatic.com/license.php The author credit (RSStatic and CAD Website Design) must remain at the bottom of the script to receive free support for this script. Support for the script can be found at http://www.rsstatic.com/phpbb2/ How It Works RSStatic uses common php functions to generate static html pages for each item in RSS feed(s) of your choice. You can select multiple feeds and give each their own section name. INSTALLATION ----------[Upload]---------------------------------------------------------------------- Upload all the files contained in the rsstatic folder (retaining the directory structure) to a web accessible directory on your server or hosting account. You may change the name of the folder if you wish. All .php, .inc, .sql, .cfg and .htm files should be uploaded in ASCII mode, while all graphics should be uploaded in BINARY mode. ----------[CHMOD]----------------------------------------------------------- CHMOD your new rsstatic folder (or whatever you have named it) to 777. CHMOD the file located at yourfoldername/createdir.php to 777. ----------[CONFIG]----------------------------------------------------------- Open the config.ini.php file included in the download in any text editor of your choice and edit the following variables to match your site and RSS feeds: ----!!!! $sitedomain,$folder,$rsspath !!!!---- These 3(three) variables no longer need to be edited, they are generated for you via the path.inc script. If you would still woul like to see this information you can point your browser to http://youinstallation/path.php $sitetitle - Will be used throughout the program in the title tags of the generated pages. Affords you the ability to "brand" each page's title with your site's tagline and name. $datefolder - By setting this to true, RSStatic will try to archive the RSS items by month and by year. So instead of an article going to http://www.rsstatic.com/article.html, it may point to http://www.rsstatic.com/jan05/article.html NOTE: You no longer need to run the dateinstallation.php for this feature to work. $fileextention- The file extention you want to use for the files created by RSStatic. For instance, if you want to run PHP code in your template you can change this to ".php" $urls - This is where you input the links to the RSS feeds you want to use. You can add as many as you like. Each feed gets its own section heading, also contained in this array. Format: "http://www.your.com/link.rss" => "My News", --------[TEMPLATE Modification]------------------------------------------------------- RSStatic runs off of 1(one) templete in the $teml variable included in the template.php file. Simply add the following 3(three) place holders to your template and replace the information found in the $templ variable. All place holders can be used where needed. %sitetitle% - Found in the title tag of the default template. This will combine both your information from the $sitetitle variable found in the config.ini.php and the title of the article. %content% - This the the body of your article pages. It is actually the text found in the description of RSS feeds and creates a link to the complete article from which the RSS originates. %desc% - This applies the appropriate copyright and other legal information pertaining to the RSS feeds you have chosen. %deltitle% - A delimited version of title used anywhere in the template you like, possibly used in search queries. Probable examples would be +,_,%20,-,= Any template modifications beyond these are up to you. --------[Requirements]----------------------------------------------------------------- This script has been tested on multiple Linux servers running PHP 4.3.10, and Appache 1.3.33.No testing has been done under Windows. Any feedback concerning Windows servers is appreciated: scott@cadwebsitedesign.com