From 2fc73eefd004b57c57b74668321b99c16bc15946 Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Mon, 25 Sep 2023 13:13:07 -0500 Subject: [PATCH] added link --- extension.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/extension.php b/extension.php index 873530e..f7bd719 100644 --- a/extension.php +++ b/extension.php @@ -4,13 +4,8 @@ class KagiSummarizerExtension extends Minz_Extension { public function init() { $this->registerTranslates(); $this->registerHook('entry_before_display', [$this, 'addSummarizeButton']); - //Minz_View::appendScript($this->getFileUrl('script.js', 'js'), false, false, false); //Minz_View::appendStyle($this->getFileUrl('style.css', 'css')); - //Minz_View::appendScript(_url('kagiSummarizer', 'jsVars', false, true, false); - - //$this->registerController('kagiSummarizer'); - //$this->registerViews(); } public function handleConfigureAction() { @@ -28,7 +23,7 @@ class KagiSummarizerExtension extends Minz_Extension { } public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry { - $entry->_content('

Hello World

' . $entry->content()); + $entry->_content('
Summarize
' . $entry->content()); return $entry; } }