Select HTML Elements

Select HTML Elements by CSS Selector

We are pleased to announce the new release of Aspose.HTML Cloud. A new REST API added that let you make Selection of the HTML layout fragments that match criteria specified by using CSS selectors. Moreover, a few bugs were also fixed. For a detailed note on what is new and fixed, please visit the Aspose.HTML Cloud 18.8 release notes section in product Documentation.

New Features and Enhancements

New REST APIs

All URIs are related to https://api.aspose.cloud/v1.1/html

  • GET /html/{name}/fragments/css/{outFormat}

Selects HTML fragments by CSS selector from HTML document (located in storage by its name and folder path, like /folder1/folder2/name.html) and returns them as plain text or JSON. Please check Get HTML fragments using CSS Selector article for details.

  • GET /html/fragments/css/{outFormat}

Selects HTML fragments by CSS selector from the HTML page (located in Web by its URL) and returns them as plain text or JSON. Please check Get HTML fragments using CSS Selector article for details.

Fixed bugs

A bug in “Get images by URL” API regarding invalid Content-Disposition header value has been fixed. Similar issue was found in other APIs using source page URL as parameter.

Aspose Cloud Resources

You may visit the following API resources for getting started and working with the API:

  • Product Overview – An overview of Aspose.HTML Cloud APIs

  • Product Documentation – Detailed API documentation with code examples and details about API functional areas

  • Cloud SDKs – An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project

  • API Reference Guide – Quickly browse through all Aspose.HTML Cloud APIs and test them in the browser

  • Aspose.HTML Forum – Free online product support forum to address your queries and inquiries