DotDragNet Forum Feed Leecher Purpose : To display the last 5 threads updated at the Dotdragnet forums in a web page Version : 1.0 (22/03/2002) Author : James Blatchford (http://www.jard.co.uk/scripts/) COPYRIGHT NOTICE ---------------- Copyright (c) 2002 James Blatchford, All Rights Reserved. This script may be used and modified free of charge by anyone so long as this copyright notice and the comments above remain intact in this and all accompanying files. By using this script and its associated files, you agree to indemnify James Blatchford and all other interested parties from any liability that might arise from its use. Selling the code for this program without prior written consent is expressly forbidden. Obtain permission before redistributing this script over the Internet or in any other medium. In all cases copyright and header must remain intact in all files. James Blatchford also requests that should you make any improvements to this script, please be kind enough to let me know so that I may improve this script for the rest of the people who use it. DESCRIPTION ----------- This script will grab a listing of the last 5 threads updated in Dotdragnet's forums (http://www.dotdragnet.co.uk/forum/) and allow you to embed it within a web page in any way that you see fit. SETTING UP THE SCRIPT --------------------- This script consists of two files: - readme.txt (this file) - ddnnews.pl (the news grabbing script) Open the .pl script (ddnnews.pl) in any plain text editor (such as Windows Notepad) and modify the first line of the script to point to the path to Perl on your server (e.g. #!/usr/bin/perl) if you don't know what the proper path is, please check with your host or server admin. Then upload ddnnewsgrab.pl to your cgi-bin (if your server only supports the .cgi extension, you can rename it to ddnnews.cgi. Remember to upload it in ASCII (text) format. If you are using a Unix or Linux server then the script should be CHMODed to 755. (CHMOD means to change the file security permissions. In most FTP software you should be able to right-click on the files and either Set Properties, Set Attributes or Set Flags. In the resulting dialogue box you should be able to change the file permissions, 755=RWXR_XR_X, 644=RW_R__R__) HOW TO USE ---------- Install the script as described above. You should now be able to run it via your web browser by typing its address in, eg: http://www.yourserver.com/cgi-bin/ddnnews.pl You could embed it within a web page using SSI (Server Side Include). First of all type the SSI command into your HTML page, eg: (you may need to change this address on the line above) And then most hosts require you to rename your page to give it a .shtml ending, before the SSI command will work.