Skip to content

HTMLExtract

Francesco edited this page Mar 31, 2018 · 33 revisions

Introduced in t-ui beta 6.5.5.

This feature let's you extract text from HTML pages and display it inside t-ui.

XPath

XPath is a language used to find particular nodes and tags in HTML/XML documents. It's very easy to understand, and very powerful.

Format

Values:

  • %n -> newline
  • %t -> tag name (of the matched nodes)
  • %t(attributeName) -> the value of the attribute attributeName of the matched node
  • %a(format)(separator) -> prints every attribute of the matched nodes
    • %an -> attribute name
    • %av -> attribute value
  • %v -> the value of the matched nodes

Clone this wiki locally