Results 1 to 5 of 5
  1. #1
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Faifax, Virginia, USA
    Posts
    542
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Misbehaving Page Dates (FP2002)

    i have a couple of hosted sites on Win2000 Server. On each page, i use the FP autoupdated date component set to 'Date this page was last edited' in the header.

    The Problem: ALMOST every page shows the date of the last edited page. EXCEPT, that my What's New page, generated with the Page in Category extension, shows the CORRECT date on each page.

    What is going on, and what can i do to correct it? The host hasnt seen this before, and wonders if it is FP or something else...

  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: Misbehaving Page Dates (FP2002)

    Is it the one that starts with this inside a comment tag?

    <UL><pre>webbot bot="Timestamp" S-Type="REGENERATED" S-Format="%A, %B %d, %Y" startspan</pre>
    [/list]I thought it was supposed to show the current date, but it never did. I just glanced in the KB, and it says:
    <hr>WebBot Timestamp Component
    The WebBot Timestamp component inserts a date and time stamp that corresponds to the last time the page was edited or automatically updated.
    FP: Overview of WebBot Components (Q143090)<hr>
    Ooops. Well, anyway, in my ASP pages, I substituted this:
    <UL><pre>Response.Write FormatDateTime(Date, 1)</pre>
    [/list]in the appropriate place. Although I haven't coded it, I presume you could accomplish the same result in a regular HTML page with a bit of inline JavaScript.

    Now, unlike me, you want to show the last edited date. If I am correct in my understanding, change your S-Type from "REGENERATED" to "EDITED".

  3. #3
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Faifax, Virginia, USA
    Posts
    542
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Misbehaving Page Dates (FP2002)

    The S-type is currently set to EDITED, so that's not it.

    ASP is an item on my "things to learn" list.

  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: Misbehaving Page Dates (FP2002)

    I guess I have to confess I don't know what the Page in Category thing is, so I can't really say whether there might be a serious incompatibility between these two 'bots. But that's what I suspect.

  5. #5
    4 Star Lounger
    Join Date
    Dec 2000
    Location
    Faifax, Virginia, USA
    Posts
    542
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Misbehaving Page Dates (FP2002)

    The Table of Contents/Based on Page Category is a way to publish a What's new page, by specifying a descending sorting on page date. E.g., What's New.
    However, that bot, and the date bot are of the FP02 extensions, used in many places, so i would expect that if there were some kind of interference, we would hear more about 'problems'. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

Posting Permissions

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