Using the site library

When you are working on a local siteA managed collection of documents, folders, and resource files on the local file system that you intend to publish as a Web site., the Site Library panel (shown by default at the bottom right corner of the main window) displays lists of various types of assets, such as hyperlinks, images, and shared content blocks, that exist in the local site. You can insert a site asset into the current document by dragging it from the Site Library panel to the document window. This makes it as easy as possible to insert items that you might use many times throughout a site.

Namo Web Editor 6.library.1 Using the site library

The Site Library panel (HTML file list)

The panel has seven buttons above the file list, which are used to select the type of asset to be listed.

Button

Asset type

Namo Web Editor button list html Using the site library

HTML documents

Namo Web Editor button list links Using the site library

Hyperlinks

Namo Web Editor button list shared content Using the site library

Shared content blocks (NSC files)

Namo Web Editor button list images Using the site library

Images (bitmapped and Smart ClipArt)

Namo Web Editor button list flash Using the site library

Flash files

Namo Web Editor button list css Using the site library

Style sheets (CSS files)

Namo Web Editor button list dynamic Using the site library

Dynamic documents (ASP/PHP/JSP)

Namo Web Editor button list open Using the site library

Opening local files.

Things you can do with the Site Library panel

The following operations can be done to any asset type except hyperlinks.

  • To insert an asset (except style sheet files) into the current document, do one of the following:
    • drag the asset into the document window and click Insert File or Image
    • right-click the asset and click Insert
  • To open an asset, double-click it. Documents and shared content blocks will open in Namo WebEditor, while other types of files will open in their own default programs. (The default programs for opening various file types can be set through the Folder Options icon in the Windows Control Panel.)
  • To rename or delete an asset, right-click it and click Rename or Delete.
  • To view an asset in a browser, right-click it and click View with [browser name].

Namo Web Editor icon tip Using the site libraryYou can drag files from My Computer, Windows Explorer, or the desktop to the Site Library panel to add them to the site.

Working with hyperlinks in the Site Library panel

The Site Library panel displays hyperlinks differently from other asset types, and available operations are somewhat different as well. When the panel lists links, instead of displaying file names, sizes, modification dates, and so forth, as for other asset types, it displays the following information:

  • in the Name column: the URL of the link
  • in the Document(s) column: the path (relative to the site’s root) and filename of every document that contains the link
  • in the Type column: whether the link points to a site document (“internal”) or a Web URL (“external”)

Actually, it may be more accurate to say the panel lists unique URLs, rather than links. If the current site contains, for example, ten links to Namo’s home page in five documents, the URL http://www.namo.com/ will only appear once in the list of links, but the entry in the Document(s) column for that URL will show the pathnames of five documents.

As with other assets, you can insert a link into the current document by dragging it to the document window or right-clicking it and clicking Insert.

Double-clicking a link in the list opens the Hyperlink Properties dialog box, so you can change the URL. If you do so, every link in the site that points to the old URL will be automatically updated to point to the new URL.

Using the Site Library panel when no local site is open

When no local site is open, the Site Library panel displays a tree of the drives, folders, and files on your computer. You can double-click a file on the tree to open it. If the file is of a type supported by Namo WebEditor, such as HTML, it will open in the Edit window; if not, it will open in the default program for its file type. You can also drag an image file or other resource file from the tree to a document in the Edit window to insert it.

 

Using the site library