commit 6e1a04cb53a1c4318607366dd7d6a5f5a5402698
parent 01455e0c89a8b2bb60dac08a7d4891c1d7edb8e2
Author: markseu <mark2011@mayberg.se>
Date: Sat, 4 Jan 2020 12:52:18 +0100
Updated meta extension
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/system/extensions/meta.php b/system/extensions/meta.php
@@ -1,10 +1,10 @@
<?php
// Meta extension, https://github.com/datenstrom/yellow-extensions/tree/master/features/meta
-// Copyright (c) 2013-2019 Datenstrom, https://datenstrom.se
+// Copyright (c) 2013-2020 Datenstrom, https://datenstrom.se
// This file may be used and distributed under the terms of the public license.
class YellowMeta {
- const VERSION = "0.8.9";
+ const VERSION = "0.8.10";
const TYPE = "feature";
public $yellow; //access to API
@@ -55,7 +55,7 @@ class YellowMeta {
// Handle page output data
public function onParsePageOutput($page, $text) {
$output = null;
- if ($text && preg_match("/^(.*)<html(.*?)>(.*)$/s", $text, $matches)) {
+ if ($text && preg_match("/^(.*?)<html(.*?)>(.*)$/s", $text, $matches)) {
$output = $matches[1]."<html".$matches[2]." prefix=\"og: http://ogp.me/ns#\">".$matches[3];
}
return $output;
diff --git a/system/settings/system.ini b/system/settings/system.ini
@@ -46,6 +46,7 @@ CoreDownloadExtension: .download
CoreTextFile: text.ini
CoreLogFile: yellow.log
UpdateExtensionUrl: https://github.com/datenstrom/yellow-extensions
+UpdateExtensionDir: /Users/yourname/Documents/GitHub/
UpdateExtensionFile: extension.ini
UpdateVersionFile: version.ini
UpdateWaffleFile: waffle.ini