in reply to Scripts to recursively reading in HTML files

Hi,

If I've understood you correctly, would it be worth considering using the output of the cgi script to create an html file in the same directory as the original file and then redirect to it. I'm thinking this might help with the links problem.

  • Comment on Re: Scripts to recursively reading in HTML files

Replies are listed 'Best First'.
Re^2: Scripts to recursively reading in HTML files
by mwhiting (Beadle) on Aug 31, 2004 at 17:52 UTC

    I had thought of this as an approach, but I didn't like the look of the blank screen/redirect process. It seems a bit cumbersome & distracting for a business' website. I was hoping to do it by some means that wouldn't appear unusual at all to the user.

    Likewise, with running cgi from the main html level, that hasn't been the standard so far - I'd rather not do that.

    Has no-one heard of a script to do this?

      Then it looks like dragonchild's suggestion is the best bet. Also, I have found URI useful for building/rebuilding relative links.

      On that last point, perhaps using absolute addresses (starting with /) might help?

      In any event, if you're parsing HTML, _don't_ try to do it with regexs!

      If anyone has heard of a script, I'd like to see it!. Best of luck.