forked from leo-vip/cockybook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConst.py
40 lines (33 loc) · 951 Bytes
/
Const.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# coding: UTF-8
__author__ = 'lei'
id = "id"
title = "title"
updated = "updated"
icon = "icon"
author = "author"
link = "link"
description = "description"
#####################
entry = "entry"
entry_title = "title"
entry_link = "link"
entry_updated = "updated"
entry_id = "id"
entry_type = "type"
entry_content = "content"
##############
book_type_pdf = "application/pdf"
book_type_epub = "application/epub+zip"
book_type_mobi = "application/x-mobipocket-ebook"
##book page
book_type_picture = "image/jpeg;image/png"
##html open
book_type_html = "text/html"
book_type_text = "text/plain"
book_type_content = "text"
book_type_entry_catalog = "application/atom+xml;type=entry;profile=opds-catalog"
######book_link_type
book_link_rel_subsection = "subsection"
book_link_rel_image = "http://opds-spec.org/image"
book_link_rel__image_thumbnail = "http://opds-spec.org/image/thumbnail"
book_link_rel__acquisition = "http://opds-spec.org/acquisition"