• 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
338 (0.06/day)
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
27,034 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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
27,034 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
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
26,259 (4.63/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
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,881 (1.62/day)
Location
Manchester, NH
System Name Senile
Processor I7-4790K@4.8 GHz 24/7
Motherboard MSI Z97-G45 Gaming
Cooling Be Quiet Pure Rock Air
Memory 16GB 4x4 G.Skill CAS9 2133 Sniper
Video Card(s) GIGABYTE Vega 64
Storage Samsung EVO 500GB / 8 Different WDs / QNAP TS-253 8GB NAS with 2x10Tb WD Blue
Display(s) 34" LG 34CB88-P 21:9 Curved UltraWide QHD (3440*1440) *FREE_SYNC*
Case Rosewill
Audio Device(s) Onboard + HD HDMI
Power Supply Corsair HX750
Mouse Logitech G5
Keyboard Corsair Strafe RGB & G610 Orion Red
Software Win 10
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
338 (0.06/day)
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