Veinotte's Scripts - Header
Put some power in your Web Site
Action & Interaction
with Veinotte's Scripts.
        September 08, 2008    2:23 pm AST   September 08, 2008    2:23 pm AST



Pass It On !



 Veinotte.com's
Site Wide
Directory



Ad Eagle Suite Advertising Software!

Sitemaps Generator - Readme File

Readme file for Sitemaps Generator 1.33
A Free perl program from Veinotte.com

Please note: This file is lacking and we know it. More complete documentation will
be available soon.

Sitemaps Generator is a © product of Veinotte.com
All copyright headers must remain intact, and by using this program you agree not to
alter the code or related files in any way. Redistribution of this package in whole or
in part is strictly prohibited.

=== Installation

Upload the sitemaps directory to your cgi-bin
Give the following file permissions to the scripts listed:

in the "sitemaps" directory:

drwxr-xr-x (chmod 0755) admin/
drwxrwxrwx (chmod 0777) data/

in the "data" directory:

drwxrwxrwx (chmod 0777) sessions/

in the "admin" directory:

-rw-r--r-- (chmod 0644) Sitemaps.pm
-rwxr-xr-x (chmod 0755) build.pl
-rwxr-xr-x (chmod 0755) index.cgi
drwxrwxrwx (chmod 0777) sysdata/
drwxr-xr-x (chmod 0755) templates/

In the "sysdata" directory:

-rw-rw-rw- (chmod 0666) backup.txt
-rw-rw-rw- (chmod 0666) configs.dat
-rw-rw-rw- (chmod 0666) passwd.pwd

Open the file /admin/Sitemaps.pm in a text editor (not word or some other program that will cause the file to be saved in a binary form). Notepad is fine...

my $prog_root = '/usr/web/hosts/cgi-bin/sitemaps';
That is the full system path to the directory that you uploaded the sitemaps directory to.

This is the only configuration that you need to set in this file.

Open the /admin/index.cgi file and first make sure the first line points to the
correct path to perl on your server:
#!/usr/bin/perl or /usr/local/bin/perl usually if you are on a *nix machine.

Open the /admin/build.pl file and first make sure the first line points to the
correct path to perl on your server. Then set the following variables:

my $prog_root = '/usr/web/hosts/cgi-bin/sitemaps';
Again, that is the full system path to the sitemaps directory in your cgi-bin

my $slash = '/';
You should not have to change that even on a windoze server. If you are on Windows and have a problem, try changing it to my $slash = '\';

my $admin_address = 'you@yourdomain.com';
Your email address.

my $smtp = '';
Yikes - that is not used yet. Knew I forgot something :-) For now there is no SMTP
support, but that will come soon. You must use sendmail for now ->

my $mailer = 'sendmail';
my $sendmail = '/usr/sbin/sendmail -t';

Make sure the sendmail settings are correct. We will add an SMTP option in the next
release.

Next: Log into the admin and start setting up. The url will be something like this:
http://example.com/cgi-bin/sitemaps/admin/index.cgi

Your usernamer is: sitemaps
Your Password is: temp

You will want to change that immediately.

Once you are ready to generate sitemaps, you must first set up your account with Google. Then you have to manually submit your sitmaps to them the first time each once is submitted. Also, you need to run build.pl from the command line the first time you use it, OR create a file called sitemap.gz wherever you have the program set to save your sitemap and chmod it 0666 (world writable) so the cgi script will have permission to overwrite it the next time you regenerate from your browser.


Questions? Check the new discussion forums here:
http://forums.veinotte.com
 
If you require additional support, you may purchase a members area subscription here.


 

Join our mailing list to be notified of upgrades, 
bug reports and new product additions.
Enter your email address below.


You can remove yourself at any time
http://odt.veinotte.com


  
 
            This site is a © production of Veinotte.com.
Contact Webmaster with questions or comments regarding this site.