Skip to content
Snippets Groups Projects
Commit f259dfad authored by Phil Höfer's avatar Phil Höfer
Browse files

Remove HTML markup from ebay results.

parent fda23a05
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -32,15 +32,15 @@ class Ebay extends Searchengine
$time = $result->{"listingInfo"}->{"endTime"}->__toString();
$time = date(DATE_RFC2822, strtotime($time));
$price = intval($result->{"sellingStatus"}->{"convertedCurrentPrice"}->__toString()) * 100;
$descr = "<p>Preis: " . $result->{"sellingStatus"}->{"convertedCurrentPrice"}->__toString() . " €</p>";
$descr .= "<p>Versandkosten: " . $result->{"shippingInfo"}->{"shippingServiceCost"}->__toString() . " €</p>";
$descr = "Preis: " . $result->{"sellingStatus"}->{"convertedCurrentPrice"}->__toString() . " €";
$descr .= ", Versandkosten: " . $result->{"shippingInfo"}->{"shippingServiceCost"}->__toString() . " €";
if (isset($result->{"listingInfo"}->{"listingType"})) {
$descr .= "<p>Auktionsart: " . $result->{"listingInfo"}->{"listingType"}->__toString() . "</p>";
$descr .= ", Auktionsart: " . $result->{"listingInfo"}->{"listingType"}->__toString();
}
$descr .= "<p>Auktionsende: " . $time . "</p>";
$descr .= ", Auktionsende: " . $time;
if (isset($result->{"primaryCategory"}->{"categoryName"})) {
$descr .= "<p class=\"text-muted\">Kategorie: " . $result->{"primaryCategory"}->{"categoryName"}->__toString() . "</p>";
$descr .= ", Kategorie: " . $result->{"primaryCategory"}->{"categoryName"}->__toString();
}
$image = $result->{"galleryURL"}->__toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment