mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2021-06-23, 11:41   #177
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22·7·227 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
The PRPNet server outputs a ton of sub-standard and invalid HTML. It starts with the lack of a DOCTYPE string, ends with the totals row (which includes inappropriate header cells) sorting in between data rows, and hits everywhere in between. There is no bolding of the links table, which appears to be the intent, and there's a ton of presentational markup that was deprecated then and obsolete now. The markup is due for an update.

One issue I see with updating to HTML5 is that it requires UTF-8 encoding. I don't know if that means you'd have to restrict allowed user-generated data to ASCII or start using wide characters.
I'm not an HTML guru. If you can suggest actual code changes (or send me changed source files), then I can implement them. This would probably explain why Chrome doesn't display the HTML properly, although Firefox and Safari do.
rogue is offline   Reply With Quote
Old 2021-06-24, 01:10   #178
Happy5214
 
Happy5214's Avatar
 
"Alexander"
Nov 2008
The Alamo City

3·5·47 Posts
Default

Quote:
Originally Posted by rogue View Post
I'm not an HTML guru. If you can suggest actual code changes (or send me changed source files), then I can implement them. This would probably explain why Chrome doesn't display the HTML properly, although Firefox and Safari do.
I can do that, though admittedly it won't be high on my to-do list. Can I also suggest serving the resources (CSS, JS) through the socket (edit: by reading them in and relaying them through) rather than on other ports? My network has a peculiar set-up (I configured my server to map the resources to use a custom hostname I have set up on my computers' /etc/hosts, but it's not set up on my phone, so no resources.), so being able to get those files through the server itself would be useful to me.

Last fiddled with by Happy5214 on 2021-06-24 at 01:11 Reason: Clarify
Happy5214 is offline   Reply With Quote
Old 2021-06-24, 11:56   #179
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×7×227 Posts
Default

Quote:
Originally Posted by Happy5214 View Post
I can do that, though admittedly it won't be high on my to-do list. Can I also suggest serving the resources (CSS, JS) through the socket (edit: by reading them in and relaying them through) rather than on other ports? My network has a peculiar set-up (I configured my server to map the resources to use a custom hostname I have set up on my computers' /etc/hosts, but it's not set up on my phone, so no resources.), so being able to get those files through the server itself would be useful to me.
I do not know how to do that either, so assistance from anyone would be helpful.
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PSP goes prpnet ltd Prime Sierpinski Project 86 2012-06-06 02:30
PRPNet 4.0.0 Released rogue Software 84 2011-11-16 21:20
PRPNet 4.0.1 Released Joe O Sierpinski/Riesel Base 5 1 2010-10-22 20:11
PRPNet 3.0.0 Released rogue Conjectures 'R Us 220 2010-10-12 20:48
PRPNet released! rogue Conjectures 'R Us 250 2009-12-27 21:29

All times are UTC. The time now is 01:01.


Thu Aug 5 01:01:15 UTC 2021 up 12 days, 19:30, 0 users, load averages: 3.87, 3.93, 3.81

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.