diff --git a/app/Models/Result.php b/app/Models/Result.php index f14c22b6d8f4ba21b01a702db7e414cdc92d91da..3845196e91e68f1cac0752bafcb7da78a1c1fea4 100644 --- a/app/Models/Result.php +++ b/app/Models/Result.php @@ -173,6 +173,7 @@ class Result # Wir wenden die Stoppwortsuche an und schmeißen entsprechende Ergebnisse raus: foreach($metager->getStopWords() as $stopWord) { + $text = $this->titel . " " . $this->descr; if(stripos($text, $stopWord) !== false) { return false; @@ -245,4 +246,4 @@ class Result return "https://proxy.suma-ev.de/cgi-bin/nph-proxy.cgi/en/I0/" . $tmp; } -} \ No newline at end of file +} diff --git a/readme.md b/readme.md index df3a6fb9852089c6d2f43b979026aab88c3cdffe..9d797c19c2decd427ddcdc73afe8bff05f7e054c 100644 --- a/readme.md +++ b/readme.md @@ -5,6 +5,8 @@ MetaGer ist eine datenschutzfreundliche und freie Meta-Suchmaschine. ## Abhängigkeiten * composer (https://getcomposer.org/) * php7.0 + * php7.0-mbstring + * php7.0-dom * sqlite3 * Das Perl-Paket: Lingua::Identify (http://search.cpan.org/~ambs/Lingua-Identify-0.56/lib/Lingua/Identify.pm)