Convert to HTML

Actions

NameDescription
convert

Convert a docx binary to HTML

convert collection

Load a collection of documents in a library and convert them to HTML if they are in docx format

remove

Remove a posted docx file


Inputs

ActionNameDescription
convertdocx

The docx binary to be converted

convertworkspace-id

The identifier of the workspace in which the uploaded docx binary is to be posted. The uploaded docx binary will have name the identifier of the workflow that converts it with extension .docx.

convertworkspace-url

The URL of the workspace in which the uploaded docx binary is to be posted.

convert collectioncollection-id

The identifier of an item representing a collection

removedocument-item

The item representing the posted docx file to be removed

removedocument-name

The name of the posted document to be removed


Outputs

ActionNameDescription
convertdocument-item

A newly-created item that is the subject of a triple whose verb is sys:fileHasContent and whose object is the uploaded docx binary. Its lifetime is not limited to the processing lifetime.

converthtml-item

A newly-created item that is the subject of a triple whose verb is sys:fileHasContent and whose object is the HTML text that results from converting the docx binary. Its lifetime is the processing lifetime.

convertreference-url

The URL to be used to look up references. It is the URL of the uploaded document.

convert collectionconverted-collection-item

The item representing the collection whose documents have been loaded and converted