Translation is in progress...
Not all topics are available at the moment and content links may be broken.
The TextParser is a module that provide text snippets from websites or files.
The TextParser can be searched and added as instance via the "+" in the Object Tree. Within the configuration of the TextParser, a gateway that provides the raw text can be selected via "Change Gateway". For example, an Invalid Link: httpclient can be selected.
The TextParser in IP-Symcon allows to cut off certain parts e.g. of a web page or a file by executing several rules consecutively. The following rules are available:
|Cut Before||Cuts off all text before Tag1|
|Cut After||Cuts off all text after Tag1|
|Get Text||Brings all text until Tag1 in the variable|
|Get Text Between||Cuts the text between Tag1 and Tag2 and writes it in the variable|
Multiple rules can be applied consecutively and even additional "Get Text" - "Get Text Between" operations can be used.
A small example will show how to read the first headline of heise.de to show it e.g. in the WebFront.
|Cut Text Before||<title>|