Xtreeme - web development software
Site Search:      

 German version  
Home Products Download Buy Now Affiliates Forum
 SiteXpert - Site Map Generator
 SiteXpert's home page
 Features / Editions (Std vs Pro)
 Download
 Creating sitemap / site index
 Creating DHTML drop-down menu
 Creating search engine
 Screenshots
 Site Map Styles / Samples
» Site map
» Site index
» Portal
» Diagram
» Java Applet
» Mega folders
» more...
Sample site maps / menus created with SiteXpert
 Buy Now / Pricing
Order Now and get DHTML Menu Studio for Free ...
 Reviews And Awards
» CNET's Download.com (Rewarded 5/5)
"...Xtreeme SiteXpert Professional is a solid and affordable tool for Web professionals"
» Internet.com
"...the program can reduce the work load dramatically..."
» Tucows (Head of the Herd Award)
"...assists you in creating an excellent navigation scheme for your website..."
» ZDNet (Awarded Editor's Pick)
"...you'll be impressed with the results."
» more...
 Our customers
 Web sites utilizing our site map software
 Some of our other customers
 Support
 Frequently asked questions
 Discussion Forum
 Dynamic sitemap creation
 Related products / resources
 DHTML Menu Studio
 Search Engine Studio
Question ID: Q1048
Question: How can I create a Google Sitemap / How can I make sure Google indexes all web pages on my website?
Product: Sitexpert


Google sitemaps are a great mechanism to make sure your whole web site gets indexed by Google and other search engines. Even if your website uses a navigation based on JavaScript (e.g. DHTML menu-based), all the pages get indexed.

With SiteXpert you can easily create a Google sitemap (plus you can automatically have it updated periodically to reflect changes in your website). To do this, simply choose the Google Sitemap style in options/style (with v8 you should choose "GoogleSitemap" in options/schemes). With this configuration, the program will output a Google sitemap in form of an XML file.

If using v9 of SiteXpert, you can also export other information into the sitemap, such as last modification date, document priority or update frequency. In Options/Google Sitemap you can decide which information is to be exported, and in the main window (layout tab) you can set/change these properties for every document. Please note that re-indexing will remove your modifications only if 'erase old layout before starting layout wizard' is selected in the last step of layout wizard.

Click here to find out more about Google sitemaps

Note: if you are using version version earlier than 8.0.1 of SiteXpert, you will not find the "GoogleSitemap" scheme included with the program. In such case, first change the output style in options/style to "custom XSLT style". Then change the tab to "XSLT properties" and in "XSLT transformation script" enter:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text" version="4.0" omit-xml-declaration="yes"/>
<xsl:template match="/">
  <![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]>
  <xsl:text>&#10;</xsl:text>
  <![CDATA[<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">]]>
  <xsl:text>&#10;</xsl:text>
	 <xsl:apply-templates />
  <![CDATA[</urlset>]]>
</xsl:template>
<xsl:template match="node">	
	<xsl:choose>
		<xsl:when test="string-length (@href) &gt; 0">
			<xsl:text>&#9;</xsl:text>
			<![CDATA[<url>]]>
			<xsl:text>&#10;</xsl:text>
				<xsl:text>&#9;</xsl:text>
				<xsl:text>&#9;</xsl:text>
				<![CDATA[<loc>]]><xsl:value-of select="@href"/><![CDATA[</loc>]]>
				<xsl:text>&#10;</xsl:text>
			<xsl:text>&#9;</xsl:text>
			<![CDATA[</url>]]>
			<xsl:text>&#10;</xsl:text>			
		</xsl:when>	
		<xsl:otherwise>
		</xsl:otherwise>
	</xsl:choose>	
	
	<xsl:apply-templates select="node"/>
</xsl:template>
</xsl:stylesheet>
 Save This Page       Copyright 1998-2007 Xtreeme GmbH