Ruby Wrapper Around Cloud API for HTML Files Creation & Manipulation

Ruby Cloud SDK to fetch, render, process, translate & convert HTML documents to JPEG, BMP, PNG, TIFF, PDF, XPS, Markdown & other formats.

  Start Free Trial
Aspose.HTML Cloud SDK for Ruby

Aspose.HTMLCloud SDK for Ruby


Aspose.HTML Cloud SDK for Ruby is developed on top of Cloud REST API and enables you to perform a wide range of file processing operations including creation, manipulation, conversion and rendering of HTML files in the cloud. The SDK supports document conversion to fixed layout document formats such as PDF, XPS or to raster image formats including JPEG, PNG, BMP or TIFF. You may even choose to render a complete file or select few pages and perform the conversion.

Aspose.HTML Cloud SDK for Ruby ensures that the converted files are produced according to the target file's standards and specifications, so that the resultant file can easily be loaded within their native applications.


Advanced HTML Processing Features



Create HTML pages from scratch


Load HTML from existing file


Get HTML fragments using XPath queries


Render HTML to raster Images


Convert HTML to PDF or XPS & Convert HTML page to MHTML via URL


Translate HTML text content & Extract HTML Images


Download HTML page and its linked resources as a ZIP archive


API explorer based on swagger collection


Secured and requires authentication

Manipulate HTML Nodes

Aspose.HTML Cloud SDK for Ruby enables you to navigate through the HTML document either by elements, document or XPath selector queries, insert, remove or replace HTML nodes on the go.

Get HTML Document Keywords

Aspose.HTML Cloud SDK for Ruby offers a unique feature to get the HTML document keywords using the keyword detection service. Currently it offers two mechanism to read the keywords from HTML file i.e. one API lets you specify an HTML document by its name (earlier uploaded to Cloud Storage) and the other takes URL of the document on web as an argument.

HTML to Fixed-Layout Format Conversion

Aspose.HTML Cloud SDK for Ruby provides the capabilities to create or load HTML files, and render the output in PDF or XPS.

The conversion process is highly customizable and depends upon the values of URL parameters i.e. the sourceUrl and outPath. If sourceUrl parameter is specified, it can contain absolute web URL, which means an HTML page from web, or if its a relative URL, it indicates that the cloud-stored HTML document. Else the source document is passed as the request content stream. If outPath parameter is specified, the resulting document will be saved in the cloud storage by specified path and name and if its not specified, the result will be returned as the response content stream.

Extract Images from HTML file

The SDK enables you to Extract all images from the HTML document. They will be returned in the response content stream as a zipped package of image files.

Rendering to Raster Image Formats

The core competency of Aspose.HTML Cloud SDK for Ruby is its high fidelity rendering engine, which is at its core. With this SDK, you can convert HTML pages to most commonly used raster image formats including TIFF, BMP, PNG & JPEG without requiring any additional software or tool.

Translate HTML Page

Aspose.HTML Cloud SDK for Ruby provides the capabilities to translate the text content of HTML document to other languages simultaneously (currently English to German, French & Russian translation is supported).


Support and Learning Resources