Moving from Web Publisher v3 to v4
It's an easy transition from the previous Web Publisher to the new askSam 4 version. Most features work in a similar manner. We've made some minor modifications to the URLs required to access the data, added some new features, and improved the user interface on the WebAdmin program.
• Using the askSam 3 Web Publisher and askSam 4 Web Publisher together. You can install the askSam 4 Web Publisher and the askSam 3 Web Publisher on the same server. The askSam 4 Web Publisher does not overwrite or replace any files from the askSam 3 Web Publisher.
• Converting files. The askSam 4 Web Publisher can only access file created by (or converted to) askSam 4. You'll need to convert your askSam 3 files to askSam 4 in order to use them with the new Web Publisher.
• Converting v3 Aliases. If you've aliased files for the version 3 Web Publisher, you can convert these Aliases for the version 4 Web Publisher. You convert Aliases using the WebAdmin utility. Select the Import from v3 option and select the Alias you wish to convert.
New URLs for the Web Publisher
To accommodate the new features we've added, we've modified the commands that you use to access the Web Publisher. This will require you to change the URLs you use to access the Web Publisher.
The new URLs have the following syntax:
http://www.askSam.com/scripts/as_web4.exe?Command=First&File=readme.ask
Description:
http:// transport protocol
www.askSam.com server location
scripts directory containing the Web Publisher (CGI directory)
as_web4.exe? starts Web Publisher
Command= indicates that a command parameter follows
First views first document in the askSam file
& indicates that another command follows
File=readme.ask specifies the askSam file "readme.ask"
Example URLs:
as_web4.exe?Command=First&File=products
goes to the first document in the products.ask file
as_web4.exe?Command=Last&File=products
goes to the last document in the products.ask file
as_web4.exe?Command=SD&File=products
displays the Search Dialog for the products.ask file.
as_web4.exe?Command=Bookmark&File=products&Name=Price+List
goes to the bookmark "Price List" in the products.ask file.
Note: If the bookmark name contains a space, replace the space with a + in the URL.
as_web4.exe?Command=DocName&File=products&Name=SurfSaver+Brochure
goes to the document named "SurfSaver Brochure" in the products.ask file.
Note: If the document name contains a space, replace the space with a + in the URL.
as_web4.exe?Command=Search&File=products&Request=askSam&
ViewName=(default)&NumRows=10
searches the PRODUCTS.ASK file
for the search request "askSam"
10 hits are output on each page
The (Default) view is set as the format for the results.
Return to Table of Contents
|