-
Notifications
You must be signed in to change notification settings - Fork 2
/
community-config.yml
72 lines (61 loc) · 3.04 KB
/
community-config.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Set an instance name to be used in bug tracking and for other debugging purposes.
# This is not patron-facing, so call it something that will be meaningful to you when
# reviewing bugs, especially if you operate multiple instances.
instance_name: Patron Web Catalog - Community Demo
# APP MEDIA SUPPORT
# Each entry has a setting of "show", "redirect" or "show-and-redirect".
#
# "redirect" tells the app to display a prompt directing the
# user to read the book in the companion mobile app (usually SimplyE).
#
# The default for unlisted entries is unsupported. The format will be
# completely hidden. Any OPDS Entry with only this one unsupported format
# will not be visible in the app.
media_support:
# standard download types
application/epub+zip: show
application/kepub+zip: show
application/pdf: show
application/x-mobipocket-ebook: show
application/x-mobi8-ebook: show
application/vnd.overdrive.circulation.api+json;profile=ebook: show
# External read online type (Like Overdrive)
text/html;profile="http://librarysimplified.org/terms/profiles/streaming-media": show
# AxisNow document (read online in Webpub Viewer) - not supported in community version
# application/vnd.librarysimplified.axisnow+json: show
# Audiobooks
application/audiobook+json: redirect
application/vnd.overdrive.circulation.api+json;profile=audiobook: redirect
application/audiobook+json;profile="http://www.feedbooks.com/audiobooks/access-restriction": redirect
application/vnd.librarysimplified.findaway.license+json: redirect
### INDIRECT TYPES
# OPDS Entry Indirection type
application/atom+xml;type=entry;profile=opds-catalog:
text/html;profile="http://librarysimplified.org/terms/profiles/streaming-media": show
# Adobe Encryption
application/vnd.adobe.adept+xml:
application/epub+zip: redirect-and-show
# Bearer Token Exchange
application/vnd.librarysimplified.bearer-token+json:
application/pdf: show
application/epub+zip: show
# defines the companion app for the instance. Can be "simplye" or "openebooks"
# default is "simplye"
companion_app: simplye
# BUGSNAG: defines the bugsnag api key to integrate error tracking
# bugsnag_api_key: xxx
# GOOGLE TAG MANAGER: defines the google tag manager id to integrate web analytics
# gtm_id: xxx
# There are also some environment variables that can be set in the .env.local
# file. They are set there because they're for development, not production
# configuration.
# REQUIRED LIBRARY CONFIG
# if you would like to use a library registry, define the registry url
libraries: https://libraryregistry.librarysimplified.org/libraries/qa
# Or define the catalog root and shortname for each library on this instance.
# the homepage of the library will then be at https://domain.com/:library/
# libraries:
# brazoria: https://simplye.amigos.org/txbrazoria/authentication_document
# xyzlib: http://simplye-dev-cm.amigos.org/xyzlib/authentication_document
# openqa: https://qa-circulation.openebooks.us/USOEI/authentication_document
# lyrasis: https://demo.lyrasistechnology.org/lyrasis/authentication_document