• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Text -> web based format.

Joined
Nov 11, 2009
Messages
336 (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,640 (3.44/day)
Likes
19,170
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,640 (3.44/day)
Likes
19,170
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
21,703 (6.18/day)
Likes
10,848
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
10,331 (2.27/day)
Likes
4,213
Location
Manchester, NH
System Name Working on it ;)
Processor I7-4790K (Stock speeds right now)
Motherboard MSI Z97 U3 Plus
Cooling Be Quiet Pure Rock Air
Memory 16GB 4x4 G.Skill CAS9 2133 Sniper
Video Card(s) GIGABYTE Vega 64 (Non Reference)
Storage Samsung EVO 500GB / 8 Different WDs / QNAP TS-253 8GB NAS with 2x2Tb WD Black
Display(s) 34" LG 34CB88-P 21:9 Curved UltraWide QHD (3440*1440)
Case Rosewill Challenger
Audio Device(s) Onboard + HD HDMI
Power Supply Corsair HX750 (love it)
Mouse Logitech G5
Keyboard Corsair Strafe RGB & G610 Orion Red
Software Win 10 upgraded from 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
336 (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!
 
Top