Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1486

Lua Scripting • Re: Convert HTML/XML to Lua Table (and vice versa)

$
0
0
Updated the main post.

Added allowEmptyStrings option to HTML2Table.lua

This option allows for empty strings to be returned. I noticed some html tables would have missing data, which was ignored before and could be undesirable in certain situations. Now this new option allows for more control paired with wContentOnly and tags options on .getStrings function.

wContentOnly on .getStrings function now affects the resultant strings when allowEmptyStrings = true. Empty strings are returned as "".

allowEmptyStrings = true is default
wContentOnly = false is default.

Updated the example skin on the post above as well.

Statistics: Posted by RicardoTM — Yesterday, 4:23 pm



Viewing all articles
Browse latest Browse all 1486

Trending Articles