From a995f7a9b943e18029f8c1fa72ae5899581b13e1 Mon Sep 17 00:00:00 2001 From: Aria <aria@suma-ev.de> Date: Tue, 12 Sep 2017 11:19:42 +0200 Subject: [PATCH] =?UTF-8?q?Kleinigkeit=20=C3=BCbersehen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/metager3resultsatom10.blade.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/resources/views/metager3resultsatom10.blade.php b/resources/views/metager3resultsatom10.blade.php index 42ad1cd8c..050ce4a73 100644 --- a/resources/views/metager3resultsatom10.blade.php +++ b/resources/views/metager3resultsatom10.blade.php @@ -12,19 +12,8 @@ <id>urn:uuid:1d634a8c-2764-424f-b082-6c96494b7240</id> @include('layouts.atom10-ad', ['ad' => $metager->popAd()]) @foreach($metager->getResults() as $result) - @if($result->number % 7 === 0) - <ad:advertisement> - <ad:callOut atom:type="TEXT">[Ad]</ad:callOut> - <ad:title atom:type="TEXT">20% Off Coffee</ad:title> - <ad:subTitle atom:type="TEXT">Walk in and show us this ad on your phone</ad:subTitle> - <ad:displayUrl atom:type="TEXT">example.com/coffee</ad:displayUrl> - <ad:image ad:id="cprp20" ad:width="170" ad:height="30"> - <ad:link href="http://example.com/ads/20_off_coffee.jpg" /> - <ad:altText atom:type="TEXT">Click for Cafes Near You</ad:altText> - </ad:image> - <atom:link href="http://example.com/coffee/" /> - <ad:id>1234567890</ad:id> - </ad:advertisement> + @if($result->number % 5 === 0) + @include('layouts.atom10-ad', ['ad' => $metager->popAd()]) @endif <entry> <title>{!! htmlspecialchars($result->titel, ENT_XML1, 'UTF-8'); !!}</title> -- GitLab