sitemaps - should we be using Google's sitemaps

Discussion in 'ASP .Net' started by JJ, Jul 8, 2006.

  1. JJ

    JJ Guest

    I'm playing aournd with my first 2.0 web site and looking at the
    Web.sitemap file.

    It seems there's a lot of publicity at the moment about Google's sitemaps
    and how they are supposed to get your site more likely to be indexed.

    Do we therefore use Googles, the standard web.sitemap file, or both??
    If anyone has used the Google version, is there any way of getting it to
    work with the TreeView and SiteMapPath controls?

    JJ, Jul 8, 2006
    1. Advertisements

  2. JJ

    Guest Guest

    The ASP.NET 2.0 Web.sitemap has absolutely NOTHING to do with a google
    sitemap. Yes, google sitemaps work, when properly constructed.
    Guest, Jul 9, 2006
    1. Advertisements

  3. You're kind of comparing apples to oranges.
    Google's site maps serve a fairly different purpose than ASP.NET's site
    Generally ASP.NET's site maps are not directly exposed to the internet, they
    are just used for internal plumbing.
    I can envision writing some code that reads ASP.NET's site map and outputs a
    dynamic Google site map. That might be cool.
    Steve C. Orr [MVP, MCSD], Jul 9, 2006
  4. JJ

    JJ Guest

    I might do just that....

    I'll let you know how I get on. Incidentally, what are the security concerns
    if you do allow web access to your asp .net sitemap file?

    JJ, Jul 9, 2006
  5. As long as it's read-only access I can't think of very many security
    concerns unless you're taking advantage of some of the advanced features
    such as role filtering.
    Steve C. Orr [MVP, MCSD], Jul 9, 2006
  6. JJ

    JJ Guest

    Thats what I thought.

    I've found this code by Bertrand Le Roy
    - that generates the google sitemap from the current web.sitemap. It even
    gets the lastmoddate from the physical file if it isn't set.
    I think I'll use something like this to handle Google sitemap, and use the
    asp web.sitemap for generating menus etc.

    JJ, Jul 9, 2006
  7. JJ

    JJ Guest

    Actually I think I see what you may mean and what the security concerns

    If I have limited access pages, should I include them in my web.sitemap
    If my menu system feeds of my web.sitemap, how could I only show those menu
    items that an authorised user should see.....??
    JJ, Jul 9, 2006
  8. JJ

    Guest Guest

    Guest, Jul 9, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.