Em logo
 products   download   support   sales   info   news   store  
 overview   Xdata   InData   Xcatalog   InCatalog   Xtags   InFlow 
need help?
 overview 
 features 
 download 
 support 
 history 
 beta 
 indesign 
 quarkxpress 
 quarkxpress server 
 buy 

Xtags Server for QuarkXPress Beta Downloads

First, you must see important information about beta software if you haven't already.

Then, see the latest Xtags for QuarkXPress beta information, all of which applies fully here (and isn't repeated).

Then, download one of the following, depending on your platform:

and, if you would like a copy of the manual, download the Xtags Users's Guide (.pdf).

Finally, sample files are available from Xtags sample files. (See notes below on how to use these samples.)

We're keeping this version in synchronization with the client Xtags for QuarkXPress releases, down to the bug-fix level (e.g., 7.3.2), and we're trying to keep the beta release levels the same as well, to avoid confusion.

The full (and only) documentation for the server aspects of this version is online at the end of this page, for now.

Change History

See the normal XPress beta page for features added and changed at each beta release.

Known limitations

Known limitations and problems with this release are:
  • Imported .eps graphics files may not render properly.

  • There are encoding interactions that QuarkDDS isn't handling properly (or isn't handling in its interaction with particular browsers, e.g., Safari under Mac OS X). In particular, form data sent to QuarkDDS is assumed to be in the default ISO Latin 1 character set, so any Mac Roman ("high ascii") characters in a form are not handled properly. This shows up on the Mac, for example, if you use curly quotes, chevrons, etc., in the sample forms we provide for testing and demonstration purposes.

    One simple workaround, for now, is to use <e1> as the first line in any form data, which tells Xtags to interpret the data it receives as being in the Windows extended character set (very close to ISO Latin 1).

Xtags Server for QuarkXPress Usage

The Xtags Server 6.x/7.x XTension is an enhanced version of the corresponding Xtags 6.x/7.x XTension, with exactly the same core features, but with additional logic for operating in the QuarkXPress Server 7 (QuarkDDS 3.5+) environment, and minus its normal user interface. (Preferences are controlled at invocation time by URL/form parameters.)

Prerequisites

Before you can use this information effectively, you must understand the basics of installing, administering and using QuarkXPress Server as a web service, since we can't really cover that all that here. (QuarkXPress Server is called QuarkDDS in its current 3.5+ incarnation (corresponding to QuarkXPress 6.5+), and QuarkXPress Server in its 7.x incarnation.)

Installation

(This needs to be updated for QuarkXPress Server 7.)

To install Xtags Server, shutdown QuarkDDS if it's running, download and extract the XTension file (named Xtags Server 6.x.y.xnt), drag that file into the Xtensions subfolder of the QuarkDDS folder (wherever that's installed) and restart QuarkDDS. To check that it's installed properly, select QuarkDDS > Server XTensions Manager... and verify that the Xtags Server Xtension has status "Active".

Operation

To invoke Xtags in the server environment, you use only one of the following Xtags URL parameters (or HTML form parameters) along with an otherwise standard DDS request:

  • xtagsinputtext provides the actual input stream for Xtags;

  • xtagsinputfile references a DDS document-pool relative file (using Web-style paths with / as the separator) to use as the input stream.

Xtags will attempt to find the autoflow text stream on the first page in the document being rendered, and import its input stream into that set of text boxes (one or more--contents are assumed to be empty). If it can't find an autoflow stream, it will fail with an appropriate error message. (This means any Xtags-driven templates must have an autoflow text chain, even if it's just a tiny "toe hold" invisible (no background color, no runaround) text box somewhere on the master page.)

The general intent with both of these control parameters is that Xtags will do its normal document-building with the given input, and then XPress Server will render the results.

For example, the simple URL (where host:port represents your DDS server's host address and port, ignoring any line wrapping):

http://host:port/jpeg/mydoc.qxd?xtagsinputtext=Hello%20World.
asks DDS to render the document mydoc.qxd as a JPEG graphic, after giving Xtags as input the characters "Hello world." (Awfully simple, but you get the idea.) Of course, in most cases, you'd send xtagsinputtext as an encoded HTML form <input type="text"> parameter of any length and content.

For another example, using xtagsinputfile, the URL (ignoring any line wrapping here)

http://host:port/pdf/myfiles/mydoc.qxd?xtagsinputfile=myfiles/builddoc.xtg
asks DDS to render the document myfiles/mydoc.qxd as a PDF file, after giving Xtags as input the contents of the file builddoc.xtg found in the myfiles folder under the DDS document pool top-level folder (e.g., under Mac OS X, the actual input file would be something like em10:Applications:QuarkDDS 3.5:QuarkDDS Documents:myfiles:builddoc.xtg, and under Windows, c:\Program Files\Quark\QuarkDDS 3.5.3\QuarkDDS\QuarkDDS Documents\myfiles\builddoc.xtg). Of course, use of xtagsinputfile presumes you've managed to get that file uploaded to the server somehow.

Three boolean (value "1" for yes, or "0" for no) parameters control Xtags' operation (these are the same as the UI preferences):

  • convertquotes controls whether Xtags converts straight quote characters to their typographically correct cousins (default, if missing, is true);

  • reporterrors controls whether Xtags inserts error messages inline or not (default false);

  • suppresspictureerrors controls Xtags ignores errors when importing pictures or not (default false), if the presence or absence of any particular picture isn't urgent.

So, for example, the URL (again, ignoring any line wrapping)

http://host:port/mydoc.qxd?xtagsinputfile=input.xtg&convertquotes=0&reporterrors=1&suppresspictureerrors=1
will render mydoc.qxd using the given Xtags input file, with quote conversion off, error reporting on, but with picture errors suppressed.

Xtags picture creation tag file paths (and translation tables) are looked up normally, using either absolute or relative paths. Relative paths are evaluated in the following order:

  • if the path exactly matches a parameter name (in the current DDS request form) whose mime type indicates that it's an image file, then the given uploaded file is used;

  • relative to the server document pool root folder;

  • relative to the document itself;

and no file alias resolution is done (under DDS, unlike the client Xtags).

The general idea is that you can, in the server request HTML POST form, supply all text and graphics needed to build the current document, without reference to external files. You can also upload all graphics and text input files to somewhere in the document pool and reference them relatively. Or, you can mix and match these two approaches at will.

Using the Sample Files

With the sample files downloaded, unpack the .zip archive, and copy or move the xtags/ subfolder to the top level of your XPress Server document's folder (e.g., Applications:QuarkDDS:QuarkDDS Documents: in a typical Mac installation). Then (re)start XPress Server.

As a simple but complete end-to-end test that the files are in place and the Xtags Server XTension is working, click this link:

http://localhost:8080/jpeg/xtags/Demo%20template.qxd?xtagsinputfile=xtags/Basic%201.txt
where you may have to replace "localhost:8080" with your XPress Server hostname/IP address and port. You should see a page of (single large JPEG) output (that produced by importing the xtags/Basic 1.txt Xtags file into the Demo template.qxd template document. Try tacking a &page=2 on the end of this URL to see the second page (just a handful of lines, normally).

Then, move or copy the sample file .zip archive's forms/ subfolder somewhere you can use it easily. From that folder, open demofile.html in your favorite web browser, and follow the directions embedded in the form. From there, you can select any of the other three demonstration forms, or open them in the web browser directly from the file system.

As another demonstration, you can build documents and retrieve results entirely from the command line, using utilities like "curl". For example, in Terminal under Mac OS X, you can use something like

$ curl "localhost:8080/xtags/Demo%20template.qxd?xtagsinputtext=Hello%20world." > hello.jpg
$ open hello.jpg

to create and view the JPEG file resulting from processing the given Xtags input text with the given template.

Host and System Requirements

Xtags 6.x Server requires QuarkDDS 3.5 or later (3.5.2 recommended); Xtags 7.x Server requires QuarkXPress Server 7.0 or later under Mac OS X or Windows. Xtags Server of any version has no additional system requirements beyond that of its host.

 

Try / Buy Xtags $400

Alerts
Xtags for InDesign 3.0.1 beta 2 available
Xtags for QuarkXPress 4/6.2.2 beta 2 available
Xtags for InDesign 3.0 released
Xtags 4/6.2.1 released (for QuarkXPress 6.5)
(more...)

top | home     © 2005 em software, inc. all rights reserved.