1
0
mirror of https://github.com/janeczku/calibre-web.git synced 2024-11-24 08:42:24 +02:00
This commit is contained in:
Ozzieisaacs 2019-05-01 17:47:54 +02:00
parent b80bfa5260
commit 55bb8d4590
3 changed files with 5 additions and 3 deletions

View File

@ -704,7 +704,7 @@ def feed_search(term):
def render_xml_template(*args, **kwargs):
#ToDo: return time in current timezone similar to %z
currtime = datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S+00:00")
xml = render_template(current_time=currtime, *args, **kwargs)
xml = render_template(current_time=currtime, instance=config.config_calibre_web_title, *args, **kwargs)
response = make_response(xml)
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
return response

View File

@ -14,7 +14,10 @@ six==1.10.0
# goodreads
goodreads>=0.3.2
python-Levenshtein>=0.12.0
# other
#extracting metadata
lxml>=3.8.0
Pillow>=4.0.0
rarfile>=2.7
# other
natsort>=2.2.0

View File

@ -13,4 +13,3 @@ SQLAlchemy>=1.1.0
tornado>=4.1
Wand>=0.4.4
unidecode>=0.04.19
Pillow>=5.4.0