8.5

Table Of Contents
an HTTP request are in a particular Unicode language. The clang request handler works
for all supported render types.
In QuarkXPress Server Manager, this parameter is deprecated and its use is strongly
discouraged. To avoid encoding issues, use UTF-8 to post data to QuarkXPress Server
Manager.
Specifies that the values provided in an HTTP
request are in the specified Unicode language.
The valid values are:
String
clang
Parameters
CS Czech
EL Greek
ES Spanish
FI Finnish
HU Hungarian
PL Polish
PT Portuguese
PT-BR Brazilian Portuguese
RO Romanian
RU Russian
SK Slovakian
TR Turkish
Preview of documentResponse
HTTP Error #500The content language/script is
unknown. Please provide the content
Alerts
This alert displays if you provide an invalid clang value.
language parameter to be served by
your QuarkXPress Server.
If the request succeeds, a transaction success message is written to the QuarkXPress Server transaction
log file. This message includes the date, time, request type, project name, response type, response
size in bytes, and client IP address. For example:
Logs
12/1/2005 14:57:37 p1.qxp Type: image/jpeg Size: 11981 Client: 127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server Error Log. The
transaction entry in the error log contains the date and time of the request, the error code, and the
error message. The following is a sample of an error log transaction entry:
12/1/2005 14:56:21 Error Error Code: 10136 The content language/script is unknown.
Please provide the content language parameter to be served by your QuarkXPress Server.
The following URL imports a series of Greek characters into the text box named "Story."
http://localhost:8080/sample.qxp?Story= μ &clang=EL
Example GET
URL
Request object names: RequestSettings
sdk.QRequestContext rc = new sdk.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
//STEP 2(SPECIFIC TO REQUESTS):
//Create the RequestSettings renderer request and
//embed it in request context
RequestSettings requestSetting = new RequestSettings();
122 | QXP SERVER 8.5 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE