Hi! We're using ditac from our CCMS by giving it the map or topic path as an
URL; the URL points to an internal RESTful Web Service that reads the
content from CCMS, eg. 

http://localhost/IndoxInternal/IndoxRESTHandler/b3ac11cd-4cea-4128-b104-03e7
7a0b6cb5/path/to/a/map.ditamap  

 

All hrefs in the documents opened via the Web Service are converted to
absolute URL by prepending the base URI in the same way, up to the GUID in
the example, eg.  

http://localhost/IndoxInternal/IndoxRESTHandler/b3ac11cd-4cea-4128-b104-03e7
7a0b6cb5/path/to/a/media/image.png 

 

All's well with PDF's, but now we're adding webhelp output format, and
images with absolute URLs are not copied to the image directory. After some
research, this appears to be in accordance to the documentation;
ResourceHandler javadocs say "However, a ResourceHandler is invoked only for
resources having an URL which is relative to the document being
preprocessed, not for resource having an absolute URL."

 

Does this really mean that if we want to produce a totally stand-alone,
offline webhelp from content that has absolute URL's, there's no way to do
that with ditac using parameters, configuration or XSL? Would the only
option be modifying resolveObjectURLs in LoadedDocuments.java? 

 

Antti Rauramo

Index IT

 

--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to