From 5fb2ad0bf7d1deaa8c4bb27fa4ca30c321b8beb2 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Thu, 23 Feb 2023 17:12:43 +0100 Subject: [PATCH] Update Readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abbce01..cbbda0f 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,14 @@ class MyProgram extends PatchBase { * Implement ```check()``` method to extract version information from website using this template: ``` function check() : bool { - if ($this->fetch[_json]('https://www.url.com/')) + if ($this->fetch[_json|_yaml]('https://www.url.com/')) return $this->parse... return false; } ``` * Currently available parser functions for JSON and RegEx: * ```parse_json(string)``` + * ```parse_yaml(string)``` * ```parse(string)``` [![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WYQZCVJPVSS5L&source=url)