American Audio DCD-PRO240 Manuel d'utilisateur Page 141

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 250
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 140
Freeway Reference: Publishing and Uploading
141
141
How to split your Freeway document
Ideally, site splitting should be something that you plan in advance when you first begin working on the site—you should map out how
the site will develop in terms of workflow and organization.
If after creating a Freeway document you subsequently need to divide it, a couple of questions should be addressed. What sections does
the site fall into naturally (for example, Sales, Support, Contacts), and what sections need to be divided for the purpose of updating
them independently from the main site document (for example, a press releases or news area)?
To begin splitting a site, start by saving a copy using Save As… in the File menu. After you’ve made the copy, delete the pages that are
not needed in each document. As Freeway deletes pages, you will be given the option to automatically replace links to the deleted pages
with “relative links” so you won’t have to type them in later by hand.
It’s best to split the Freeway document in such a way that each new document contains the files for one folder in the site. For example,
if you have a “Sales” section and a “Support” section, you might want to divide the site so that each of these was contained in a separate
Freeway document.
To do this, begin by creating two new folders in Freeway for Sales and Support using the New Folder option in the
menu at the bottom
of the Site panel. Next, select the pages that belong in the Sales folder of the Site panel by highlighting their names and Shift-clicking to
select them, and then drag them into the Sales folder. Similarly, drag the Support pages into the Support folder. This will make it easier for
Freeway to set up the correct links between the two sections.
Now, use Save As… to make a copy of the document for the Sales section, and do this again to make a document for the Support
section. Open the Freeway document you’ve saved as Support and delete all the pages that do not belong in that section (that is, all
the Sales pages and all the pages from the main section). You will be prompted to either remove the links or replace them with relative
references. Click the button to select relative references. Freeway assumes that the folders and pages will keep the same relative positions
in the site structure. Delete the unwanted pages from the Sales document and the main document in a similar way.
When you have two or more files that constitute your web site, you will have to create links between them. You won’t be able to use
internal links to pages that are contained in other Freeway documents, so you need to use “relative paths.” A relative path is a way to
specify how to get to another page in the same site from the current page. It’s called a relative path because it specifies a location in
relation to the current location. You can find more information about this in Hyperlinks: Linking to external pages on page 113.
Creating relative links
Select the text or item to which you’d like to link, then bring up the Edit Hyperlink dialog. Enter a relative link into the URL field of
the dialog, replacing the “http://” text if it is a new link. In this dialog, you will have to enter the file name of the HTML file to which
you want to link.
The file name is shown in the Page General panel of the Inspector palette of the relevant page. If the file you want to link to is in
the same folder, just enter this file name. For instance, if you want to link to a page called
Company X Home Page whose file is called
index.html, you would enter index.html in the URL field.
If the linked file is in a folder within the folder from which you are linking, you would preface the file name with the folder name(s).
Our example illustrates a folder called
Site Folder, within which is a home page (index.html) and two folders: Sales and Support. If
you were linking from the home page to a page called offers.html within the Sales folder, you would type sales/offers.html.
If the linked file is in a folder that contains the folder in which
your current page resides, then you need to preface the file
name with a “double dot” and a slash:
../ —this means “go
up to the folder above”. For example, if you were making a link
from a page in the Sales folder back up to the home page in the
folder above, you would enter ../index.html.
If the linked file is in a folder that is in the same parent folder as
the folder that the source page is in, you need to use
../ and the
folder name. So if you were linking from a page in the Sales folder
to a page called faq.html within the Support folder, you would
type ../support/faq.html.
Generally, you should try to make these kinds of links as
infrequently as possible, as they are more difficult to maintain
than internal links within the same Freeway document. To avoid
making too many links across documents, make sure your site
is organized in such a way that there is one means of entering
the Sales section and most of the links within that section are
to other pages within the same Freeway document. This minimizes the number of links you need to check and enter by hand. It also
makes your site easier to navigate—for example, if someone wants sales information, they know that they can find everything they need
in that one section without having to jump around to different sections of the web site.
The URLs… option on the Edit menu allows you to manage these links and make global changes, and you might also find the Link
Map useful.
Before making such a major change to your web site, it’s best to make a backup of your Freeway document(s) in case you delete anything
by mistake. It’s also a good idea to create some small test documents and practice linking between them so that you can familiarize yourself
with how the process works.
Note: The Link Map is not available in Freeway Express.
Vue de la page 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 249 250

Commentaires sur ces manuels

Pas de commentaire