Skip to content
GitLab
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
6c36d4d2
Commit
6c36d4d2
authored
Mar 18, 2019
by
Dominik Hebeler
Browse files
Merge branch 'development' of
https://gitlab.metager3.de/open-source/MetaGer
into development
parents
700f6743
aa600cfa
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
6c36d4d2
...
...
@@ -207,7 +207,7 @@ class MetaGer
->
with
(
'fokus'
,
$this
->
fokus
);
break
;
case
'api'
:
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'apiAuthorized'
=>
$this
->
apiAuthorized
])
->
header
(
'Content-Type'
,
'application/xml'
);
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'key'
=>
$this
->
apiKey
,
'apiAuthorized'
=>
$this
->
apiAuthorized
])
->
header
(
'Content-Type'
,
'application/xml'
);
break
;
case
'atom10'
:
return
response
()
->
view
(
'resultpages.metager3resultsatom10'
,
[
'results'
=>
$viewResults
,
'eingabe'
=>
$this
->
eingabe
,
'metager'
=>
$this
,
'resultcount'
=>
sizeof
(
$viewResults
),
'apiAuthorized'
=>
true
])
...
...
resources/views/resultpages/metager3resultsatom10.blade.php
View file @
6c36d4d2
...
...
@@ -7,7 +7,7 @@
<link
href=
"{{ url()->full() }}"
/>
<updated>
{{ date('c') }}
</updated>
<opensearch:totalResults>
{{ $resultcount }}
</opensearch:totalResults>
<opensearch:Query
role=
"request"
searchTerms=
"{{ htmlspecialchars($eingabe, ENT_QUOTES) }}"
/>
<opensearch:Query
role=
"request"
searchTerms=
"{{ htmlspecialchars($eingabe, ENT_QUOTES)
}}"
mg:key=
"{{ htmlspecialchars($key, ENT_QUOTES)
}}"
/>
<link
rel=
"next"
href=
"{{ htmlspecialchars($metager->nextSearchLink() ,ENT_QUOTES) }}"
type=
"application/atom+xml"
/>
<id>
urn:uuid:1d634a8c-2764-424f-b082-6c96494b7240
</id>
@include('layouts.atom10ad', ['ad' => $metager->popAd()])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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