From f259dfadd7781e829210ccd006a6abef9d5e0980 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Phil=20H=C3=B6fer?= <phil@suma-ev.de> Date: Fri, 12 Oct 2018 12:54:56 +0200 Subject: [PATCH] Remove HTML markup from ebay results. --- app/Models/parserSkripte/Ebay.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Models/parserSkripte/Ebay.php b/app/Models/parserSkripte/Ebay.php index 34ce81907..e4766cc21 100644 --- a/app/Models/parserSkripte/Ebay.php +++ b/app/Models/parserSkripte/Ebay.php @@ -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(); -- GitLab