Webica Web Page
Copyright protected.© 1999-2008 Webica Ltd. All rights reserved.
Webica Ltd is a privately owned independent U.K Company No. 3832693 .
Website signifies your agreement to the Terms of Use. Acknowledgement Microsoft™ is the trademark of Microsoft Corporation Inc.
 
 
2.0
 
BROWSE E-CHAPTERS
Back to top
back to top
A Google sitemap is an XML file with a format that Googles’ robots expect to find in a particular folder in you site.

Easiest way to easily create a Google sitemap is from a database, here’s what you need. Create one database table with four columns; name the columns to match the protocol
(click PDA control for SQL and C# code)
The database table columns are called loc, lastmod, chagefreq and priority; these correspond to the tags required in the file, this is also known as the protocol, see the Webica.net sitemap here.
You need to have a stored procedure that will return the records in the table, each record in the table will hold the URL of page you want to be in the sitemap.

Then you need to create a method that returns a Dataset in one of your project classes. Let's suppose you name the method (or function) GoogleSiteMap. The final step would be to place a call to this method in e.g. in the page load event of a page you have specifically for creating the Sitemap, ( the page doesn’t have to do anything except call the method which returns the dataset which is then used to create the Sitemap ( called sitemap.xml here) in the directory of your choice (called xml here)

DataSet ds = new DataSet();
ds = a.GoogleSiteMap();
ds.WriteXml(Server.MapPath("xml\\site.xml"),
XmlWriteMode.IgnoreSchema);

Sample Google SiteMap here























June 16
&
Content Management Controls How to create a database driven Google sitemap
 
Code
Listing All Titles for Content Management Controls
To view please select a title from the list below
Fourth Generation Content Management Systems and Information Processing
online editors via wizards
Enhanced office document ActionPanes
Accessibility Web Page Testing for Developers
Two new content engines launched for the Web, built with .Net
Relanzamiento europeo de Webica para .NET.
Experimenting with Google and Multi-lingual Advertising
Positioning Advertisements (ads) Programmatically with ASP.NET
Switching Advertisements (ads) ON and OFF Programmatically with ASP.NET
How to create a database driven Google sitemap
Improve your site Ranking - link to webica.net
Do you need Keywords to be found - GET YOUR MESSAGE OUT THERE
Can you make every word count with the ultimate CMS
hairy ball tampering BBC1 new years eve
hairy ball tampering BBC1 new years eve
hairy ball tampering
Custom Server Controls for CMS2002
Custom Server Controls
CS2002 server extensions
CS2002 server extensions
Microsoft Content Management Server 2002
Using recommended Keywords to be found
What is Content Control
Conditionally displaying an image
Content Management System

Portals vs Content Management Systems
Contact
Google
WWW WEBICA.NET
Search all Google Indexed pages on Webica.net
ASP.NET C# quiz engine planned
International Headline News
For those who know that .NET and the WEB can be beyound your reach, but that they remain within your grasp.