• We've upgraded our forums. Please post any issues/requests in this thread.

Text -> web based format.

Joined
Nov 11, 2009
Messages
335 (0.11/day)
Likes
73
#1
Hey guys I’ve got a problem.

I am trying to import a text file into a web based format. Is there anyways of doing it automatically?

Pretty much pulling the data from this auto-updated text file (that’s in the intranet) and put it into a web based format, and highlight the value that’s over let’s set a random number 80/100.

Is this going to be easier to have it ran though Excel first and then pulling it that way or is there an easier way of doing it with HTML?

Thanks guys.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
17,027 (3.43/day)
Likes
17,894
Processor Core i7-4790K
Memory 16 GB
Video Card(s) GTX 1080
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 7
#2
html is just a text file, so you can process it with all your text based processing tools.

another option would be to make a php page that reads the text file and outputs the result
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
17,027 (3.43/day)
Likes
17,894
Processor Core i7-4790K
Memory 16 GB
Video Card(s) GTX 1080
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 7
#3
html is just a text file, so you can process it with all your text based processing tools.

another option would be to make a php page that reads the text file and outputs the result
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,905 (6.25/day)
Likes
9,998
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#4
ASPX, PHP, Python, etc. can inject text from one file into another. If you're looking for a client-based solution instead of server, you should look into JavaScript, Silverlight, and Flash.
 
Joined
Dec 6, 2005
Messages
9,786 (2.23/day)
Likes
3,777
Location
Manchester, NH
System Name Working on it ;)
Processor I7-4790K
Motherboard MSI Z97
Cooling Be Quiet Pure Rock Air
Memory 16GB 4x4 G.Skill CAS9 2133 Sniper
Video Card(s) Intel IGP (Dedicated GPU TBD)
Storage WD 320 / 500KS / 500KS / 640KS / 640LS / 640LS / 640LS / 1TBFAEX and a NAS with 2x2Tb WD Black
Display(s) 24" DELL 2405FPW
Case Rosewill Challenger
Audio Device(s) Onboard + HD HDMI
Power Supply Corsair HX750 (love it)
Mouse Logitech G5
Software Win 7 Pro
#5
For the completely insane... paste and format the text in MS Word, saveas HTML.

It creates a file that's 10,000 times larger than the original but it works. Don't expect to be able to do any hand editing of the resulting file.
 
Joined
Nov 11, 2009
Messages
335 (0.11/day)
Likes
73
#6
Sorry guys, I wasn't very clear on what I was asking, but you guys answered it!
I was afraid that I'll be forced to use stuff like PHP.
(Sorry when I was typing this couldn't think of the name of the languages so I used HTML as supplement)

Thanks again for giving me ideas and pointing me to the right direction!