Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-18-2005, 12:49 PM
Evic's Avatar
WebProWorld Pro
 

Join Date: Jul 2005
Location: Eielson AFB, AK
Posts: 174
Evic RepRank 0
Default 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
Reply With Quote
  #2 (permalink)  
Old 08-18-2005, 05:50 PM
WebProWorld 1,000+ Club
WebProWorld Moderator
 

Join Date: May 2004
Location: Austin, TX
Posts: 1,331
jestep RepRank 0
Default

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.
Reply With Quote
  #3 (permalink)  
Old 08-18-2005, 05:55 PM
netman4ttm's Avatar
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Virginia
Posts: 396
netman4ttm RepRank 1
Default

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.
Reply With Quote
  #4 (permalink)  
Old 08-18-2005, 06:07 PM
Evic's Avatar
WebProWorld Pro
 

Join Date: Jul 2005
Location: Eielson AFB, AK
Posts: 174
Evic RepRank 0
Default

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
Reply With Quote
  #5 (permalink)  
Old 08-19-2005, 12:05 PM
rah's Avatar
rah rah is offline
Administrator
 

Join Date: Jul 2003
Location: Lexington, KY
Posts: 411
rah has disabled reputation
Default 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.
Reply With Quote
  #6 (permalink)  
Old 08-19-2005, 03:52 PM
Evic's Avatar
WebProWorld Pro
 

Join Date: Jul 2005
Location: Eielson AFB, AK
Posts: 174
Evic RepRank 0
Default

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
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0