Skip Headers
Oracle® WebCenter Content User's Guide for Site Studio Publisher
11g Release 1 (11.1.1)

Part Number E10618-02
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub

1 Introduction

This section covers the following topics:

1.1 Understanding Site Studio Publisher

This guide describes how to use Site Studio Publisher to publish a Site Studio web site. With Site Studio, you store the web sites you build in Oracle Content Server. At some point, you may find that you would like to create a static copy of a web site and transfer it from an Oracle Content Server environment to a pure web server environment that is not running an Oracle Content Server instance. This process is referred to as publishing.

Site Studio Publisher creates a static snapshot of a dynamic site by traversing all the links in a web site (visiting all of the linked pages) and downloading a copy of each page and all of the resources (images, flash movies, and so on) on each page. Your entire web site, including the content of queries, layout pages, fragments, contributor data files, and native documents, are then copied and published to the new server.

The most efficient use of a dynamic site would have immediate updates and automatically update only the changed areas of the web site. Since Site Studio web sites are dynamic and created using a large number of variables, it is very difficult to track and publish the affected areas of the web site in a reliable and consistent manner. Site Studio Publisher can selectively process, or not process, pages on a web site based on different control methods. When each asset does not need to be compared each time, then it is much easier to keep the static site up to date, and the site owner can easily control the process.

Site Studio Publisher operates from an initial list of available links, and then compares them to a previous version of links used by Site Studio Publisher. The use of controls and filters can control the list, and also limit Site Studio Publisher to using only certain parts of the list. The first time Site Studio Publisher examines a web site, all links are examined and added to the list.

When Site Studio Publisher examines a link and determines that it has changed, the content is analyzed and the new set of links for that page is determined. If the examination is skipped, either because no changes were found or because the controls and filters require that a specific link is skipped, then the previous list of links is used for comparison.

1.2 Installing Site Studio Publisher

Site Studio Publisher installation is simple. On Oracle Content Server 11g, the Site Studio Publisher component is pre-installed, and is enabled through the Content Server UI.

To enable Site Studio Publisher, perform these tasks:

  1. Log in to the Oracle Content Admin Server page with administrator credentials.

  2. Open the Component Manager.

  3. Select the checkbox next to Site Studio Publisher under the Web Content Management section.

  4. Click Update at the bottom of the page.

    A dialog opens confirming your selection.

  5. The server must be restarted to complete enabling Site Studio Publisher.

To install and enable the Site Studio Publisher component on a 10gR3 Oracle Content Server instance, see the Content Server 10gR3 documentation.

1.3 Starting Site Studio Publisher

Site Studio Publisher is run from the Site Studio Administration section of the Oracle Content Server user interface.

To get to the Site Studio Publisher interface, perform these tasks:

  1. Log in to the Oracle Content Server with administrator credentials.

  2. Open the Administration tray or page, depending on your layout.

  3. Select Site Studio Administration.

  4. Select Site Studio Publisher.

1.4 Guidelines for Publishing

To publish a web site from an Oracle Content Server environment to a web server, all the content of your site is copied by Site Studio Publisher. However, the copy of the site must be both complete and self-contained. That is, the copy must contain all of the resources of the original site, and pages in the copy must refer only to resources within the copy itself. To create a self-contained copy, Site Studio Publisher rewrites any absolute (full) URLs within the original site to relative URLs to allow the static copy to be hosted on a different hosting instance.

Site Studio Publisher uses the following procedures to identify and evaluate links and resources contained in a particular page:

Be careful when appending URL parameters to a page URL. By default, in Site Studio Publisher, extra page parameters that result in a variant of the dynamic page are not used when naming the static page. Site Studio pages should not be customized by appending URL parameters to a node reference, as any appended parameters are ignored (that is, any node parameters not defined using Site Studio are not used in naming the pages).

1.5 Guidelines for Customizing Site Studio Pages

When customizing Site Studio-generated JavaScript or writing your own components, be sure to use relative URLs for all images, movies, and so on, that are referenced in the script; avoid concatenating strings to build up paths to resources. This makes it easier for Site Studio Publisher to properly identify and evaluate the external references.

Pay special attention to those items included in a dynamic list or using JavaScript patterns, and also to naming conventions for published pages.

Using JavaScript in Links for Published Pages

You may want to specify a JavaScript pattern in a link to be used in your published Web pages. Certain patterns must be used for Site Studio Publisher to identify and evaluate JavaScript references and links in order for these references to be converted to relative references in the published version.

Site Studio Publisher looks for specific patterns in the embedded JavaScript of Web pages. When these patterns are encountered, Site Studio Publisher examines the JavaScript and interprets the command.


An unrecognized JavaScript command may cause Site Studio Publisher to not include a referenced page or fail to download an image.

In all patterns listed below, double quotation marks (") and single quotation marks (') are treated as equivalent. The crawler attempts to match any valid URL within the quotes.

General JavaScript Patterns

JavaScript fragment Link to be traversed Replacement
"" none
something.src = "foo.gif"; foo.gif none
top.location.href = "other.html"; other.html none"test.html"); test.html none
frame.replace("something.html"); something.html none

Site Studio-Specific JavaScript Patterns

JavaScript fragment Link to be traversed Replacement
var g_httpCgiUrl = "...";   See note 1
var ssAssetsPath = "..."   See note 1
var ssUrlPrefix = "..."   See note 1
link(XXX) ?IdcService=SS_GET_PAGE&ssDocName=XX See note 2
nodelink(YYY) ?IdcService=SS_GET_PAGE&nodeId=YYY See note 2


  1. The parameters of these JavaScript calls, which are references to files or directories, are converted to a relative reference in the published version.

  2. A hierarchical path is constructed using the URL Page Name and URL Directory Name properties of the site and the nodes. If no properties are defined the node label with underscores is used.

1.6 System Requirements

The Site Studio Publisher application requires Java version 5 (JRE 1.5) or higher.