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
93a1fae3
Commit
93a1fae3
authored
Aug 01, 2018
by
Phil Höfer
Browse files
HTML aus Minisucher-Quellenangabe entfernt
parent
039683b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Minisucher.php
View file @
93a1fae3
...
...
@@ -60,12 +60,12 @@ class Minisucher extends Searchengine
$subcollection
=
$result
->
xpath
(
'//doc/str[@name="subcollection"]'
)[
0
]
->
__toString
();
if
(
!
$subcollection
)
{
$gefVon
=
"
<a href=
\"
https://metager.de
\"
target=
\"
_blank
\"
rel=
\"
noopener
\"
>
Minisucher:
$minism
</a>
"
;
$gefVon
=
"Minisucher:
$minism
"
;
}
else
{
$minism
=
array_map
(
'strtolower'
,
explode
(
', '
,
$minism
));
$subcollection
=
array_map
(
'strtolower'
,
explode
(
' '
,
$subcollection
));
$result
=
implode
(
', '
,
array_intersect
(
$subcollection
,
$minism
));
$gefVon
=
"
<a href=
\"
https://metager.de
\"
target=
\"
_blank
\"
rel=
\"
noopener
\"
>
Minisucher:
$result
</a>
"
;
$gefVon
=
"Minisucher:
$result
"
;
}
$this
->
results
[]
=
new
\
App\Models\Result
(
...
...
Write
Preview
Supports
Markdown
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