Sitemap...

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
Hi all

I have to include a sitemap in my project. I am however having problems understanding what I exactly put into the sitemap. So far I have added the sitemap item to my project. What I don't understand is what exactly do you put into the sitemap, i.e. is it simply identify the various links per page, and add them as sitemapnodes under the sitemapnode for the page. Or do I just add random items to the sitemap?

Mike55.
 
The sitemap is simply the logical structure of your site Rather than hard code links into every page (or rely on on server side code like response.redirect or server.transfer) to manage the navigation the sitemap defines this structure.

You would then use it alongside a sitemap datasource and either a menu or treeview control on your pages.

I would recomend you look at the 'Personal Web Site Starter Kit' that ships with VS as it includes a sitemap along with a menu as part of the masterpage that should give you an idea of how they work.
 
Back
Top