Update WebParser to have true parsing

Report bugs with the Rainmeter application and suggest features.

Update WebParser to have true parsing

June 10th, 2018, 4:31 pm
Ytterbium
   [9 posts]

Hello,

I'm trying to parse some xml with the WebParser but it's very difficult to create some RegEx as it's not really designed for that function.

There was a plugin written as the RegEx became troublesome for this person.

I imagine that most people would prefer a true parser?

using XPath Syntax would be great choice for parser language.

Thanks for consideration
User avatar

Re: Update WebParser to have true parsing

June 10th, 2018, 4:47 pm
jsmorley
Developer   [17587 posts]

WebParser is not about XML. It is designed to be able to use regular expression to parse any site or text file. While I could see the charm of having some purposeful functionality that is intended to more easily parse properly formatted XML files, that is only a small part of what WebParser is used for by skin authors.

I personally don't see this in the cards. Regular expression is not the easiest thing to use, but is very flexible and powerful, and allows WebParser to be useful in many, many situations. Adding an external parser strictly for XML would be both difficult to implement in the option-driven language of Rainmeter, and not something that there is any great need for. I appreciate that regular expression is challenging, but you can in fact use it perfectly well for parsing any XML.

Return to “Bugs & Feature Suggestions”



Who is online

Users browsing this forum: No registered users and 2 guests