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; } }