Commit 9e78a0eb authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Yandex Descriptions werden nun häufiger gefunden

parent 9afcda63
......@@ -39,6 +39,10 @@ class Yandex extends Searchengine
$link = $result->{"doc"}->{"url"}->__toString();
$anzeigeLink = $link;
$descr = strip_tags($result->{"doc"}->{"headline"}->asXML());
if( !$descr )
$descr = strip_tags($result->{"doc"}->{"passages"}->asXML());
$this->results[] = new \App\Models\Result(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment