|
A start to automated site building Freeware Version 1.1 Description eg. If your keyphrase is "free sex pics" then the file name will be free-sex-pics.html This script is at the heart of automated page building and can be modified extensively. Anyone looking to get into page / site automated building? This could be the start you're looking for. You can learn more about PHP by taking the FREE course over at Script School Features • Generates 1 - unlimited amount of pages. • Fully customizable. • No experience required to set up (should be pretty easy!). • No limit to the number of pages you can generate. • Script to clean up the files. Working Example Here's a demo to the script running on my server, where you can see it generating pages. Go to the page below... Example: And then click on "Create". You'll then see a read-out from the script telling you the pages it has created. You can then go and take a look at those pages by clicking on them from this screen. What the script did was to take this text file: See the text file And then read the keyphrase on each new line and make a webpage from those words. Download & Installation Download the latest version HERE. 1) Download and unzip these files to a folder on your hard disk. 2) Create a folder on your webspace called /insert/ This is where the script will run from. CHMOD this folder to 777. 2) Open up items.txt and add a different keyphrase to each line of this file. You can get them in here any way you like. NOTE: This file must be uploaded in ASCII every time you change it. 3) Upload all of the files to the insert/ folder in FTP. 4) Edit settings.php to pick the folder name you want the script to make the new pages in. Eg. my-pages/ 5) To run the script - go to www.doman.com/insert/index.html ... in your browser. You'll then be able to generate the pages. Customizing the template: If you open up insert.php, look for this part of the script: $html_page = "<HTML> <HEAD> <TITLE>$keyphrase</TITLE> <META name=\"description\" CONTENT=\"$keyphrase\"> <META name=\"keywords\" CONTENT=\"$keyphrase\"> </HEAD> <BODY BGCOLOR=\"#000000\" TEXT=\"#FFFFFF\" LINK=\"#FF0000\" ALINK=\"#FF0000\" VLINK=\"#FF0000\"> <CENTER> <H1>$keyphrase</H1> Great $keyphrase page. </CENTER> </BODY> </HTML>"; You should recognize that as a regular HTML page. Wherever you want the phrase to appear, just add $keyphrase and one strange note - wherever you have " - you must put \ before them - as I have above. It's so that the script does not think that the " is part of the program. Enter Tom's Newbie Booster here More tips, scripts and help... |