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
d336f9fa
Commit
d336f9fa
authored
Oct 01, 2017
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed OPDS templates
parent
7ddfa188
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
Descript.ion
Descript.ion
+1
-0
feed.xml
cps/templates/feed.xml
+1
-2
index.xml
cps/templates/index.xml
+9
-18
No files found.
Descript.ion
0 → 100644
View file @
d336f9fa
cps zexit()
cps/templates/feed.xml
View file @
d336f9fa
...
@@ -64,8 +64,7 @@
...
@@ -64,8 +64,7 @@
<entry>
<entry>
<title>
{{entry.name}}
</title>
<title>
{{entry.name}}
</title>
<id>
{{ url_for(folder, book_id=entry.id) }}
</id>
<id>
{{ url_for(folder, book_id=entry.id) }}
</id>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for(folder, book_id=entry.id)}}"
/>
<link
rel=
"subsection"
type=
"application/atom+xml;profile=opds-catalog"
href=
"{{url_for(folder, book_id=entry.id)}}"
/>
<link
type=
"application/atom+xml"
href=
"{{url_for(folder, book_id=entry.id)}}"
rel=
"subsection"
/>
</entry>
</entry>
{% endfor %}
{% endfor %}
</feed>
</feed>
cps/templates/index.xml
View file @
d336f9fa
...
@@ -12,64 +12,55 @@
...
@@ -12,64 +12,55 @@
</author>
</author>
<entry>
<entry>
<title>
{{_('Hot Books')}}
</title>
<title>
{{_('Hot Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_hot')}}"
/>
<link
rel=
"http://opds-spec.org/sort/popular"
href=
"{{url_for('feed_hot')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
type=
"application/atom+xml"
href=
"{{url_for('feed_hot')}}"
rel=
"http://opds-spec.org/sort/popular"
/>
<id>
{{url_for('feed_hot')}}
</id>
<id>
{{url_for('feed_hot')}}
</id>
<content
type=
"text"
>
{{_('Popular publications from this catalog based on Downloads.')}}
</content>
<content
type=
"text"
>
{{_('Popular publications from this catalog based on Downloads.')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Best rated Books')}}
</title>
<title>
{{_('Best rated Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_best_rated')}}"
/>
<link
rel=
"http://opds-spec.org/recommended"
href=
"{{url_for('feed_best_rated')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
type=
"application/atom+xml"
href=
"{{url_for('feed_best_rated')}}"
rel=
"http://opds-spec.org/recommended"
/>
<id>
{{url_for('feed_best_rated')}}
</id>
<id>
{{url_for('feed_best_rated')}}
</id>
<content
type=
"text"
>
{{_('Popular publications from this catalog based on Rating.')}}
</content>
<content
type=
"text"
>
{{_('Popular publications from this catalog based on Rating.')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('New Books')}}
</title>
<title>
{{_('New Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_new')}}"
/>
<link
rel=
"http://opds-spec.org/sort/new"
href=
"{{url_for('feed_new')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"http://opds-spec.org/sort/new"
href=
"{{url_for('feed_new')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
/>
<id>
{{url_for('feed_new')}}
</id>
<id>
{{url_for('feed_new')}}
</id>
<content
type=
"text"
>
{{_('The latest Books')}}
</content>
<content
type=
"text"
>
{{_('The latest Books')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Random Books')}}
</title>
<title>
{{_('Random Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_discover')}}"
/>
<link
rel=
"http://opds-spec.org/featured"
href=
"{{url_for('feed_discover')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"http://opds-spec.org/featured"
href=
"{{url_for('feed_discover')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
/>
<id>
{{url_for('feed_discover')}}
</id>
<id>
{{url_for('feed_discover')}}
</id>
<content
type=
"text"
>
{{_('Show Random Books')}}
</content>
<content
type=
"text"
>
{{_('Show Random Books')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Read Books')}}
</title>
<title>
{{_('Read Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_read_books')}}"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_read_books')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_read_books')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
/>
<id>
{{url_for('feed_read_books')}}
</id>
<id>
{{url_for('feed_read_books')}}
</id>
<content
type=
"text"
>
{{_('Read Books')}}
</content>
<content
type=
"text"
>
{{_('Read Books')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Unread Books')}}
</title>
<title>
{{_('Unread Books')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_unread_books')}}"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_unread_books')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_unread_books')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
/>
<id>
{{url_for('feed_unread_books')}}
</id>
<id>
{{url_for('feed_unread_books')}}
</id>
<content
type=
"text"
>
{{_('Unread Books')}}
</content>
<content
type=
"text"
>
{{_('Unread Books')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Authors')}}
</title>
<title>
{{_('Authors')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_authorindex')}}"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_authorindex')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_authorindex')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"
/>
<id>
{{url_for('feed_authorindex')}}
</id>
<id>
{{url_for('feed_authorindex')}}
</id>
<content
type=
"text"
>
{{_('Books ordered by Author')}}
</content>
<content
type=
"text"
>
{{_('Books ordered by Author')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Category list')}}
</title>
<title>
{{_('Category list')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_categoryindex')}}"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_categoryindex')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_categoryindex')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"
/>
<id>
{{url_for('feed_categoryindex')}}
</id>
<id>
{{url_for('feed_categoryindex')}}
</id>
<content
type=
"text"
>
{{_('Books ordered by category')}}
</content>
<content
type=
"text"
>
{{_('Books ordered by category')}}
</content>
</entry>
</entry>
<entry>
<entry>
<title>
{{_('Series list')}}
</title>
<title>
{{_('Series list')}}
</title>
<link
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=acquisition"
href=
"{{url_for('feed_seriesindex')}}"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_seriesindex')}}"
type=
"application/atom+xml;profile=opds-catalog"
/>
<link
rel=
"subsection"
href=
"{{url_for('feed_seriesindex')}}"
type=
"application/atom+xml;profile=opds-catalog;type=feed;kind=navigation"
/>
<id>
{{url_for('feed_seriesindex')}}
</id>
<id>
{{url_for('feed_seriesindex')}}
</id>
<content
type=
"text"
>
{{_('Books ordered by series')}}
</content>
<content
type=
"text"
>
{{_('Books ordered by series')}}
</content>
</entry>
</entry>
...
...
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