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
bf4ff464
Commit
bf4ff464
authored
Jun 08, 2016
by
Dominik Hebeler
Browse files
Diese beiden Produktsuchen geben jetzt auch wieder kleine Artikelbilder an
parent
484716a3
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Models/parserSkripte/Ecoshopper.php
View file @
bf4ff464
...
...
@@ -43,6 +43,7 @@ class Ecoshopper extends Searchengine
$anzeigeLink
=
$link
;
}
$descr
=
$result
->
xpath
(
'//doc/str[@name="artikelBeschreibung"]'
)[
0
]
->
__toString
();
$image
=
$result
->
xpath
(
'//doc/str[@name="artikelImageurl"]'
)[
0
]
->
__toString
();
$this
->
counter
++
;
$this
->
results
[]
=
new
\
App\Models\Result
(
$this
->
engine
,
...
...
@@ -51,7 +52,9 @@ class Ecoshopper extends Searchengine
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
counter
$this
->
counter
,
false
,
$image
);
}
}
...
...
app/Models/parserSkripte/Mg_produkt2.php
View file @
bf4ff464
...
...
@@ -35,6 +35,7 @@ class Mg_produkt2 extends Searchengine
parse_str
(
$anzeigeLink
[
'query'
],
$query
);
$anzeigeLink
=
$query
[
'diurl'
];
$descr
=
$result
->
xpath
(
'/doc/arr[@name="artikelBeschreibung"]'
)[
0
]
->
{
"str"
}
->
__toString
();
$image
=
$result
->
xpath
(
'/doc/arr[@name="artikelImageurl"]'
)[
0
]
->
{
"str"
}
->
__toString
();
$this
->
counter
++
;
$this
->
results
[]
=
new
\
App\Models\Result
(
$this
->
engine
,
...
...
@@ -43,7 +44,9 @@ class Mg_produkt2 extends Searchengine
$anzeigeLink
,
$descr
,
$this
->
gefVon
,
$this
->
counter
$this
->
counter
,
false
,
$image
);
}
}
...
...
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