Sitemap generator

Discussion in 'Search Engine Optimization' started by king_cobra, Sep 8, 2005.

  1. #1
    Can you suggest me any decent sitemap generator s/w (Freeware). i tried Xenu. its cool, but reports timed out very often.

    which one do u use?

    PS: i am not talking abt Google sitemaps.
     
    king_cobra, Sep 8, 2005 IP
  2. swd

    swd Guest

    Messages:
    294
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    swd, Sep 8, 2005 IP
  3. dcristo

    dcristo Illustrious Member

    Messages:
    19,797
    Likes Received:
    1,201
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    5
    #3
    Hey swd, can you provide an example of a sitemap this tool created?

    How does it work, do you have to provide each specific URL to generate the sitemap?
     
    dcristo, Sep 8, 2005 IP
  4. swd

    swd Guest

    Messages:
    294
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You just need to put in your main url, example : www.abc.com then click on Index - it will index in your sitemap all the pages it can find. You can also specify to exclude some pages, directories and so on.

    I cant specify any examples but I used it to create my 7MB sitemap that I submitted to Google and got no errors :)
     
    swd, Sep 8, 2005 IP
  5. dcristo

    dcristo Illustrious Member

    Messages:
    19,797
    Likes Received:
    1,201
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    5
    #5
    Thanks for the info dude :)
     
    dcristo, Sep 8, 2005 IP
  6. SaN-DeeP

    SaN-DeeP Well-Known Member

    Messages:
    590
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    140
    #6
    try GSiteCrawler, i am impressed with there meta data information included in sitemaps.
     
    SaN-DeeP, Sep 8, 2005 IP
  7. pcdoc

    pcdoc Active Member

    Messages:
    690
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    70
    #7
    pcdoc, Sep 8, 2005 IP
  8. swd

    swd Guest

    Messages:
    294
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Endsheet can also include meta info
     
    swd, Sep 8, 2005 IP
  9. lorien1973

    lorien1973 Notable Member

    Messages:
    12,206
    Likes Received:
    601
    Best Answers:
    0
    Trophy Points:
    260
    #9
    I use gsitemap. It eats a TON of resources but spiders a site pretty quickly and makes a sitemap for you.
     
    lorien1973, Sep 8, 2005 IP
  10. king_cobra

    king_cobra Peon

    Messages:
    373
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    but i told u, i am not metionaing abt google sitemap. i asked for normal sitemap generator which crawls pages, prvides a tree structure of links with page titles as anchor text.
     
    king_cobra, Sep 8, 2005 IP
  11. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Yeah I had been using Vigo Gsitemap but I found Gsitecrawler the other day and like the way it works. Also allows you to export to templates extremely easily, so it is good for publishing html sitemaps from the same crawl etc.

    I have been creating new maps for my sites with it, and have not had any problems.
     
    aeiouy, Sep 8, 2005 IP
  12. duncan pollock

    duncan pollock Peon

    Messages:
    86
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    duncan pollock, Sep 10, 2005 IP
  13. jdice

    jdice Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    hi...I uploaded googlesitemap generator. Everything appears fine on my site. And googlesitemapcategoriess.php is also reading fine for google. But google gives me an error when I submit googlesitemapproducts.php. this is the error:

    Invalid date
    An invalid date was found. Please fix the date or formatting before resubmitting.

    What do I change?

    Here is my googlesitemapproducts.php page
    <?php
    	/**
    	 * Google Sitemap Generator
    	 * 
    	 * Script to generate a Google sitemap for osCommerce based stores
    	 *
    	 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
    	 * @version 1.2
    	 * @link http://www.oscommerce-freelancers.com/ osCommerce-Freelancers
    	 * @copyright Copyright 2006, Bobby Easland 
    	 * @author Bobby Easland 
    	 * @filesource
    	 */
      
    	/*
    	 * Include the application_top.php script
    	 */
    	include_once('includes/application_top.php');
    	
    	/*
    	 * Send the XML content header
    	 */
    	header('Content-Type: text/xml');
    	
    	/*
    	 * Echo the XML out tag
    	 */
    	echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
    ?>
     <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <?php
    
    	/*
    	 * Define the uniform node function 
    	 */
    	function GenerateNode($data){
    		$content = '';
    		$content .= "\t" . '<url>' . "\n";
    		$content .= "\t\t" . '<loc>'.trim($data['loc']).'</loc>' . "\n";
    		$content .= "\t\t" . '<lastmod>'.trim($data['lastmod']).'</lastmod>' . "\n";
    		$content .= "\t\t" . '<changefreq>'.trim($data['changefreq']).'</changefreq>' . "\n";
    		$content .= "\t\t" . '<priority>'.trim($data['priority']).'</priority>' . "\n";
    		$content .= "\t" . '</url>' . "\n";
    		return $content;
    	} # end function
    
    	/*
    	 * Define the SQL for the products query 
    	 */
    	$sql = "SELECT products_id as pID, 
    								 products_date_added as date_added, 
    								 products_last_modified as last_mod, 
    								 products_ordered  
    					FROM " . TABLE_PRODUCTS . " 
    					WHERE products_status = '1' 
    					ORDER BY products_last_modified DESC, 
    					         products_date_added DESC, 
    									 products_ordered DESC";
    	
    	/*
    	 * Execute the query
    	 */
    	$query = tep_db_query($sql);
    
    	/*
    	 * If there are returned rows...
    	 * Basic sanity check 
    	 */
    	if ( tep_db_num_rows($query) > 0 ){
    
    		/*
    		 * Initialize the variable containers
    		 */
    		$container = array();
    		$number = 0;
    		$top = 0;
    
    		/*
    		 * Loop the query result set
    		 */
    		while( $result = tep_db_fetch_array($query) ){
    			$top = max($top, $result['products_ordered']);
    			$location = tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $result['pID'], 'NONSSL', false);
    			if ( tep_not_null($result['last_mod']) ){
    				$lastmod = $result['last_mod'];
    			} else {
    				$lastmod = $result['date_added'];
    			}
    			$changefreq = 'weekly';
    			$ratio = ($top > 0) ? ($result['products_ordered']/$top) : 0;
    			$priority = $ratio < .1 ? .1 : number_format($ratio, 1, '.', ''); 
    			
    			/*
    			 * Initialize the content container array
    			 */
    			$container = array('loc' => htmlspecialchars(utf8_encode($location)),
    								 				 'lastmod' => date ("Y-m-d", strtotime($lastmod)),
    								 				 'changefreq' => $changefreq,
    								 				 'priority' => $priority
    												);
    
    			/*
    			 * Echo the generated node
    			 */
    			echo generateNode($container);
    		} # end while
    	} # end if
    	
    	/*
    	 * Close the urlset
    	 */
    	echo '</urlset>';
    
    	/*
    	 * Include the application_bottom.php script 
    	 */
    	include_once('includes/application_bottom.php');
    ?>
    HTML:
    :
     
    jdice, Oct 19, 2009 IP