From 2b040648bcdbf914b5c4813d2f01078e5fdac2ea Mon Sep 17 00:00:00 2001 From: DarkSir23 Date: Wed, 1 Nov 2017 10:24:30 -0400 Subject: [PATCH] OPDS Publisher Indexing --- data/interfaces/default/opds.html | 1 - mylar/opds.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data/interfaces/default/opds.html b/data/interfaces/default/opds.html index ad4f6a14..88819028 100644 --- a/data/interfaces/default/opds.html +++ b/data/interfaces/default/opds.html @@ -18,7 +18,6 @@ linktitle = ' title="%s"' % link['title'] %> - %endfor %for entry in opds['entries']: diff --git a/mylar/opds.py b/mylar/opds.py index 7b9ba720..4faa879c 100644 --- a/mylar/opds.py +++ b/mylar/opds.py @@ -75,7 +75,7 @@ class OPDS(object): if isinstance(self.data, basestring): return self.data else: - cherrypy.response.headers['Content-Type'] = "application/atom+xml" + cherrypy.response.headers['Content-Type'] = "text/xml" return serve_template(templatename="opds.html", title=self.data['title'], opds=self.data) else: return self.data