From 83b33c0681e0fa4d89915c3973bfa893126a0164 Mon Sep 17 00:00:00 2001 From: DarkSir23 Date: Wed, 1 Nov 2017 10:31:13 -0400 Subject: [PATCH] OPDS Publisher Indexing --- data/interfaces/default/opds.html | 2 +- mylar/opds.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/interfaces/default/opds.html b/data/interfaces/default/opds.html index 88819028..9916db57 100644 --- a/data/interfaces/default/opds.html +++ b/data/interfaces/default/opds.html @@ -25,7 +25,7 @@ ${entry['id']} ${entry['updated']} ${entry['content']} - + %if 'thumbnail' in entry: %endif diff --git a/mylar/opds.py b/mylar/opds.py index 4faa879c..fb27b3a6 100644 --- a/mylar/opds.py +++ b/mylar/opds.py @@ -93,8 +93,8 @@ class OPDS(object): feed['updated'] = mylar.helpers.now() links = [] entries=[] - links.append(getLink(href='/opds',type='application/atom+xml;profile=opds-catalog;kind=navigation', rel='start', title='Home')) - links.append(getLink(href='/opds',type='application/atom+xml;profile=opds-catalog;kind=navigation',rel='self')) + links.append(getLink(href='/opds',type='application/atom+xml; profile=opds-catalog; kind=navigation', rel='start', title='Home')) + links.append(getLink(href='/opds',type='application/atom+xml; profile=opds-catalog; kind=navigation',rel='self')) links.append(getLink(href='/opds?cmd=search', type='application/opensearchdescription+xml',rel='search',title='Search')) publishers = myDB.select("SELECT ComicPublisher from comics GROUP BY ComicPublisher") if len(publishers) > 0: