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: