Referencing external content

Freeway allows you to include content in your site that is provided from an external location. An example might be an advertising banner, a counter that records how many visitors viewed your page, or text providing the latest news supplied by an external feed.

To reference external content in a URL item

When you specify a URL item with Content set to Image, the URL you specify is inserted into the Freeway output inside an <img> tag; for example:

<img src="/cgi-bin/counter.cgi"border=0>

When you specify a URL item with Content set to HTML, the URL you specify is inserted into the Freeway output inside a #include statement; for example:

<!- - #include virtual="included.inc"- ->

Note: Referencing external HTML using a #include tag only works when the page is served by a Web server which supports server side includes. Check with your ISP whether this option is available on your server.

To insert code at a specific point on a page

The following dialog box allows you to specify the HTML code to be inserted on the page:

A markup item will be displayed on the page:

You can move and resize the markup item as required on the page. The code contained in the markup item will be inserted in the page at the point corresponding to the item’s location on the page.

To add an inline markup item

An icon will displayed to indicate the position of the markup item:

To import HTML content into an HTML item

If you have a standard section of HTML that you want to include in an existing page you can import an HTML text file into an HTML item.

The imported HTML cannot be displayed or edited within Freeway, but it will be inserted when the page is previewed or published. For example, you might keep a standard copyright message on disk as an HTML file and include this on each page of your site in an HTML box:

When the site is published the latest version of the copyright text will be incorporated in each page of the site.


Contents