Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
3ace0c1c
Commit
3ace0c1c
authored
Mar 13, 2017
by
Phil Höfer
Browse files
RSS-2.0-Ausgabe escaped jetzt besser
parent
18beb1de
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/metager3resultsrss20.blade.php
View file @
3ace0c1c
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
xmlns:opensearch=
"http://a9.com/-/spec/opensearch/1.1/"
xmlns:opensearch=
"http://a9.com/-/spec/opensearch/1.1/"
xmlns:atom=
"http://www.w3.org/2005/Atom"
>
xmlns:atom=
"http://www.w3.org/2005/Atom"
>
<channel>
<channel>
<title>
{
{ $eingabe }
} - MetaGer
</title>
<title>
{
!! htmlspecialchars($eingabe, ENT_XML1, 'UTF-8'); !!
} - MetaGer
</title>
<description></description>
<description></description>
<opensearch:totalResults>
{{ $resultcount }}
</opensearch:totalResults>
<opensearch:totalResults>
{{ $resultcount }}
</opensearch:totalResults>
<opensearch:Query
role=
"request"
searchTerms=
"{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"
/>
<opensearch:Query
role=
"request"
searchTerms=
"{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"
/>
@foreach($metager->getResults() as $result)
@foreach($metager->getResults() as $result)
<item>
<item>
<title>
{
{ $result->titel }
}
</title>
<title>
{
!! htmlspecialchars($result->titel, ENT_XML1, 'UTF-8'); !!
}
</title>
<link>
{
{ $result->link }
}
</link>
<link>
{
!! htmlspecialchars($result->link, ENT_XML1, 'UTF-8'); !!
}
</link>
<description>
<description>
{
{ $result->descr }
}
{
!! htmlspecialchars($result->descr, ENT_XML1, 'UTF-8'); !!
}
</description>
</description>
</item>
</item>
@endforeach
@endforeach
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment