Online service for converting DocBook to PDF

Using the REST APIs

You can use REST APIs to interact programmatically with this service. API provides access to the formatting service via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is XML. Your method will be the standard HTTP POST method. Below is represented a sample Python script which formats a document using the API:

import sys, urllib2
from poster.encode import multipart_encode
from poster.streaminghttp import register_openers

datagen, headers = multipart_encode({"main": open("your-docbook.xml", "rb")})
request = urllib2.Request("", datagen, headers)
print urllib2.urlopen(request).read()