Skip to content
Snippets Groups Projects
Commit c5528730 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Yandex Descriptions werden nun häufiger gefunden

parent 0a9eddd7
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -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->counter++;
$this->results[] = new \App\Models\Result(
$this->engine,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment