Skip to content
Snippets Groups Projects
Commit 812e49c5 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '452-such-api' into 'development'

RSS-2.0-Ausgabe escaped jetzt besser

Closes #452

See merge request !770
parents 9137a138 7d2bfef3
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -3,17 +3,17 @@
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ $eingabe }} - MetaGer</title>
<title>{!! htmlspecialchars($eingabe, ENT_XML1, 'UTF-8'); !!} - MetaGer</title>
<description></description>
<opensearch:totalResults>{{ $resultcount }}</opensearch:totalResults>
<opensearch:Query role="request" searchTerms="{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"/>
@foreach($metager->getResults() as $result)
<item>
<title>{{ $result->titel }}</title>
<link>{{ $result->link }}</link>
<title>{!! htmlspecialchars($result->titel, ENT_XML1, 'UTF-8'); !!}</title>
<link>{!! htmlspecialchars($result->link, ENT_XML1, 'UTF-8'); !!}</link>
<description>
{{ $result->descr }}
{!! htmlspecialchars($result->descr, ENT_XML1, 'UTF-8'); !!}
</description>
</item>
@endforeach
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment