Liquid Text App



-->

The Liquid action only indicates that the expected text output from the Liquid template's is a JSON string. The action instructs your logic app to parse input as a JSON object and applies a wrapper so that Liquid can interpret the JSON structure. In this video, I walk through the app, LiquidText, and how I use it to read and study for my graduate classes. Discover your next favorite thing. Product Hunt surfaces the best new products, every day. It's a place for product-loving enthusiasts to share and geek out about the latest mobile apps, websites, hardware projects, and tech creations.

  • Other features allow users to collapse text by pinching it, highlight and bookmark text, pan and zoom, or magnify specific sections using an onscreen magnifying glass.
  • My purchase isn’t going through—what do I do? IPad + Mac: Start with this article about resolving store-connection issues. If that does not help, then try contacting Apple directly, as they handle our purchase process. You are welcome to contact our customer service as well, but most purchase errors are best resolved by the above links.

When you want to perform basic JSON transformations in your logic apps, you can use native data operations such as Compose or Parse JSON. For advanced and complex JSON to JSON transformations that have elements such as iterations, control flows, and variables, create and use templates that describe these transformations by using the Liquid open-source template language. You can also perform other transformations, for example, JSON to text, XML to JSON, and XML to text.

Liquid text is awesome I have to digest a lot of long PDF documents and Liquid text allows me to quickly summarise the documents and pull out the main parts of text and images. The one area I'd love to see improved would be the ability to use the whole screen for the workspace. LiquidText is a free download on the App Store, but a $9.99 Pro upgrade is necessary to gain the new ink features. That upgrade will also unlock the app’s MultiDoc features. Users who previously purchased the MultiDoc In-App Purchase can unlock 3.0’s new features for a discounted price of $4.99.

Before you can perform a Liquid transformation in your logic app, you must first create a Liquid template that defines the mapping that you want. You then upload the template as a map into your integration account. When you add the Transform JSON to JSON - Liquid action to your logic app, you can then select the Liquid template as the map for the action to use.

  • LiquidText is a unique app that helps people annotate and mark up documents. It's won awards on iOS, and now it's available on the Surface Pro X and other Snapdragon-based PCs.
  • The text select tool selects text in your PDF so you can comment, select more, AutoExcerpt, add Tags, define and copy it. You can put your initials to your comments. Separate them from the comment itself using a comma. This feature feels incomplete. You can tag your PDF for research and cataloguing information in the PDF as you.

This article shows you how to complete these tasks:

  • Create a Liquid template.
  • Add the template to your integration account.
  • Add the Liquid transform action to your logic app.
  • Select the template as the map that you want to use.

Prerequisites

  • An Azure subscription. If you don't have a subscription, sign up for a free Azure account.

  • Basic knowledge about how to create logic apps

  • An integration account

  • Basic knowledge about Liquid template language

    Note

    The Transform JSON to JSON - Liquid action follows the DotLiquid implementation for Liquid,which differs in specific cases from the Shopify implementation for Liquid.For more information, see Liquid template considerations.

Create the template

  1. Create the Liquid template that you use as a map for the JSON transformation. You can use any editing tool that you want.

    For this example, create the sample Liquid template as described in this section:

  2. Save the template by using the .liquid extension. This example uses SimpleJsonToJsonTemplate.liquid.

Liquid Text Pro

Upload the template

  1. Sign in to the Azure portal with your Azure account credentials.

  2. In the Azure portal search box, enter integration accounts, and select Integration accounts.

  3. Find and select your integration account.

  4. On the Overview pane, under Components, select Maps. Call of duty black ops mac torrent.

  5. On the Maps pane, select Add and provide these details for your map:

    PropertyValueDescription
    NameJsonToJsonTemplateThe name for your map, which is 'JsonToJsonTemplate' in this example
    Map typeliquidThe type for your map. For JSON to JSON transformation, you must select liquid.
    MapSimpleJsonToJsonTemplate.liquidAn existing Liquid template or map file to use for transformation, which is 'SimpleJsonToJsonTemplate.liquid' in this example. To find this file, you can use the file picker. For map size limits, see Limits and configuration.

Add the Liquid transformation action

  1. In the Azure portal, follow these steps to create a blank logic app.

  2. In the Logic App Designer, add the Request trigger to your logic app.

  3. Under the trigger, choose New step. In the search box, enter liquid as your filter, and select this action: Transform JSON to JSON - Liquid

  4. Open the Map list, and select your Liquid template, which is 'JsonToJsonTemplate' in this example.

    If the maps list is empty, most likely your logic app isn't linked to your integration account.To link your logic app to the integration account that has the Liquid template or map, follow these steps:

    1. On your logic app menu, select Workflow settings.

    2. From the Select an Integration account list, select your integration account, and select Save.

  5. Now add the Content property to this action. Open the Add new parameter list, and select Content.

  6. To set the Content property value, click inside the Content box so that the dynamic content list appears. Select the Body token, which represents the body content output from the trigger.

    When you're done, the action looks like this example:

