rejetto forum
May 26, 2012, 01:06:32 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: HFS + HSG  (Read 813 times)
0 Members and 2 Guests are viewing this topic.
GeeKLeeT
Occasional poster
*
Offline Offline

New Caledonia New Caledonia

Posts: 3


View Profile
« on: June 28, 2011, 10:40:40 PM »

Hello rejetto,

Firstly thank you for your awesome softwares, I found them 2 days ago and I've now my HFS and HSG servers running with my custom templates, etc...

But, I've just one little thing that isn't perfect:

- I've HFS + HSG running (different ports ofc), but at work/uni or whatever, there is often only the port 80 open. So I would like to have a link on my HFS page that show the screen from HSG but on the same port !
(send request to HFS server to load the screenshot from the HSG localhost URL, and then resend it with HFS throught port 80.)
I know it may be tricky but that would be soo much usefull to me..... (And btw, it would be very usefull if I can use my HFS server as a simple proxy for example.)

-Ooops, two requests in fact, I would like to know if it's possible to add the dual screen compatibility to HSG and that way I'll be able to see my two screens ;P)

If any one have any idea, please post them here I would be very thankfull Tongue
(I only know the PASCAL coding atm, and I'm learning to HTML with HFS, so try to be kinda explicit xD)

Thanks in advance
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: July 01, 2011, 04:30:41 AM »

0. welcome! do you truly live in new caledonia?

1. atm there's no "standard" gate between HFS and HSG, but HFS 2.3 has scripting capabilities.
You can create a virtual folder "screen" in HFS, then right click, diff template, and enter this script (just guessing, not tested)

{.mime|image/jpeg.}
{.load|http://localhost:8000.}

2. at the moment i cannot find the time to work on HSG, sorry.
Anyway it is open source, and it's written in pascal Smiley
Logged
GeeKLeeT
Occasional poster
*
Offline Offline

New Caledonia New Caledonia

Posts: 3


View Profile
« Reply #2 on: July 01, 2011, 07:30:57 AM »

0. Yes I do xD That little french island of 250k ppl. (So f***ing beautifull btw Cheesy )

1. Close ! Well, the browser says "The image "http://HFS_URL/screen/" can not be displayed because it contains errors."
But HSG is serving 127.0.0.1 Tongue Which is a very good begining ! Cheesy Just need to adapt the code for it to show correctly the loaded pic... I hope I'll find a solution

2.Oh, okey.... Yeah I know it's in pascal and I'm trying to understand it, but you uses many units that I don't have in your " Uses Windows, Messages, SysUtils, etc..."
Maybe I can find them on google I'll try...
Trying to understand your code is really cool and teach me many things for the pascal dev !

Thank you for your answers !
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: July 12, 2011, 09:38:16 AM »

0. i'll tell you in case i come to your county for my honeymoon Cheesy

1. there must be some problems with the {.load.}
only part of the content is actually retrieved.
sadly these days i cannot do more because i have no working development enviroment, since my last hard disk change.
i'll let you know.
Logged
GeeKLeeT
Occasional poster
*
Offline Offline

New Caledonia New Caledonia

Posts: 3


View Profile
« Reply #4 on: July 18, 2011, 08:28:23 AM »

Thank you very much Cheesy

I'll wait, I can't figure it out myself xD
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 10, 2012, 01:02:38 AM
anything