HTML table widget

From SpinetiX Support Wiki

Jump to: navigation, search

Description

Icon html table widget.png

This widget is using a custom script (html_table_parser.js) within a table feed widget (Script Table.svg) to display the data from a table included into an HTML page. The parser will cleanup all the HTML code in the table, keeping only the text content. The script can be edited to select the table to retrieve (targetTable). By default the first table is retrieved.

The data returned by the custom parser is displayed within the feeds widget using [[c1]], [[c1]], ... placeholders. It is also possible to configure the script to use the header of the table as placeholders by modifying the variable useThAsColumnNames.

The parser cannot interpret data spanning over multiple columns or rows as in the original table.

This page was last modified on 27 February 2017, at 11:26.