Jump to content
SubSpace Forum Network

Recommended Posts

Posted
Wouldn't it be a fast download from the web.. how big are usual html codes any ways?.. and what stupid is gonna do that kinda stuff?.. even newbies wont make it that big im sure its possible, but wouldnt it need a new code in cont?
Posted

It was more image size I was worried about, but thinking about it they would probably have to be stored on a seperate site anyway, which would remove the problem of lagging the server.

 

The code change shouldn't be too bad, IE makes it easy to display web pages.

Posted

the bigger issue is with having the "webserver" set up on the machine with subgame. Webservers are installed apps, and theoretically, you can have any machine with a fresh OS install, up on the web, with subgame running... and it will work fine. But now you wanna add web serving capabilities.

You need to add server code to subgame and add a browser to Continuum (or use IE to open it.)

Don't forget about the security end of it (being able to type in a web address for any of the server's core files, lvz, lvl, etc. files.)

Posted

Wth are you talking about? You don't need a webserver in subgame...

You just send the file same as news.txt, but it's called news.htm...

 

You might need to link to images, but they don't have to be on the same server...

Posted
As mentioned in the previous thread, I think that it should only be able to send html (possibly css) with all scripting stripped out. No images, no files. It would NOT require a webserver (wtf bargeld?!!) and I think that the file should be opened using the default web browser instead of messing about trying to create a custom rendering engine for continuum.
Posted
It needs to be able to receive requests' date=' on-demand, then send the file in response.[/quote']

 

It would NOT require a webserver

 

I wrote that specifically to see who was gonna reply like you did. Thats the basic definition of a webserver, and Continuum WILL need to do that unless the page data can be streamed, on the fly, to a custom "browser."

 

(note to self: put another notch on the avatar.)

Posted

http://dictionary.reference.com/search?q=http%20server

 

Technically this is not a webserver. The client does not send http requests. You just use the current system whereby the server checks the checksum of the current news file to see if it matches the one on the server. If it doesn't, it sends the file to the client and overwrites the existing file.

 

Also note that the page can not be accessed with clients other than those using the subspace/continuum protocol.

Posted
It would NOT require a webserver

 

I wrote that specifically to see who was gonna reply like you did. Thats the basic definition of a webserver' date=' and Continuum WILL need to do that unless the page data can be streamed, on the fly, to a custom "browser." [/quote']

Actually, madhaha is right. It's not a web server because it wouldn't be sending web pages. It could be accuratly described as a file server (webservers are a subset of file servers). Because it isn't serving web pages, but rather html files.

 

I also think that to be a web server, you need to implement the HTTP protocol (over TCP/IP is probably another technical requirement), of which a continuum news file server would do neither.

 

What has been suggested is to send news.html (or even not change the name) in the exact same fashion as news.txt is sent now, but to have continuum render the html inside it.

 

Sending the .txt doesn't make subgame a news server, sending a html file doesn't make it a web server.

Posted

By the basic definition of each, they are both servers... if it has 4 legs, barks, and wags it's tail: it's a dog, if it sends you a "web page" that you view: it is a "web server" and if it only sends you a "news" file: then its a "news" server.

Regardless (back to the topic) these are the things that need to be added in order to add functionality to the news.

Posted

If I send you a bullet in the mail, it wouldn't make me a gun. Your initial objection was that subgame would become a WEBSERVER thus becomming too complicated and bloated. We're pointing out its just doing the same file serving job its always done. You have completed failed to prove your point. You have in fact, been "owned".

 

Would it be worth rendering the html internally? It would Probably be more secure but it would increase the size of the distribution.

Posted
Would it be worth rendering the html internally? It would Probably be more secure but it would increase the size of the distribution.

Yes, as all this would really be is RTF with hyperlinks, I don't think it would add a whole lot to the size of the binary, as most tags wouldn't be supported.

Posted

We should make a list of tags that should be supported.

 

obviously

<!@#$%^&*le>

(and all the !@#$%^&*ociated tags), all the list tags like
    • etc. I'd rather people used stylesheets instead of

       

       


      ...

       

      Note that stylesheet support would mean that we'd be able to do a lot more than bland looking rtf style do-*BAD WORD*-ents. On the other hand, the size of the rendering engine would be quite big and quite complicated (none of the current browsers offer full, unbugged CSS1 support, let alone CSS2).

       

      I think that using an external browser is justified.

       

      Alternatively we Could just use rtf files instead.

    Guest
    This topic is now closed to further replies.
    ×
    ×
    • Create New...