#############################################################################
## Personal Open Directory
##
## Configuration area
## change these variables for your site.
## 'Commented out' variables are prefixed by a single #
## Remarks/comments are prefixed by ##
#############################################################################
sub pod_init {
# This file is compatible with the following minimum version of POD
$pod_podvars=1.95;
#############################################################################
### Script configuration
#############################################################################
## Name of your script. For example, 'pod.cgi' or 'dir'
$pod_progname="pod.cgi";
## URL path to your script (ie /cgi-bin/pod/)
$pod_urlpath="/cgi-bin/pod/";
## Full path and script name
## Replace with
#$pod_fullpath="$ENV{'SCRIPT_NAME'}";
## to increase portability of the script. If you do this, you can
## ignore the settings of the two above variables.
$pod_fullpath="$pod_urlpath$pod_progname";
## To log searches, insert the full path and filename of your logfile
## into pod_logging. Comment it out for no logging (default)
#$pod_logging = "/home/lib/httpd/logs/pod_searches.log";
## Where your header.html and footer.html files are located
$pod_templatedir = "/home/user/public_html/cgi-bin/pod/";
## This variable changes the operation of the script drastically.
## If pod_usequery=1 then POD will expect to be called in the format
## of .../pod.cgi?dir=/Arts/Entertainment
## If pod_usequery=0 then POD will expect to be called in the format
## of .../pod.cgi/Arts/Entertainment
$pod_usequery=1;
## Only allow categories with the following prefixes.
## For example, 'Computers/Internet' will only allow categories with
## the prefix Computers/Internet to be listed.
## Leave commented out if you want the entire directory to be usable
## not used ATM
# @prefixes='';
## If you have a HTTP proxy you wish the script to use, please define
## it here. If pod_proxy is undefined then the script doesn't use a proxy.
#$pod_proxy="http://proxy.sn.no:8001/";
## To be 'cache friendly', the script now returns an Expires: header.
## Configure the amount of time you wish the returned HTML to be valid for
## here.
## Format: [+[lengthoftime][s|m|h|d|y]]|[now]
## E.g. +30s will expire after 30 seconds, +1d will expire after 1 day,
## +1000y will expiry in 1000 years! now will expire immediately
#$pod_expire_in="now"; # expire now
$pod_expire_in="+10m"; # expire in ten minutes
## To help identify your script to the Dmoz.org server, you can configure
## it to have a set User-Agent. You should have really no need to change
## this, but it's there if you need it.
$pod_useragent="POD_ODP/$pod_version";
## If you are having trouble with POD, set pod_debug to '1'. This will
## cause a lot of messages to appear when the script is run, but should
## help locate any problems.
#$pod_debug="1";
$pod_debug="0";
## If you know you have mod_perl installed on your server, uncomment
## this line to set pod_modperl to 1 and it will help speed up execution
## of the script.
## untested as of version 1.70d
# $pod_modperl="1";
## [new in v1.72d]
## If you use SSI to include the output of POD, then pod_headersuppress
## needs to be set to '1' to suppress the redudent headers which corrupt
## the SSI output.
# $pod_headersuppress='1';
#############################################################################
### Style configuration
#############################################################################
## Where your personal homepage is (normally the root of your domain)
$pod_myhome = "http://www.beebware.com/";
## Name of your Personal Open Directory
$pod_name = "Personal Open Directory (POD)";
## A shortened version of your POD (less than 10 characters ideally)
$pod_shortname = "MyPOD";
## The default font face (not used ATM)
#$pod_fontface = "";
## The default font size (not used ATM)
#$pod_cgi_fontsize = "";
## Change the title style
$pod_titlestyle = 'face="arial,helvetica" size="+1" color="#000088"';
## Front header title
$pod_frontheader="$pod_name";
## Include your own cool icon tag here. If you don't want any cool
## designation apart from 'bolding', then set $pod_coolicon='';
## If you want to keep the original icon, don't set this tag.
#$pod_coolicon='
';
# $pod_coolicon="<<Cool Site>>";
## If you wish to delete the little Mozzies/Lizards from the bottom
## right of the page, set $pod_killmozzie to text/image you wish to
## replace Mozzie. Set to '' for nothing to appear, or just don't set
## the tag to keep mozzie.
# $pod_killmozzie='This is a Mozzie free site';
## If internationalization isn't working by default in your POD
## then uncomment this setting:
#$pod_international=1;
## If you want the 'Editor login' box removed or replaced, enter the
## text below. Set to '' for nothing to appear, or just don't set the tag
## to keep the login box (which will redirect the user to the Dmoz server)
## not used ATM
#$pod_boxes_editorlogin="";
## If you want the 'Link' box removed or replaced, enter the
## text below. Set to '' for nothing to appear, or just don't set the tag
## to keep the default link box
## not used ATM
#$pod_boxes_linklogin="";
## Do you want the 'Become an editor' graphic or would you prefer the
## 'Standard attribution' as set out in the licence. Set the variable
## for the standard attribution - keep it commented out for the
## default operation.
## not used ATM
#$pod_boxes_attribution="";
#############################################################################
### Table configuation
#############################################################################
# pod_lighttable is the color setting of the top bar of the
# two title bars at the top of the page.
$pod_lighttable = "#FFFFDD";
# pod_lighttableb is the color setting of the bottom bar of the
# two title bars at the top of the page.
$pod_lighttableb = "#EEEEFF";
# not used ATM
#$pod_darktable = "#000088";
# pod_medtable is the color setting of the Amazon/Maxcomm bar
# only applicable if you use the Amazon system
$pod_medtable = "#FFFFCC";
# not used ATM
#$pod_tabletext = "#FFFFFF";
# pod_editortable is the background color of the bar which includes the
# names of the category editors. It is also the color of the
# description/faq section box
$pod_editortable = "#CCCCFF";
# pod_faqtable is the background color of the FAQ pages
$pod_faqtable="#f0f0f0";
# pod_faqtext is the color of the text on the FAQ pages
$pod_faqtext="red";
# pod_addtable is the background color of the table on the Add A Page
# pages
$pod_addtable="#fff00";
#############################################################################
### Amazon configuration
### Amazon automated book-linking requires use of the MaxComm script
### If you do not have access to this script, leave these variables alone
#############################################################################
## Which Amazon.Com link to use - comment out not to use auto book linking
# $pod_whichamazon = "http://www.amazon.com";
## Your Amazon associates ID
$pod_amazon_ID = "";
## Complete URL to your MaxComm script
$pod_maxcomm = "$pod_myhome"."cgi-bin/maxcomm.cgi";
## Name of your Amazon link (ie Amazon.com, Amazon.co.uk, etc)
$pod_bookstorename = "Amazon.com";
## If the links to Amazon are missing the last character, uncomment
## out the below line.
#$pod_amazon_missing=1;
}
#############################################################################
### Header and footer configuation ###
### Feel free to change this functions as appropriate to your uses. ###
### Please please keep the attribution to the authors in the code as it ###
### is a condition of your use of this software. ###
#############################################################################
sub pod_page_header{
my $pod_ph_text; my $pod_header;
$pod_ph_text="
| Help build the largest human-edited directory on the web. |
| Submit a Site - Open Directory Project - Become an Editor |
| All ODP data is Copyright 2003 Netscape. |