Test your logic app

Liquid Text App Store

By using Postman or a similar tool, post JSON input to your logic app. The transformed JSON output from your logic app looks like this example:

Liquid Text App

Liquid template considerations

Apps Like Liquid Text

Liquid Text App
  • Liquid templates follow the file size limits for maps in Azure Logic Apps.

  • The Transform JSON to JSON - Liquid action follows the DotLiquid implementation for Liquid. This implementation is a port to the .NET Framework from the Shopify implementation for Liquid and differs in specific cases.

    Here are the known differences:

    • The Transform JSON to JSON - Liquid action natively outputs a string, which can include JSON, XML, HTML, and so on. The Liquid action only indicates that the expected text output from the Liquid template's is a JSON string. The action instructs your logic app to parse input as a JSON object and applies a wrapper so that Liquid can interpret the JSON structure. After the transformation, the action instructs your logic app to parse the text output from Liquid back to JSON.

      DotLiquid doesn't natively understand JSON, so make sure that you escape the backslash character () and any other reserved JSON characters.

    • If your template uses Liquid filters, make sure that you follow the DotLiquid and C# naming conventions, which use sentence casing. For all Liquid transforms, make sure that filter names in your template also use sentence casing. Otherwise, the filters won't work.

      For example, when you use the replace filter, use Replace, not replace. The same rule applies if you try out examples at DotLiquid online. For more information, see Shopify Liquid filters and DotLiquid Liquid filters. The Shopify specification includes examples for each filter, so for comparison, you can try these examples at DotLiquid - Try online.

    • The json filter from the Shopify extension filters is currently not implemented in DotLiquid. Typically, you can use this filter to prepare text output for JSON string parsing, but instead, you need to use the Replace filter instead.

    • The standard Replace filter in the DotLiquid implementation uses regular expression (RegEx) matching, while the Shopify implementation uses simple string matching. Both implementations appear to work the same way until you use a RegEx-reserved character or an escape character in the match parameter.

      For example, to escape the RegEx-reserved backslash () escape character, use Replace: ', ', and not Replace: ', '. These examples show how the Replace filter behaves differently when you try to escape the backslash character. While this version works successfully:

      { 'SampleText': '{{ 'The quick brown fox 'jumped' over the sleeping dog' Replace: ', ' Replace: ', '}}'}

      With this result:

      { 'SampleText': 'The quick brown fox 'jumped' over the sleeping dog'}

      This version fails:

      { 'SampleText': '{{ 'The quick brown fox 'jumped' over the sleeping dog' Replace: ', ' Replace: ', '}}'}

      With this error:

      { 'SampleText': 'Liquid error: parsing ' - Illegal at end of pattern.'}

      For more information, see Replace standard filter uses RegEx pattern matching..

    • The Sort filter in the DotLiquid implementation sorts items in an array or collection by property but with these differences:

      • Follows Shopify's sort_natural behavior, not Shopify's sort behavior.

      • Sorts only in string-alphanumeric order. For more information, see Numeric sort.

      • Uses case-insensitive order, not case-sensitive order. For more information, see Sort filter does not follow casing behavior from Shopify's specification.

Apple

Liquid Text For Mac

Other transformations using Liquid

Liquid isn't limited to only JSON transformations. You can also use Liquid to perform other transformations, for example:

Transform JSON to text

Here's the Liquid template that's used for this example:

Here are the sample inputs and outputs:

Transform XML to JSON

Liquid Text Price

Liquid text app review

Here's the Liquid template that's used for this example:

Liquidtext Review

The JSONArrayFor loop is a custom looping mechanism for XML input so that you can create JSON payloads that avoid a trailing comma. Also, the where condition for this custom looping mechanism uses the XML element's name for comparison, rather than the element's value like other Liquid filters. For more information, see Deep Dive on set-body Policy - Collections of Things.

Here are the sample inputs and outputs:

Liquid Text App For Windows

Transform XML to text

Here's the Liquid template that's used for this example: I want to download a virus.

Here are the sample inputs and outputs:

Liquid Text App Workspace

Next steps

Liquid Text App For Windows

Liquid Text App

  • Learn more about maps

LiquidText Streamlines Highlighting, Annotating, Searching & More

References: liquidtext.net & prnewswire
Liquid Text App
LiquidText is the product of four years of research, two patents and a PhD thesis and it is being introduced as a reading and notetaking app that's 'better than paper.' LiquidText for Windows 10 and MacOS helps to offer a seamless experience across all devices and simplify the flow of work for students and professionals alike.
The flexible new version of the productivity app for tablets, hybrids, laptops and desktops includes tagging capabilities, workspace search and customization options for tweaking the layout and workspace.
This summer, LiquidText will be releasing a subscription service to support backup, synchronization and work group collaboration so that users across multiple devices and teams can enjoy an even more streamlined experience.
Score




Comments are closed.