<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Google Sitemaps Script (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Google Sitemaps Script
#914
gwilson (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Speak Spanish Like A Gringo
Google Sitemaps Script 2 Years, 12 Months ago Karma: 0  
The following script will generate an xml Sitemap feed with Categories, Reviews pages, and additional pages (new.html, cool.html, etc).

Installation: Upload the script to the same directory as the file 'directory'.

Modification:

The following values can be easily changed:

$weight_main = 1;
$weight_category = .9;
$weight_review = .5;
$weight_additional = .2;

# Additional pages to include in sitemap
$additional_pages = array('new.html','cool.html','popular.html','add.html','about.html';

Note, additional pages will all be in the same path as the main 'directory' file. You will need to create additional sitemaps for other directories or packages (e.g. WordPress).

Add your sitemap to the relevant places, e.g. http://www.google.com/webmasters/tools/

For more information see http://www.sitemaps.org/
File Attachment:
File Name: sitemap.zip
File Size: 1135
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008