Not all topics are available at the moment and content links may be broken.
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. Four different rules are available:
Function | Description |
---|---|
Cut text before | Cuts off all text before Day1 |
Cut text after | Cuts off all text after Day1 |
Get Text | Brings all text until the Day1 in the variable |
Text ausschneiden | Cuts the text between Day1 and Day2 and writes it in the variable |
You can apply multiple rules in a row and use even more "Get Text" - "Cut text" operations.
A small example will show how to read the first headline of heise.de to show it e.g. in the WebFront.
Description | Rule |
---|---|
Cut text before | <div> |
Cut text after | “> |
Hole Text | </a> |