From f0c7c5fae030afbb1029c80d8528acd84bb9cf54 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 28 Mar 2020 23:30:53 +0100 Subject: [PATCH] Add LibreOffice --- modules/LibreOfficeFresh.php | 14 ++++++++++++++ modules/LibreOfficeStill.php | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 modules/LibreOfficeFresh.php create mode 100644 modules/LibreOfficeStill.php diff --git a/modules/LibreOfficeFresh.php b/modules/LibreOfficeFresh.php new file mode 100644 index 0000000..bd9874b --- /dev/null +++ b/modules/LibreOfficeFresh.php @@ -0,0 +1,14 @@ +fetch('https://www.libreoffice.org/download/release-notes/')) + return $this->parse('/name="Fresh"><\/a>LibreOffice ([\d\.]+) \(/'); + return false; + } +} + +?> diff --git a/modules/LibreOfficeStill.php b/modules/LibreOfficeStill.php new file mode 100644 index 0000000..3b9d187 --- /dev/null +++ b/modules/LibreOfficeStill.php @@ -0,0 +1,14 @@ +fetch('https://www.libreoffice.org/download/release-notes/')) + return $this->parse('/name="Still"><\/a>LibreOffice ([\d\.]+) \(/'); + return false; + } +} + +?>