Extracting Code

Hi,

Apart from doing a “View Page Source” to retrieve all source (HTML, CSS, Javascript etc) - is there a mechanism that will actually extract or code for your website within Freeway 5 Pro ?

By all code I mean - I can extract the code - save it to a filename.html and then say open this file in IE 6/7 and hopefully should work correctly?

Thanks.
T.


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

Sometime around 9/5/08 (at 00:21 -0400) Tonsils said:

Apart from doing a “View Page Source” to retrieve all source (HTML,
CSS, Javascript etc) - is there a mechanism that will actually
extract or code for your website within Freeway 5 Pro ?

Remember, there IS no HTML code in Freeway. Freeway’s design model is
far richer and more sophisticated than can be achieved in HTML, so
Freeway generates it as part of the publishing process. (Publishing
happens when you preview or upload too, naturally.)

Your published site will consist of one or more HTML files, CSS code
which may be built into the head of your HTML file/s or may be an
external file, and any associated ‘resources’; graphics and other
content.

If you want the HTML code it is right there in the Finder, in the
HTML document/s that you’ll find in your document’s site folder.

k


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

Thanks for the response but just have a few more queries.

  1. When I press File->Publish Site - what is suppose to happen as when I perform this nothing seems to happen or does this create a generated file somewhere?

  2. When you say “If you want the HTML code it is right there in the Finder, in the HTML document/s that you’ll find in your document’s site folder.” - can you pls provide the exact path?

  3. After developing using FW 5 Pro on Mac platform, how can I take my web site and test it on my VMware Fusion Windows OS using IE 6/7 ?

Thanks.
T.


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

Hi T

  1. Publish
    Publishing your site automatically replaces any obsolete HTML or graphic files in your site folder.

  2. HTML
    If you view the site in a browser, go to menu > view source for that page. The HTML Freeway generates is there.

You need to understand though that Freeway creates the code, not the operator. You can of course modify and tweak this to your hearts content, but this needs to be done within the application itself, and not outside, as Freeway will just overwrite anything you change when it publishes the page again.

Adding and tweaking is done via mark ups > click on the pasteboard so it’s just the the page that’s selected > main menu > page > HTML markup. This is where you can add code.

To find out more go to > menu > help > search for > adding custom HTML to your site.

  1. View Site on a PC using VMware
    http://www.vmware.com/products/fusion/

I personally use Parallels but I expect the basics are the same.

  1. The folder that Freeway publishes the pages and graphics to is specified in document set up. When your in Fusion fire up IE then hit the alt key. This will bring up the File Edit View etc menu > go to > file > open > browse > select the shared folder with your mac > then go to the build folder you specified in Freeway. Within that folder you will see the pages, select one, and you’ll be able to view the site in PC mode.

Hope this helps

Regards

RogerG


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

Thanks Roger - will give it a go.

T.


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

Sometime around 9/5/08 (at 11:33 -0400) Tonsils said:

  1. When I press File->Publish Site - what is suppose to happen as
    when I perform this nothing seems to happen or does this create a
    generated file somewhere?

Publishing literally publishes - generates, builds, writes, etc. -
all the files needed to produce your layouts in HTML form, and does
so in the nominated ‘site’ folder. Any things that have been changed
will be updated, anything that’s been deleted from your Freeway site
document will be removed from the site folder, anything that’s been
added to the Freeway site document will be generated fresh in the
site folder.

  1. When you say “If you want the HTML code it is right there in the
    Finder, in the HTML document/s that you’ll find in your document’s
    site folder.” - can you pls provide the exact path?

:slight_smile:
Only if you let me look through your Mac for a minute first!

The path to the site folder for your Freeway document depends on
where you chose to save your document (if you set it up from a
Freeway template) or where you picked your site folder the first time
you previewed or published your designs.

  1. After developing using FW 5 Pro on Mac platform, how can I take
    my web site and test it on my VMware Fusion Windows OS using IE 6/7 ?

Remember, you’re just dealing with files and folders. If you can make
the current site folder, wherever it might be, available to browse
from Windows, you can do what you want.
Or just copy the site folder contents to somewhere that Windows can
see, although that adds a bit of a clunky step to the process.
Or just upload to a folder on some web space somewhere and check it from there!

k


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

Hi

the nominated ‘site’ folder

The site folder is found by looking in File>Document Setup>Document

Below the default page size boxes you will see:

Site Folder: “Site Folder”…your macintosh

If you click the ‘Select’ button below this Finder will open showing you where that folder lives in your Mac’s folder hierarchy.

David


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

Sometime around 10/5/08 (at 18:37 -0400) DeltaDave said:

If you click the ‘Select’ button below this Finder will open showing
you where that folder lives in your Mac’s folder hierarchy.

A great suggestion. Also, if you hover over the part that shows the
site folder name, a tooltip will appear showing the full path to the
site folder.

k


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