Submit Your Article Forum Rules

Results 1 to 6 of 6

Thread: Retrieving Text From File, No Dynamic Languages

  1. #1
    Senior Member Evic's Avatar
    Join Date
    Jul 2005
    Posts
    173

    Retrieving Text From File, No Dynamic Languages

    This is quite an odd request, but let's see if anyone can think of anything for me.

    If you visit http://www.eielson.af.mil/index2.htm (it's going to load slow because of all the stupid crap they made me put on it) you will see a marquee scrolling just below the buttons at the top.

    Within that marquee we place our FPCon, InfoCon, and here recently air quality reports (because the entire state of Alaska is on fire).

    Because of the recent addition of the air quality report, I have been finding myself having to update this marquee about 10 times per day, and honestly it's starting to get a little old.

    What I would like to do is make a text file, which I can somehow include between the marquee tags on the HTML of the page. Then, all I would have to do is update this one text file with the text to scroll through the marquee.

    Unfortunately, I don't know jack about window servers and how SSI works, and I have to keep this page as a nondynamic page (can't use PHP).

    Any help would be greatly appreciated.
    Michael Wales

    My Blog: GibThis: Video Game Blog

  2. #2
    WebProWorld MVP
    Join Date
    May 2004
    Posts
    1,229
    What type of a server are you running?

    You can always tell the server to parse html as php and use a php include within the html page.

  3. #3
    Senior Member netman4ttm's Avatar
    Join Date
    Aug 2003
    Posts
    350
    It loaded quickly for me. Scrolls too fast and its awfully small.
    To answer your question, let me ask where do you get your air quality reports?
    If its another source, link to them and be done with it.
    When I went to the site there were no alerts. If there were a few how would they be displayed?
    "The future is here. It's just not evenly distributed.

  4. #4
    Senior Member Evic's Avatar
    Join Date
    Jul 2005
    Posts
    173
    The alerts are simply handed down to my by higher ups and I manually alter the text within the marquee tags.

    As for the small text, and how ugly the site is, I know, but this is they way the General wants it so I can't do much about it.

    @jestep - I considered this but was hoping there was a slightly less obtrusive way of going about it. The server is iPlanet, which is a pain to get working (took us 3 days to get PHP working on it). I'm hoping there's simply an HTML inclusion or server-side include, something I can't think of, that will work.

    Only has to be IE dependant, as that's the only browser the Air Force approves of use, so if it won't work in other browsers that's fine.
    Michael Wales

    My Blog: GibThis: Video Game Blog

  5. #5
    Administrator rah's Avatar
    Join Date
    Jul 2003
    Posts
    2,449

    Just my thought

    You could possibly cheat just a little. ;)

    You could put a <iframe></iframe> up and make that load another html page that has a javascript that calls up your text file, and makes it scroll.

    In doing this you have technically still kept the original page static. As far as that page is concerned, you are only calling another html page within the iframe.

    Just a thought, don’t know if this would be allowed for you though.

  6. #6
    Senior Member Evic's Avatar
    Join Date
    Jul 2005
    Posts
    173
    Actually, if I could simply use javascript to pull text from a text file, that would perform excellently. I didn't even consider this option. I'll look into it.

    Basically, I'm just wanting an easy to use text file that I can update real quick without searching through all the HTML to find the marquee tag. Also, updating only one text file keeps me from having to update the two version of the site seperately (broadband and dialup).
    Michael Wales

    My Blog: GibThis: Video Game Blog

Similar Threads

  1. Problem Loading Dynamic Text into movie clip
    By LordAntiApple in forum Flash Discussion Forum
    Replies: 0
    Last Post: 08-20-2006, 08:42 AM
  2. Retrieving text form a site for re-use
    By venividi in forum Web Programming Discussion Forum
    Replies: 0
    Last Post: 11-22-2005, 07:04 AM
  3. dynamic text
    By cpedro_estg in forum Flash Discussion Forum
    Replies: 3
    Last Post: 05-12-2005, 04:28 AM
  4. Text File On Webserver HD using CGI and C/PERL
    By Dermot in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 08-12-2004, 04:36 AM
  5. Edit text via a text file or word doc?
    By randelld in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 08-08-2004, 05:07 AM

Posting Permissions

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