mirror of
https://github.com/evilhero/mylar
synced 2025-03-09 21:33:42 +00:00
OPDS Publisher Indexing
This commit is contained in:
parent
23bc8fc972
commit
2b040648bc
2 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@
|
|||
linktitle = ' title="%s"' % link['title']
|
||||
%>
|
||||
<link rel="${link['rel']}" href="${link['href']}" type="${link['type']}"${linktitle}/>
|
||||
|
||||
%endfor
|
||||
%for entry in opds['entries']:
|
||||
<entry>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue