Page 1 of 3 123 LastLast
Results 1 to 15 of 36
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    Drew - love the idea, sounds great, but I've not used any ASP before - what do I do with it, please?! <img src=/S/confused.gif border=0 alt=confused width=15 height=20>
    Beryl M


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

    Re: Dynamic Site Map (All Versions)

    Wow, the first response to my 'Star Post' I posted weeks ago! <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    I feel all giddy now.

    As to your question, you don't have to do anything with it. Just save/upload it to your website. Then put a link on a page so you can get to it. (Or get to it manually http://mysite/sitemap.asp). You can put the .asp file anywhere on your site, it doesn't matter, and it will display the sitemap of your site (based on your Frontpages Navigation.)

    It does allow three different ways to display. Once you have uploaded it, and viewed it, you can change the hyperlink that directs you to it to have ?View=AllBullets or ?View=ChildBullets these are called 'QueryString's. The ASP file reads it. If it doesn't see any, it defaults to just using Indentions (?View=Indented does that too), if it does see a value for 'View', it uses the method requested.

    Let me know if this doesn't answer you question.

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    Thanks for the quick response, but it doesn't seem to be seeing anything! The navigation is all set up but the sitemap page remains determinedly blank. I haven't adjusted the view at all yet ... but then I haven't viewed anything yet ...

    I put it in one of my photo sites Davrica Cats (the link is off the bottom of the left frame) - perhaps you could have a look ...?!
    Beryl M


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

    Re: Dynamic Site Map (All Versions)

    You're right, it's not doing anything. The problem is, the webserver isn't reading the ASP as ASP, it's reading it all as HTML, because you get the ASP code when you view the source, instead of what the ASP code is supposed to kick out.

    Does your hosting service support ASP? (What's you're hosting service?)

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

    Re: Dynamic Site Map (All Versions)

    Okay, already figured out your hosted by Verio....I'm looking at their site now...

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

    Re: Dynamic Site Map (All Versions)

    Okay, under Verio's packages, you'd need at least the Bronze Windows 2000 package, which will let you run ASP code.

    Drew

  7. #7
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    Who's Verio? My hosting site is UK Space 4 U, and I don't know if they support ASP or not, I've never had reason to ask them!

    However, the ASP code showed up in the html window in FrontPage from the start, and that was long before I sent it to the webserver ...?

    Even more <img src=/S/confused.gif border=0 alt=confused width=15 height=20>!!!
    Beryl M


  8. #8
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    I have sent them an email to find out what the position is.
    Beryl M


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

    Re: Dynamic Site Map (All Versions)

    When I did a whois search, it brought up Verio. Wierd, your hosting must lease their IP's from them.

    Anywho, I looked at the UK Space 4 U site, and it doesn't allow for ASP. ASP is Active Server Pages. It is a server side script. What you see in Front Page is the ASP code. But when it is run on an ASP enabled web, you won't see anything that is between the <% and the %> flags. Anything between those flags is 'read' by the server, and not sent to the user. That allows for 'dynamic' pages. Your site allows for PHP, which is the PERL version of ASP. I may see if I can write that thing in PERL. Who knows. If I do, I'll post it here.

  10. #10
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    I see! Oh, well, thanks for trying!

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>
    Beryl M


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

    Re: Dynamic Site Map (All Versions)

    Can you do me a favor, and put the attached file (unzipped) into your root web directory? Same place as sitemap.asp. Then link it and try it. Does it show your site's navigation (listed, not like sitemap.asp is supposed to do. I decided to learn PHP today <img src=/S/grin.gif border=0 alt=grin width=15 height=15>, so I am going to make a php version that should work on your site. But I want to make sure what I wrote works on another php enabled server, since it took me an hour to set mine IIS up with php extensions.
    Attached Files Attached Files

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

    Dynamic Site Map (All Versions)

    A few weeks ago I posted about a Dynamic SiteMap page, that used an ActiveX .dll that I wrote in VB. I had a comment or two about VB ActiveX controls, since not all hosting companies allow for ActiveX controls.

    Attached is an .asp page that creates a dynamic sitemap using FrontPage's navigation file. (In other words, the page will always show a site map built from the current navigation). This page does NOT use an ActiveX .dll, it is strictly ASP. So obviously you must have a service provider that allows for ASP. The only quirk I can think of, which may trip this code up, is that it uses the FileSystemObject to read the FrontPage data file. If anyone has a problem using this page due to that, you may be able to use ADO to read the file. Let me know, and I'll look into it, or if you rewrite it with ADO, post it please.

    One last thing. It displays in three different 'modes'.

    sitemap.asp or sitemap.asp?View=Indented Builds the page with the links being indented. (Looks fine, but source is full of
    Attached Files Attached Files

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

    Re: Dynamic Site Map (All Versions)

    Hey, I just edited the original post, it now has a link to the PHP version of this. Try it on your site, it should work just fine for you.

    Drew

  14. #14
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: Dynamic Site Map (All Versions)

    Hi Drew, thanks for all this, and sorry I didn't respond to your request to test last night - I was very tired and I'm afraid I went to bed!

    <img src=/S/brainwash.gif border=0 alt=brainwash width=15 height=15> I must admit I wish I could just decide to learn something that is effectively a whole new language and be able to do exactly what I want with it just a couple of hours later!

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> I'll try it tonight when I get home.
    Beryl M


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

    Re: Dynamic Site Map (All Versions)

    Did the .php version work?

Page 1 of 3 123 LastLast

Posting Permissions

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