####################################### # UserFriendly - Daily Static Grabber # ####################################### Scripting by Stuart Loh (Inferno) stuloh@bigfoot.com http://www.zipworld.com.au/~stuloh/journal - Version 1.0 - What's This? ------------ A really really simple perl script that allows you to embed a daily fix of userfriendly (www.userfriendly.org) into your web page. Requirements ------------ * Perl Interpreter installed on Web Server * Access to a designated CGI-BIN dir * LWP (Perl) Module Installed * Usage of the SSI "exec" command Install Guide ------------- This script inserts a picture of the current day's userfriendly comic strip. It inserts the pic at the point you call the script via an SSI "exec" command. Note, for this, your web page should have the extension .shtml (this tells the server to parse the page for SSI tags). 1. Create your HTML page, giving it a .shtml extension. 2. Copy the getuserf.pl perl script into your cgi-bin. If you are FTPing it, make sure you do it in ASCII mode. 3. chmod 755 the script. This can be done by telnetting in to your shell account and typing "chmod 755 getuserf.pl" or, even easier, using your FTP program. 4. Insert the appropriate SSI exec tag into your .shtml page. Eg: (change path to suit where you've stored the script) The userfriendly comic pic will appear in the place this tag is put. 5. That's it! Enjoy. Oh, one more thing -- be sure to create a link to www.userfriendly.org for credit! Queries? Bugs? -------------- ICQ : 766185 E-Mail : stuloh@bigfoot.com Web : http://www.zipworld.com.au/~stuloh/journal/