Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
9e78a0eb
Commit
9e78a0eb
authored
Jul 28, 2016
by
Dominik Hebeler
Browse files
Yandex Descriptions werden nun häufiger gefunden
parent
9afcda63
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Yandex.php
View file @
9e78a0eb
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment