From d336f9faa6fdf0bd932c44441e80dcd748b1e0d4 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 1 Oct 2017 17:16:57 +0200 Subject: [PATCH] fixed OPDS templates --- Descript.ion | 1 + cps/templates/feed.xml | 3 +-- cps/templates/index.xml | 27 +++++++++------------------ 3 files changed, 11 insertions(+), 20 deletions(-) create mode 100644 Descript.ion diff --git a/Descript.ion b/Descript.ion new file mode 100644 index 00000000..cd5434bb --- /dev/null +++ b/Descript.ion @@ -0,0 +1 @@ +cps zexit() diff --git a/cps/templates/feed.xml b/cps/templates/feed.xml index 6f79a3aa..fce047d9 100644 --- a/cps/templates/feed.xml +++ b/cps/templates/feed.xml @@ -64,8 +64,7 @@ {{entry.name}} {{ url_for(folder, book_id=entry.id) }} - - + {% endfor %} diff --git a/cps/templates/index.xml b/cps/templates/index.xml index 228637c2..66e32a69 100644 --- a/cps/templates/index.xml +++ b/cps/templates/index.xml @@ -12,64 +12,55 @@ {{_('Hot Books')}} - - + {{url_for('feed_hot')}} {{_('Popular publications from this catalog based on Downloads.')}} {{_('Best rated Books')}} - - + {{url_for('feed_best_rated')}} {{_('Popular publications from this catalog based on Rating.')}} {{_('New Books')}} - - + {{url_for('feed_new')}} {{_('The latest Books')}} {{_('Random Books')}} - - + {{url_for('feed_discover')}} {{_('Show Random Books')}} {{_('Read Books')}} - - + {{url_for('feed_read_books')}} {{_('Read Books')}} {{_('Unread Books')}} - - + {{url_for('feed_unread_books')}} {{_('Unread Books')}} {{_('Authors')}} - - + {{url_for('feed_authorindex')}} {{_('Books ordered by Author')}} {{_('Category list')}} - - + {{url_for('feed_categoryindex')}} {{_('Books ordered by category')}} {{_('Series list')}} - - + {{url_for('feed_seriesindex')}} {{_('Books ordered by series')}}