Commit ade8b3aa authored by Phil Höfer's avatar Phil Höfer
Browse files

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

Resolve "Atom 1.0 Format hinzufuegen"

See merge request !1033
parents f86ed5cc 6f7928b1
......@@ -165,12 +165,13 @@ class MetaGer
->with('resultcount', sizeof($viewResults));
case 'atom10':
return view('metager3resultsatom10')
return response()->view('metager3resultsatom10')
->with('results', $viewResults)
->with('eingabe', $this->eingabe)
->with('apiAuthorized', $this->apiAuthorized)
->with('metager', $this)
->with('resultcount', sizeof($viewResults));
->with('resultcount', sizeof($viewResults))
->header('Content-Type', 'application/xml');
case 'result-count':
# Wir geben die Ergebniszahl und die benötigte Zeit zurück:
......@@ -9,7 +9,6 @@
<opensearch:Query role="request" searchTerms="{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"/>
<link rel="next" href="{{htmlspecialchars($metager->nextSearchLink() ,ENT_QUOTES)}}" type="application/atom+xml"/>
@foreach($metager->getResults() as $result)
<title>{!! htmlspecialchars($result->titel, ENT_XML1, 'UTF-8'); !!}</title>
......@@ -20,7 +19,6 @@
<!-- Muster zu finden unter -->
\ 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