Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
c1818e8f
Commit
c1818e8f
authored
Oct 30, 2018
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #672
parent
ee85492c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
feed.xml
cps/templates/feed.xml
+10
-4
index.xml
cps/templates/index.xml
+4
-1
No files found.
cps/templates/feed.xml
View file @
c1818e8f
...
...
@@ -27,7 +27,10 @@
href=
"{{request.script_root + request.path}}?offset={{ pagination.previous_offset }}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"
/>
{% endif %}
<link
title=
"{{_('Search')}}"
type=
"application/atom+xml"
href=
"{{url_for('feed_normal_search')}}?query={searchTerms}"
rel=
"search"
/>
<link
rel=
"search"
href=
"{{url_for('feed_osd')}}"
type=
"application/opensearchdescription+xml"
/>
<!--link title="{{_('Search')}}" type="application/atom+xml" href="{{url_for('feed_normal_search')}}?query={searchTerms}" rel="search"/-->
<title>
{{instance}}
</title>
<author>
<name>
{{instance}}
</name>
...
...
@@ -43,9 +46,12 @@
<author>
<name>
{{entry.authors[0].name}}
</name>
</author>
{% if publishers.__len__() > 0 %}
<publisher>
<name>
{{entry.publishers[0].name}}
</name>
</publisher>
{% endif %}
<dcterms:language>
{{entry.language}}
</dcterms:language>
{% for tag in entry.tags %}
<category
scheme=
"http://www.bisg.org/standards/bisac_subject/index.html"
...
...
cps/templates/index.xml
View file @
c1818e8f
...
...
@@ -5,7 +5,10 @@
<link
rel=
"self"
href=
"{{url_for('feed_index')}}"
type=
"application/atom+xml;profile=opds-catalog;kind=navigation"
/>
<link
rel=
"start"
title=
"{{_('Start')}}"
href=
"{{url_for('feed_index')}}"
type=
"application/atom+xml;profile=opds-catalog;kind=navigation"
/>
<link
title=
"{{_('Search')}}"
type=
"application/opensearchdescription+xml"
href=
"{{url_for('feed_normal_search')}}?query={searchTerms}"
rel=
"search"
/>
<link
rel=
"search"
href=
"{{url_for('feed_osd')}}"
type=
"application/opensearchdescription+xml"
/>
<!--link title="{{_('Search')}}" type="application/atom+xml" href="{{url_for('feed_normal_search')}}?query={searchTerms}" rel="search"/-->
<title>
{{instance}}
</title>
<author>
<name>
{{instance}}
</name>
...
...
Write
Preview
Markdown
is supported
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