SSI viewed in Freeway

It would be nice if one could see Server Side Include in Freeway, just like an iframe.

Ulf


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It would be nice if one could see Server Side Include in Freeway, just like an iframe.

I think the answer to that is in the question: Server Side!

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

to me iframe is also server side, what’s the difference? you specify an url or a relative adress in booth cases.

/ Ulf


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

to me iframe is also server side

No they are not the same.

An iFrame is just a window to a web page which is parsed locally using FW’s built in browser.

A SSI requires code processing by the server.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Right. When Freeway displays a page, it doesn’t run a full HTTP server – it just loads the file from disk. The URL looks like this (note the three slashes in a row) file:///Users/yourname/Documents/Site%20Folder/path/to/example.html All browsers support this basic behavior. Look in the File / Open dialog from any browser to see it in its native setting.

For Freeway to run a server, it would need to launch a lightweight server process running on a different (high) port, and your preview URL would look like this (similar to how things look in MAMP or other server kits) http://localhost:3030/path/to/example.html

That would certainly be cool, and with the proper configuration, it could serve SSI pages properly merged, execute PHP, do all sorts of things that would make your job easier. But that’s not how the application works at present.

Walter

On Sep 26, 2013, at 8:05 AM, DeltaDave wrote:

to me iframe is also server side

No they are not the same.

An iFrame is just a window to a web page which is parsed locally using FW’s built in browser.

A SSI requires code processing by the server.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options