Results 1 to 5 of 5
  1. #1
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Creating A Site Map

    This is one of those things I just know has to be out there, but using the phrase "Site Map" to search gives me every websites site map.
    I'm looking for a simple ASP or VBScript to generate a Site Map. I like the one available at http://www.netroglycerine.com/sitemap.html, but I'd rather have my own. I don't want/need the user to generate the page on the fly, I simply don't want to have to do it manually.

    Any suggestions...
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Creating A Site Map

    I think we had a Star Post with an ASP solution. Might it still be available on line or was it too long ago?

  3. #3
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Creating A Site Map

    Alas, if it was here - its gone now...
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Creating A Site Map

    Yes, it was in the FrontPage forum:

    post 214965 : Dynamic Site Map (All Versions) : 7-Feb-03

    I think Drew posted it. Maybe we can track him down. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  5. #5
    4 Star Lounger
    Join Date
    Aug 2002
    Location
    Dallas, Texas, USA
    Posts
    594
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Creating A Site Map

    Are all the star posts gone? This one wasn't that long ago! Go figure.

    Okay, here's the strictly ASP version of the sitemap.asp page. I really don't feel like going into the complete speil about the structure.cnf file, but the gist of it is that in most cases, if you have FrontPage extensions on your site, that file should be in a hidden folder, and this asp page should just plain work when you put it in the root folder of your site. If that file is NOT there, then you have to find where front page is storing it on YOUR machine, then copy it to the site (and change the code to point to where you put it. The last function in the code is what opens and reads that file).

    There are also three 'modes' you can run it in, tabbed, bulleted and only child bullets.

    As a side note, I am currently working on a menu bar that builds itself from the navigation file (just like the sitemap). It's a work in progress right now, but if you want to see it, it should be available at http://65.240.67.21. That link won't work forever, because I am kind of 'rebuilding' our site on my development machine, so once it goes live, I'm going to stop it locally. The top part of the page is an included .asp file, which uses a VB .dll (actually, it's running in debug mode, so the site may not load if I don't have the VB programming running.... <img src=/S/grin.gif border=0 alt=grin width=15 height=15>) to get the navigation info. There is some client side scripting, which is also in process. Also, right now, that include only shows the 'main' navigation. I am working on it handling 'sub' navigation. One last item to note, as you traverse the site, a 'reverse' nav path is built in the top right of the page...that too is built from the structure.cnf file.

    Hope this helps....
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •