Commit 576479e0 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '570-atom-1-0-format-hinzufuegen' into 'development'

Resolve "Atom 1.0 Format hinzufuegen"

Closes #570

See merge request !1038
parents 458c5421 d4807acb
@if(isset($ad) && !$apiAuthorized)
<ad:callOut atom:type="TEXT">{!! trans('ad.von') !!} {!! $ad->gefVon !!}</ad:callOut>
<ad:title atom:type="TEXT">{{ $ad->titel }}</ad:title>
<ad:displayUrl atom:type="TEXT">{{ $ad->anzeigeLink }}</ad:displayUrl>
<atom:link href="{{ $ad->link }}" />
\ No newline at end of file
<?xmlversion = "1.0"encoding = "UTF-8"?>
<feed xmlns=""
<title>{!! htmlspecialchars($eingabe, ENT_XML1, 'UTF-8'); !!} - MetaGer</title>
<link href="{{ url()->full() }}"/>
<updated>{{ date('c') }}</updated>
<opensearch:totalResults>{{ $resultcount }}</opensearch:totalResults>
<opensearch:Query role="request" searchTerms="{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"/>
<link rel="next" href="{{htmlspecialchars($metager->nextSearchLink() ,ENT_QUOTES)}}" type="application/atom+xml"/>
<link rel="next" href="{{ htmlspecialchars($metager->nextSearchLink() ,ENT_QUOTES) }}" type="application/atom+xml"/>
@include('layouts.atom10ad', ['ad' => $metager->popAd()])
@foreach($metager->getResults() as $result)
@if($result->number % 5 === 0)
@include('layouts.atom10ad', ['ad' => $metager->popAd()])
<title>{!! htmlspecialchars($result->titel, ENT_XML1, 'UTF-8'); !!}</title>
<link href="{!! htmlspecialchars($result->link, ENT_XML1, 'UTF-8'); !!}" />
......@@ -20,5 +25,3 @@
\ No newline at end of file
<!-- Muster zu finden unter -->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment