bridgetown-core 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +42 -0
  3. data/bridgetown-core.gemspec +46 -0
  4. data/lib/bridgetown-core.rb +202 -0
  5. data/lib/bridgetown-core/cache.rb +190 -0
  6. data/lib/bridgetown-core/cleaner.rb +111 -0
  7. data/lib/bridgetown-core/collection.rb +279 -0
  8. data/lib/bridgetown-core/command.rb +106 -0
  9. data/lib/bridgetown-core/commands/build.rb +96 -0
  10. data/lib/bridgetown-core/commands/clean.rb +43 -0
  11. data/lib/bridgetown-core/commands/console.rb +56 -0
  12. data/lib/bridgetown-core/commands/doctor.rb +172 -0
  13. data/lib/bridgetown-core/commands/help.rb +34 -0
  14. data/lib/bridgetown-core/commands/new.rb +148 -0
  15. data/lib/bridgetown-core/commands/serve.rb +273 -0
  16. data/lib/bridgetown-core/commands/serve/servlet.rb +68 -0
  17. data/lib/bridgetown-core/configuration.rb +323 -0
  18. data/lib/bridgetown-core/converter.rb +54 -0
  19. data/lib/bridgetown-core/converters/identity.rb +39 -0
  20. data/lib/bridgetown-core/converters/markdown.rb +108 -0
  21. data/lib/bridgetown-core/converters/markdown/kramdown_parser.rb +132 -0
  22. data/lib/bridgetown-core/converters/smartypants.rb +69 -0
  23. data/lib/bridgetown-core/convertible.rb +237 -0
  24. data/lib/bridgetown-core/deprecator.rb +50 -0
  25. data/lib/bridgetown-core/document.rb +475 -0
  26. data/lib/bridgetown-core/drops/bridgetown_drop.rb +32 -0
  27. data/lib/bridgetown-core/drops/collection_drop.rb +20 -0
  28. data/lib/bridgetown-core/drops/document_drop.rb +69 -0
  29. data/lib/bridgetown-core/drops/drop.rb +215 -0
  30. data/lib/bridgetown-core/drops/excerpt_drop.rb +19 -0
  31. data/lib/bridgetown-core/drops/page_drop.rb +14 -0
  32. data/lib/bridgetown-core/drops/site_drop.rb +62 -0
  33. data/lib/bridgetown-core/drops/static_file_drop.rb +14 -0
  34. data/lib/bridgetown-core/drops/unified_payload_drop.rb +26 -0
  35. data/lib/bridgetown-core/drops/url_drop.rb +132 -0
  36. data/lib/bridgetown-core/entry_filter.rb +108 -0
  37. data/lib/bridgetown-core/errors.rb +20 -0
  38. data/lib/bridgetown-core/excerpt.rb +202 -0
  39. data/lib/bridgetown-core/external.rb +62 -0
  40. data/lib/bridgetown-core/filters.rb +467 -0
  41. data/lib/bridgetown-core/filters/date_filters.rb +110 -0
  42. data/lib/bridgetown-core/filters/grouping_filters.rb +64 -0
  43. data/lib/bridgetown-core/filters/url_filters.rb +79 -0
  44. data/lib/bridgetown-core/frontmatter_defaults.rb +238 -0
  45. data/lib/bridgetown-core/generator.rb +5 -0
  46. data/lib/bridgetown-core/hooks.rb +103 -0
  47. data/lib/bridgetown-core/layout.rb +57 -0
  48. data/lib/bridgetown-core/liquid_extensions.rb +22 -0
  49. data/lib/bridgetown-core/liquid_renderer.rb +71 -0
  50. data/lib/bridgetown-core/liquid_renderer/file.rb +67 -0
  51. data/lib/bridgetown-core/liquid_renderer/table.rb +75 -0
  52. data/lib/bridgetown-core/log_adapter.rb +151 -0
  53. data/lib/bridgetown-core/log_writer.rb +60 -0
  54. data/lib/bridgetown-core/mime.types +867 -0
  55. data/lib/bridgetown-core/page.rb +214 -0
  56. data/lib/bridgetown-core/page_without_a_file.rb +14 -0
  57. data/lib/bridgetown-core/path_manager.rb +31 -0
  58. data/lib/bridgetown-core/plugin.rb +80 -0
  59. data/lib/bridgetown-core/plugin_manager.rb +60 -0
  60. data/lib/bridgetown-core/publisher.rb +23 -0
  61. data/lib/bridgetown-core/reader.rb +185 -0
  62. data/lib/bridgetown-core/readers/collection_reader.rb +22 -0
  63. data/lib/bridgetown-core/readers/data_reader.rb +75 -0
  64. data/lib/bridgetown-core/readers/layout_reader.rb +48 -0
  65. data/lib/bridgetown-core/readers/page_reader.rb +24 -0
  66. data/lib/bridgetown-core/readers/post_reader.rb +74 -0
  67. data/lib/bridgetown-core/readers/static_file_reader.rb +24 -0
  68. data/lib/bridgetown-core/regenerator.rb +195 -0
  69. data/lib/bridgetown-core/related_posts.rb +52 -0
  70. data/lib/bridgetown-core/renderer.rb +261 -0
  71. data/lib/bridgetown-core/site.rb +469 -0
  72. data/lib/bridgetown-core/static_file.rb +205 -0
  73. data/lib/bridgetown-core/tags/component.rb +34 -0
  74. data/lib/bridgetown-core/tags/highlight.rb +111 -0
  75. data/lib/bridgetown-core/tags/include.rb +220 -0
  76. data/lib/bridgetown-core/tags/link.rb +41 -0
  77. data/lib/bridgetown-core/tags/post_url.rb +107 -0
  78. data/lib/bridgetown-core/url.rb +164 -0
  79. data/lib/bridgetown-core/utils.rb +367 -0
  80. data/lib/bridgetown-core/utils/ansi.rb +57 -0
  81. data/lib/bridgetown-core/utils/exec.rb +26 -0
  82. data/lib/bridgetown-core/utils/internet.rb +37 -0
  83. data/lib/bridgetown-core/utils/platforms.rb +80 -0
  84. data/lib/bridgetown-core/utils/thread_event.rb +31 -0
  85. data/lib/bridgetown-core/utils/win_tz.rb +75 -0
  86. data/lib/bridgetown-core/version.rb +5 -0
  87. data/lib/bridgetown-core/watcher.rb +139 -0
  88. data/lib/site_template/.gitignore +6 -0
  89. data/lib/site_template/bridgetown.config.yml +21 -0
  90. data/lib/site_template/frontend/javascript/index.js +3 -0
  91. data/lib/site_template/frontend/styles/index.scss +17 -0
  92. data/lib/site_template/package.json +23 -0
  93. data/lib/site_template/src/404.html +9 -0
  94. data/lib/site_template/src/_data/site_metadata.yml +11 -0
  95. data/lib/site_template/src/_includes/footer.html +3 -0
  96. data/lib/site_template/src/_includes/head.html +9 -0
  97. data/lib/site_template/src/_includes/navbar.html +4 -0
  98. data/lib/site_template/src/_layouts/default.html +15 -0
  99. data/lib/site_template/src/_layouts/home.html +7 -0
  100. data/lib/site_template/src/_layouts/page.html +7 -0
  101. data/lib/site_template/src/_layouts/post.html +7 -0
  102. data/lib/site_template/src/_posts/0000-00-00-welcome-to-bridgetown.md.erb +26 -0
  103. data/lib/site_template/src/about.md +11 -0
  104. data/lib/site_template/src/index.md +7 -0
  105. data/lib/site_template/webpack.config.js +60 -0
  106. data/rake/release.rake +30 -0
  107. metadata +106 -1
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bridgetown
4
+ class LogWriter < ::Logger
5
+ def initialize
6
+ @progname = nil
7
+ @level = DEBUG
8
+ @default_formatter = Formatter.new
9
+ @logdev = $stdout
10
+ @formatter = proc do |_, _, _, msg|
11
+ msg.to_s
12
+ end
13
+ end
14
+
15
+ def add(severity, message = nil, progname = nil)
16
+ severity ||= UNKNOWN
17
+ @logdev = logdevice(severity)
18
+
19
+ return true if @logdev.nil? || severity < @level
20
+
21
+ progname ||= @progname
22
+ if message.nil?
23
+ if block_given?
24
+ message = yield
25
+ else
26
+ message = progname
27
+ progname = @progname
28
+ end
29
+ end
30
+ @logdev.puts(
31
+ format_message(format_severity(severity), Time.now, progname, message)
32
+ )
33
+ true
34
+ end
35
+
36
+ # Log a +WARN+ message
37
+ def warn(progname = nil, &block)
38
+ add(WARN, nil, progname.yellow, &block)
39
+ end
40
+
41
+ # Log an +ERROR+ message
42
+ def error(progname = nil, &block)
43
+ add(ERROR, nil, progname.red, &block)
44
+ end
45
+
46
+ def close
47
+ # No LogDevice in use
48
+ end
49
+
50
+ private
51
+
52
+ def logdevice(severity)
53
+ if severity > INFO
54
+ $stderr
55
+ else
56
+ $stdout
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,867 @@
1
+ # Woah there. Do not edit this file directly.
2
+ # This file is generated automatically by script/vendor-mimes.
3
+
4
+ application/andrew-inset ez
5
+ application/applixware aw
6
+ application/atom+xml atom
7
+ application/atomcat+xml atomcat
8
+ application/atomsvc+xml atomsvc
9
+ application/bdoc bdoc
10
+ application/ccxml+xml ccxml
11
+ application/cdmi-capability cdmia
12
+ application/cdmi-container cdmic
13
+ application/cdmi-domain cdmid
14
+ application/cdmi-object cdmio
15
+ application/cdmi-queue cdmiq
16
+ application/cu-seeme cu
17
+ application/dash+xml mpd
18
+ application/davmount+xml davmount
19
+ application/docbook+xml dbk
20
+ application/dssc+der dssc
21
+ application/dssc+xml xdssc
22
+ application/ecmascript ecma es
23
+ application/emma+xml emma
24
+ application/epub+zip epub
25
+ application/exi exi
26
+ application/font-tdpfr pfr
27
+ application/geo+json geojson
28
+ application/gml+xml gml
29
+ application/gpx+xml gpx
30
+ application/gxf gxf
31
+ application/gzip gz
32
+ application/hjson hjson
33
+ application/hyperstudio stk
34
+ application/inkml+xml ink inkml
35
+ application/ipfix ipfix
36
+ application/java-archive jar war ear
37
+ application/java-serialized-object ser
38
+ application/java-vm class
39
+ application/javascript js mjs
40
+ application/json json map
41
+ application/json5 json5
42
+ application/jsonml+json jsonml
43
+ application/ld+json jsonld
44
+ application/lost+xml lostxml
45
+ application/mac-binhex40 hqx
46
+ application/mac-compactpro cpt
47
+ application/mads+xml mads
48
+ application/manifest+json webmanifest
49
+ application/marc mrc
50
+ application/marcxml+xml mrcx
51
+ application/mathematica ma nb mb
52
+ application/mathml+xml mathml
53
+ application/mbox mbox
54
+ application/mediaservercontrol+xml mscml
55
+ application/metalink+xml metalink
56
+ application/metalink4+xml meta4
57
+ application/mets+xml mets
58
+ application/mods+xml mods
59
+ application/mp21 m21 mp21
60
+ application/mp4 mp4s m4p
61
+ application/msword doc dot
62
+ application/mxf mxf
63
+ application/n-quads nq
64
+ application/n-triples nt
65
+ application/octet-stream bin dms lrf mar so dist distz pkg bpk dump elc deploy exe dll deb dmg iso img msi msp msm buffer
66
+ application/oda oda
67
+ application/oebps-package+xml opf
68
+ application/ogg ogx
69
+ application/omdoc+xml omdoc
70
+ application/onenote onetoc onetoc2 onetmp onepkg
71
+ application/oxps oxps
72
+ application/patch-ops-error+xml xer
73
+ application/pdf pdf
74
+ application/pgp-encrypted pgp
75
+ application/pgp-signature asc sig
76
+ application/pics-rules prf
77
+ application/pkcs10 p10
78
+ application/pkcs7-mime p7m p7c
79
+ application/pkcs7-signature p7s
80
+ application/pkcs8 p8
81
+ application/pkix-attr-cert ac
82
+ application/pkix-cert cer
83
+ application/pkix-crl crl
84
+ application/pkix-pkipath pkipath
85
+ application/pkixcmp pki
86
+ application/pls+xml pls
87
+ application/postscript ai eps ps
88
+ application/prs.cww cww
89
+ application/pskc+xml pskcxml
90
+ application/raml+yaml raml
91
+ application/rdf+xml rdf owl
92
+ application/reginfo+xml rif
93
+ application/relax-ng-compact-syntax rnc
94
+ application/resource-lists+xml rl
95
+ application/resource-lists-diff+xml rld
96
+ application/rls-services+xml rs
97
+ application/rpki-ghostbusters gbr
98
+ application/rpki-manifest mft
99
+ application/rpki-roa roa
100
+ application/rsd+xml rsd
101
+ application/rss+xml rss
102
+ application/rtf rtf
103
+ application/sbml+xml sbml
104
+ application/scvp-cv-request scq
105
+ application/scvp-cv-response scs
106
+ application/scvp-vp-request spq
107
+ application/scvp-vp-response spp
108
+ application/sdp sdp
109
+ application/set-payment-initiation setpay
110
+ application/set-registration-initiation setreg
111
+ application/shf+xml shf
112
+ application/sieve siv sieve
113
+ application/smil+xml smi smil
114
+ application/sparql-query rq
115
+ application/sparql-results+xml srx
116
+ application/srgs gram
117
+ application/srgs+xml grxml
118
+ application/sru+xml sru
119
+ application/ssdl+xml ssdl
120
+ application/ssml+xml ssml
121
+ application/tei+xml tei teicorpus
122
+ application/thraud+xml tfi
123
+ application/timestamped-data tsd
124
+ application/vnd.3gpp.pic-bw-large plb
125
+ application/vnd.3gpp.pic-bw-small psb
126
+ application/vnd.3gpp.pic-bw-var pvb
127
+ application/vnd.3gpp2.tcap tcap
128
+ application/vnd.3m.post-it-notes pwn
129
+ application/vnd.accpac.simply.aso aso
130
+ application/vnd.accpac.simply.imp imp
131
+ application/vnd.acucobol acu
132
+ application/vnd.acucorp atc acutc
133
+ application/vnd.adobe.air-application-installer-package+zip air
134
+ application/vnd.adobe.formscentral.fcdt fcdt
135
+ application/vnd.adobe.fxp fxp fxpl
136
+ application/vnd.adobe.xdp+xml xdp
137
+ application/vnd.adobe.xfdf xfdf
138
+ application/vnd.ahead.space ahead
139
+ application/vnd.airzip.filesecure.azf azf
140
+ application/vnd.airzip.filesecure.azs azs
141
+ application/vnd.amazon.ebook azw
142
+ application/vnd.americandynamics.acc acc
143
+ application/vnd.amiga.ami ami
144
+ application/vnd.android.package-archive apk
145
+ application/vnd.anser-web-certificate-issue-initiation cii
146
+ application/vnd.anser-web-funds-transfer-initiation fti
147
+ application/vnd.antix.game-component atx
148
+ application/vnd.apple.installer+xml mpkg
149
+ application/vnd.apple.keynote keynote
150
+ application/vnd.apple.mpegurl m3u8
151
+ application/vnd.apple.numbers numbers
152
+ application/vnd.apple.pages pages
153
+ application/vnd.apple.pkpass pkpass
154
+ application/vnd.aristanetworks.swi swi
155
+ application/vnd.astraea-software.iota iota
156
+ application/vnd.audiograph aep
157
+ application/vnd.blueice.multipass mpm
158
+ application/vnd.bmi bmi
159
+ application/vnd.businessobjects rep
160
+ application/vnd.chemdraw+xml cdxml
161
+ application/vnd.chipnuts.karaoke-mmd mmd
162
+ application/vnd.cinderella cdy
163
+ application/vnd.citationstyles.style+xml csl
164
+ application/vnd.claymore cla
165
+ application/vnd.cloanto.rp9 rp9
166
+ application/vnd.clonk.c4group c4g c4d c4f c4p c4u
167
+ application/vnd.cluetrust.cartomobile-config c11amc
168
+ application/vnd.cluetrust.cartomobile-config-pkg c11amz
169
+ application/vnd.commonspace csp
170
+ application/vnd.contact.cmsg cdbcmsg
171
+ application/vnd.cosmocaller cmc
172
+ application/vnd.crick.clicker clkx
173
+ application/vnd.crick.clicker.keyboard clkk
174
+ application/vnd.crick.clicker.palette clkp
175
+ application/vnd.crick.clicker.template clkt
176
+ application/vnd.crick.clicker.wordbank clkw
177
+ application/vnd.criticaltools.wbs+xml wbs
178
+ application/vnd.ctc-posml pml
179
+ application/vnd.cups-ppd ppd
180
+ application/vnd.curl.car car
181
+ application/vnd.curl.pcurl pcurl
182
+ application/vnd.dart dart
183
+ application/vnd.data-vision.rdz rdz
184
+ application/vnd.dece.data uvf uvvf uvd uvvd
185
+ application/vnd.dece.ttml+xml uvt uvvt
186
+ application/vnd.dece.unspecified uvx uvvx
187
+ application/vnd.dece.zip uvz uvvz
188
+ application/vnd.denovo.fcselayout-link fe_launch
189
+ application/vnd.dna dna
190
+ application/vnd.dolby.mlp mlp
191
+ application/vnd.dpgraph dpg
192
+ application/vnd.dreamfactory dfac
193
+ application/vnd.ds-keypoint kpxx
194
+ application/vnd.dvb.ait ait
195
+ application/vnd.dvb.service svc
196
+ application/vnd.dynageo geo
197
+ application/vnd.ecowin.chart mag
198
+ application/vnd.enliven nml
199
+ application/vnd.epson.esf esf
200
+ application/vnd.epson.msf msf
201
+ application/vnd.epson.quickanime qam
202
+ application/vnd.epson.salt slt
203
+ application/vnd.epson.ssf ssf
204
+ application/vnd.eszigno3+xml es3 et3
205
+ application/vnd.ezpix-album ez2
206
+ application/vnd.ezpix-package ez3
207
+ application/vnd.fdf fdf
208
+ application/vnd.fdsn.mseed mseed
209
+ application/vnd.fdsn.seed seed dataless
210
+ application/vnd.flographit gph
211
+ application/vnd.fluxtime.clip ftc
212
+ application/vnd.framemaker fm frame maker book
213
+ application/vnd.frogans.fnc fnc
214
+ application/vnd.frogans.ltf ltf
215
+ application/vnd.fsc.weblaunch fsc
216
+ application/vnd.fujitsu.oasys oas
217
+ application/vnd.fujitsu.oasys2 oa2
218
+ application/vnd.fujitsu.oasys3 oa3
219
+ application/vnd.fujitsu.oasysgp fg5
220
+ application/vnd.fujitsu.oasysprs bh2
221
+ application/vnd.fujixerox.ddd ddd
222
+ application/vnd.fujixerox.docuworks xdw
223
+ application/vnd.fujixerox.docuworks.binder xbd
224
+ application/vnd.fuzzysheet fzs
225
+ application/vnd.genomatix.tuxedo txd
226
+ application/vnd.geogebra.file ggb
227
+ application/vnd.geogebra.tool ggt
228
+ application/vnd.geometry-explorer gex gre
229
+ application/vnd.geonext gxt
230
+ application/vnd.geoplan g2w
231
+ application/vnd.geospace g3w
232
+ application/vnd.gmx gmx
233
+ application/vnd.google-apps.document gdoc
234
+ application/vnd.google-apps.presentation gslides
235
+ application/vnd.google-apps.spreadsheet gsheet
236
+ application/vnd.google-earth.kml+xml kml
237
+ application/vnd.google-earth.kmz kmz
238
+ application/vnd.grafeq gqf gqs
239
+ application/vnd.groove-account gac
240
+ application/vnd.groove-help ghf
241
+ application/vnd.groove-identity-message gim
242
+ application/vnd.groove-injector grv
243
+ application/vnd.groove-tool-message gtm
244
+ application/vnd.groove-tool-template tpl
245
+ application/vnd.groove-vcard vcg
246
+ application/vnd.hal+xml hal
247
+ application/vnd.handheld-entertainment+xml zmm
248
+ application/vnd.hbci hbci
249
+ application/vnd.hhe.lesson-player les
250
+ application/vnd.hp-hpgl hpgl
251
+ application/vnd.hp-hpid hpid
252
+ application/vnd.hp-hps hps
253
+ application/vnd.hp-jlyt jlt
254
+ application/vnd.hp-pcl pcl
255
+ application/vnd.hp-pclxl pclxl
256
+ application/vnd.hydrostatix.sof-data sfd-hdstx
257
+ application/vnd.ibm.minipay mpy
258
+ application/vnd.ibm.modcap afp listafp list3820
259
+ application/vnd.ibm.rights-management irm
260
+ application/vnd.ibm.secure-container sc
261
+ application/vnd.iccprofile icc icm
262
+ application/vnd.igloader igl
263
+ application/vnd.immervision-ivp ivp
264
+ application/vnd.immervision-ivu ivu
265
+ application/vnd.insors.igm igm
266
+ application/vnd.intercon.formnet xpw xpx
267
+ application/vnd.intergeo i2g
268
+ application/vnd.intu.qbo qbo
269
+ application/vnd.intu.qfx qfx
270
+ application/vnd.ipunplugged.rcprofile rcprofile
271
+ application/vnd.irepository.package+xml irp
272
+ application/vnd.is-xpr xpr
273
+ application/vnd.isac.fcs fcs
274
+ application/vnd.jam jam
275
+ application/vnd.jcp.javame.midlet-rms rms
276
+ application/vnd.jisp jisp
277
+ application/vnd.joost.joda-archive joda
278
+ application/vnd.kahootz ktz ktr
279
+ application/vnd.kde.karbon karbon
280
+ application/vnd.kde.kchart chrt
281
+ application/vnd.kde.kformula kfo
282
+ application/vnd.kde.kivio flw
283
+ application/vnd.kde.kontour kon
284
+ application/vnd.kde.kpresenter kpr kpt
285
+ application/vnd.kde.kspread ksp
286
+ application/vnd.kde.kword kwd kwt
287
+ application/vnd.kenameaapp htke
288
+ application/vnd.kidspiration kia
289
+ application/vnd.kinar kne knp
290
+ application/vnd.koan skp skd skt skm
291
+ application/vnd.kodak-descriptor sse
292
+ application/vnd.las.las+xml lasxml
293
+ application/vnd.llamagraphics.life-balance.desktop lbd
294
+ application/vnd.llamagraphics.life-balance.exchange+xml lbe
295
+ application/vnd.lotus-1-2-3 123
296
+ application/vnd.lotus-approach apr
297
+ application/vnd.lotus-freelance pre
298
+ application/vnd.lotus-notes nsf
299
+ application/vnd.lotus-organizer org
300
+ application/vnd.lotus-screencam scm
301
+ application/vnd.lotus-wordpro lwp
302
+ application/vnd.macports.portpkg portpkg
303
+ application/vnd.mcd mcd
304
+ application/vnd.medcalcdata mc1
305
+ application/vnd.mediastation.cdkey cdkey
306
+ application/vnd.mfer mwf
307
+ application/vnd.mfmp mfm
308
+ application/vnd.micrografx.flo flo
309
+ application/vnd.micrografx.igx igx
310
+ application/vnd.mif mif
311
+ application/vnd.mobius.daf daf
312
+ application/vnd.mobius.dis dis
313
+ application/vnd.mobius.mbk mbk
314
+ application/vnd.mobius.mqy mqy
315
+ application/vnd.mobius.msl msl
316
+ application/vnd.mobius.plc plc
317
+ application/vnd.mobius.txf txf
318
+ application/vnd.mophun.application mpn
319
+ application/vnd.mophun.certificate mpc
320
+ application/vnd.mozilla.xul+xml xul
321
+ application/vnd.ms-artgalry cil
322
+ application/vnd.ms-cab-compressed cab
323
+ application/vnd.ms-excel xls xlm xla xlc xlt xlw
324
+ application/vnd.ms-excel.addin.macroenabled.12 xlam
325
+ application/vnd.ms-excel.sheet.binary.macroenabled.12 xlsb
326
+ application/vnd.ms-excel.sheet.macroenabled.12 xlsm
327
+ application/vnd.ms-excel.template.macroenabled.12 xltm
328
+ application/vnd.ms-fontobject eot
329
+ application/vnd.ms-htmlhelp chm
330
+ application/vnd.ms-ims ims
331
+ application/vnd.ms-lrm lrm
332
+ application/vnd.ms-officetheme thmx
333
+ application/vnd.ms-outlook msg
334
+ application/vnd.ms-pki.seccat cat
335
+ application/vnd.ms-pki.stl stl
336
+ application/vnd.ms-powerpoint ppt pps pot
337
+ application/vnd.ms-powerpoint.addin.macroenabled.12 ppam
338
+ application/vnd.ms-powerpoint.presentation.macroenabled.12 pptm
339
+ application/vnd.ms-powerpoint.slide.macroenabled.12 sldm
340
+ application/vnd.ms-powerpoint.slideshow.macroenabled.12 ppsm
341
+ application/vnd.ms-powerpoint.template.macroenabled.12 potm
342
+ application/vnd.ms-project mpp mpt
343
+ application/vnd.ms-word.document.macroenabled.12 docm
344
+ application/vnd.ms-word.template.macroenabled.12 dotm
345
+ application/vnd.ms-works wps wks wcm wdb
346
+ application/vnd.ms-wpl wpl
347
+ application/vnd.ms-xpsdocument xps
348
+ application/vnd.mseq mseq
349
+ application/vnd.musician mus
350
+ application/vnd.muvee.style msty
351
+ application/vnd.mynfc taglet
352
+ application/vnd.neurolanguage.nlu nlu
353
+ application/vnd.nitf ntf nitf
354
+ application/vnd.noblenet-directory nnd
355
+ application/vnd.noblenet-sealer nns
356
+ application/vnd.noblenet-web nnw
357
+ application/vnd.nokia.n-gage.data ngdat
358
+ application/vnd.nokia.n-gage.symbian.install n-gage
359
+ application/vnd.nokia.radio-preset rpst
360
+ application/vnd.nokia.radio-presets rpss
361
+ application/vnd.novadigm.edm edm
362
+ application/vnd.novadigm.edx edx
363
+ application/vnd.novadigm.ext ext
364
+ application/vnd.oasis.opendocument.chart odc
365
+ application/vnd.oasis.opendocument.chart-template otc
366
+ application/vnd.oasis.opendocument.database odb
367
+ application/vnd.oasis.opendocument.formula odf
368
+ application/vnd.oasis.opendocument.formula-template odft
369
+ application/vnd.oasis.opendocument.graphics odg
370
+ application/vnd.oasis.opendocument.graphics-template otg
371
+ application/vnd.oasis.opendocument.image odi
372
+ application/vnd.oasis.opendocument.image-template oti
373
+ application/vnd.oasis.opendocument.presentation odp
374
+ application/vnd.oasis.opendocument.presentation-template otp
375
+ application/vnd.oasis.opendocument.spreadsheet ods
376
+ application/vnd.oasis.opendocument.spreadsheet-template ots
377
+ application/vnd.oasis.opendocument.text odt
378
+ application/vnd.oasis.opendocument.text-master odm
379
+ application/vnd.oasis.opendocument.text-template ott
380
+ application/vnd.oasis.opendocument.text-web oth
381
+ application/vnd.olpc-sugar xo
382
+ application/vnd.oma.dd2+xml dd2
383
+ application/vnd.openofficeorg.extension oxt
384
+ application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
385
+ application/vnd.openxmlformats-officedocument.presentationml.slide sldx
386
+ application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
387
+ application/vnd.openxmlformats-officedocument.presentationml.template potx
388
+ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
389
+ application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
390
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
391
+ application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
392
+ application/vnd.osgeo.mapguide.package mgp
393
+ application/vnd.osgi.dp dp
394
+ application/vnd.osgi.subsystem esa
395
+ application/vnd.palm pdb pqa oprc
396
+ application/vnd.pawaafile paw
397
+ application/vnd.pg.format str
398
+ application/vnd.pg.osasli ei6
399
+ application/vnd.picsel efif
400
+ application/vnd.pmi.widget wg
401
+ application/vnd.pocketlearn plf
402
+ application/vnd.powerbuilder6 pbd
403
+ application/vnd.previewsystems.box box
404
+ application/vnd.proteus.magazine mgz
405
+ application/vnd.publishare-delta-tree qps
406
+ application/vnd.pvi.ptid1 ptid
407
+ application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb
408
+ application/vnd.realvnc.bed bed
409
+ application/vnd.recordare.musicxml mxl
410
+ application/vnd.recordare.musicxml+xml musicxml
411
+ application/vnd.rig.cryptonote cryptonote
412
+ application/vnd.rim.cod cod
413
+ application/vnd.rn-realmedia rm
414
+ application/vnd.rn-realmedia-vbr rmvb
415
+ application/vnd.route66.link66+xml link66
416
+ application/vnd.sailingtracker.track st
417
+ application/vnd.seemail see
418
+ application/vnd.sema sema
419
+ application/vnd.semd semd
420
+ application/vnd.semf semf
421
+ application/vnd.shana.informed.formdata ifm
422
+ application/vnd.shana.informed.formtemplate itp
423
+ application/vnd.shana.informed.interchange iif
424
+ application/vnd.shana.informed.package ipk
425
+ application/vnd.simtech-mindmapper twd twds
426
+ application/vnd.smaf mmf
427
+ application/vnd.smart.teacher teacher
428
+ application/vnd.solent.sdkm+xml sdkm sdkd
429
+ application/vnd.spotfire.dxp dxp
430
+ application/vnd.spotfire.sfs sfs
431
+ application/vnd.stardivision.calc sdc
432
+ application/vnd.stardivision.draw sda
433
+ application/vnd.stardivision.impress sdd
434
+ application/vnd.stardivision.math smf
435
+ application/vnd.stardivision.writer sdw vor
436
+ application/vnd.stardivision.writer-global sgl
437
+ application/vnd.stepmania.package smzip
438
+ application/vnd.stepmania.stepchart sm
439
+ application/vnd.sun.wadl+xml wadl
440
+ application/vnd.sun.xml.calc sxc
441
+ application/vnd.sun.xml.calc.template stc
442
+ application/vnd.sun.xml.draw sxd
443
+ application/vnd.sun.xml.draw.template std
444
+ application/vnd.sun.xml.impress sxi
445
+ application/vnd.sun.xml.impress.template sti
446
+ application/vnd.sun.xml.math sxm
447
+ application/vnd.sun.xml.writer sxw
448
+ application/vnd.sun.xml.writer.global sxg
449
+ application/vnd.sun.xml.writer.template stw
450
+ application/vnd.sus-calendar sus susp
451
+ application/vnd.svd svd
452
+ application/vnd.symbian.install sis sisx
453
+ application/vnd.syncml+xml xsm
454
+ application/vnd.syncml.dm+wbxml bdm
455
+ application/vnd.syncml.dm+xml xdm
456
+ application/vnd.tao.intent-module-archive tao
457
+ application/vnd.tcpdump.pcap pcap cap dmp
458
+ application/vnd.tmobile-livetv tmo
459
+ application/vnd.trid.tpt tpt
460
+ application/vnd.triscape.mxs mxs
461
+ application/vnd.trueapp tra
462
+ application/vnd.ufdl ufd ufdl
463
+ application/vnd.uiq.theme utz
464
+ application/vnd.umajin umj
465
+ application/vnd.unity unityweb
466
+ application/vnd.uoml+xml uoml
467
+ application/vnd.vcx vcx
468
+ application/vnd.visio vsd vst vss vsw
469
+ application/vnd.visionary vis
470
+ application/vnd.vsf vsf
471
+ application/vnd.wap.wbxml wbxml
472
+ application/vnd.wap.wmlc wmlc
473
+ application/vnd.wap.wmlscriptc wmlsc
474
+ application/vnd.webturbo wtb
475
+ application/vnd.wolfram.player nbp
476
+ application/vnd.wordperfect wpd
477
+ application/vnd.wqd wqd
478
+ application/vnd.wt.stf stf
479
+ application/vnd.xara xar
480
+ application/vnd.xfdl xfdl
481
+ application/vnd.yamaha.hv-dic hvd
482
+ application/vnd.yamaha.hv-script hvs
483
+ application/vnd.yamaha.hv-voice hvp
484
+ application/vnd.yamaha.openscoreformat osf
485
+ application/vnd.yamaha.openscoreformat.osfpvg+xml osfpvg
486
+ application/vnd.yamaha.smaf-audio saf
487
+ application/vnd.yamaha.smaf-phrase spf
488
+ application/vnd.yellowriver-custom-menu cmp
489
+ application/vnd.zul zir zirz
490
+ application/vnd.zzazz.deck+xml zaz
491
+ application/voicexml+xml vxml
492
+ application/wasm wasm
493
+ application/widget wgt
494
+ application/winhlp hlp
495
+ application/wsdl+xml wsdl
496
+ application/wspolicy+xml wspolicy
497
+ application/x-7z-compressed 7z
498
+ application/x-abiword abw
499
+ application/x-ace-compressed ace
500
+ application/x-arj arj
501
+ application/x-authorware-bin aab x32 u32 vox
502
+ application/x-authorware-map aam
503
+ application/x-authorware-seg aas
504
+ application/x-bcpio bcpio
505
+ application/x-bittorrent torrent
506
+ application/x-blorb blb blorb
507
+ application/x-bzip bz
508
+ application/x-bzip2 bz2 boz
509
+ application/x-cbr cbr cba cbt cbz cb7
510
+ application/x-cdlink vcd
511
+ application/x-cfs-compressed cfs
512
+ application/x-chat chat
513
+ application/x-chess-pgn pgn
514
+ application/x-chrome-extension crx
515
+ application/x-cocoa cco
516
+ application/x-conference nsc
517
+ application/x-cpio cpio
518
+ application/x-csh csh
519
+ application/x-debian-package udeb
520
+ application/x-dgc-compressed dgc
521
+ application/x-director dir dcr dxr cst cct cxt w3d fgd swa
522
+ application/x-doom wad
523
+ application/x-dtbncx+xml ncx
524
+ application/x-dtbook+xml dtb
525
+ application/x-dtbresource+xml res
526
+ application/x-dvi dvi
527
+ application/x-envoy evy
528
+ application/x-eva eva
529
+ application/x-font-bdf bdf
530
+ application/x-font-ghostscript gsf
531
+ application/x-font-linux-psf psf
532
+ application/x-font-pcf pcf
533
+ application/x-font-snf snf
534
+ application/x-font-type1 pfa pfb pfm afm
535
+ application/x-freearc arc
536
+ application/x-futuresplash spl
537
+ application/x-gca-compressed gca
538
+ application/x-glulx ulx
539
+ application/x-gnumeric gnumeric
540
+ application/x-gramps-xml gramps
541
+ application/x-gtar gtar
542
+ application/x-hdf hdf
543
+ application/x-httpd-php php
544
+ application/x-install-instructions install
545
+ application/x-java-archive-diff jardiff
546
+ application/x-java-jnlp-file jnlp
547
+ application/x-latex latex
548
+ application/x-lua-bytecode luac
549
+ application/x-lzh-compressed lzh lha
550
+ application/x-makeself run
551
+ application/x-mie mie
552
+ application/x-mobipocket-ebook prc mobi
553
+ application/x-ms-application application
554
+ application/x-ms-shortcut lnk
555
+ application/x-ms-wmd wmd
556
+ application/x-ms-wmz wmz
557
+ application/x-ms-xbap xbap
558
+ application/x-msaccess mdb
559
+ application/x-msbinder obd
560
+ application/x-mscardfile crd
561
+ application/x-msclip clp
562
+ application/x-msdownload com bat
563
+ application/x-msmediaview mvb m13 m14
564
+ application/x-msmetafile wmf emf emz
565
+ application/x-msmoney mny
566
+ application/x-mspublisher pub
567
+ application/x-msschedule scd
568
+ application/x-msterminal trm
569
+ application/x-mswrite wri
570
+ application/x-netcdf nc cdf
571
+ application/x-ns-proxy-autoconfig pac
572
+ application/x-nzb nzb
573
+ application/x-perl pl pm
574
+ application/x-pkcs12 p12 pfx
575
+ application/x-pkcs7-certificates p7b spc
576
+ application/x-pkcs7-certreqresp p7r
577
+ application/x-rar-compressed rar
578
+ application/x-redhat-package-manager rpm
579
+ application/x-research-info-systems ris
580
+ application/x-sea sea
581
+ application/x-sh sh
582
+ application/x-shar shar
583
+ application/x-shockwave-flash swf
584
+ application/x-silverlight-app xap
585
+ application/x-sql sql
586
+ application/x-stuffit sit
587
+ application/x-stuffitx sitx
588
+ application/x-subrip srt
589
+ application/x-sv4cpio sv4cpio
590
+ application/x-sv4crc sv4crc
591
+ application/x-t3vm-image t3
592
+ application/x-tads gam
593
+ application/x-tar tar
594
+ application/x-tcl tcl tk
595
+ application/x-tex tex
596
+ application/x-tex-tfm tfm
597
+ application/x-texinfo texinfo texi
598
+ application/x-tgif obj
599
+ application/x-ustar ustar
600
+ application/x-virtualbox-hdd hdd
601
+ application/x-virtualbox-ova ova
602
+ application/x-virtualbox-ovf ovf
603
+ application/x-virtualbox-vbox vbox
604
+ application/x-virtualbox-vbox-extpack vbox-extpack
605
+ application/x-virtualbox-vdi vdi
606
+ application/x-virtualbox-vhd vhd
607
+ application/x-virtualbox-vmdk vmdk
608
+ application/x-wais-source src
609
+ application/x-web-app-manifest+json webapp
610
+ application/x-x509-ca-cert der crt pem
611
+ application/x-xfig fig
612
+ application/x-xliff+xml xlf
613
+ application/x-xpinstall xpi
614
+ application/x-xz xz
615
+ application/x-zmachine z1 z2 z3 z4 z5 z6 z7 z8
616
+ application/xaml+xml xaml
617
+ application/xcap-diff+xml xdf
618
+ application/xenc+xml xenc
619
+ application/xhtml+xml xhtml xht
620
+ application/xml xml xsl xsd rng
621
+ application/xml-dtd dtd
622
+ application/xop+xml xop
623
+ application/xproc+xml xpl
624
+ application/xslt+xml xslt
625
+ application/xspf+xml xspf
626
+ application/xv+xml mxml xhvml xvml xvm
627
+ application/yang yang
628
+ application/yin+xml yin
629
+ application/zip zip
630
+ audio/3gpp 3gpp
631
+ audio/adpcm adp
632
+ audio/basic au snd
633
+ audio/midi mid midi kar rmi
634
+ audio/mp3 mp3
635
+ audio/mp4 m4a mp4a
636
+ audio/mpeg mpga mp2 mp2a m2a m3a
637
+ audio/ogg oga ogg spx
638
+ audio/s3m s3m
639
+ audio/silk sil
640
+ audio/vnd.dece.audio uva uvva
641
+ audio/vnd.digital-winds eol
642
+ audio/vnd.dra dra
643
+ audio/vnd.dts dts
644
+ audio/vnd.dts.hd dtshd
645
+ audio/vnd.lucent.voice lvp
646
+ audio/vnd.ms-playready.media.pya pya
647
+ audio/vnd.nuera.ecelp4800 ecelp4800
648
+ audio/vnd.nuera.ecelp7470 ecelp7470
649
+ audio/vnd.nuera.ecelp9600 ecelp9600
650
+ audio/vnd.rip rip
651
+ audio/wav wav
652
+ audio/webm weba
653
+ audio/x-aac aac
654
+ audio/x-aiff aif aiff aifc
655
+ audio/x-caf caf
656
+ audio/x-flac flac
657
+ audio/x-matroska mka
658
+ audio/x-mpegurl m3u
659
+ audio/x-ms-wax wax
660
+ audio/x-ms-wma wma
661
+ audio/x-pn-realaudio ram ra
662
+ audio/x-pn-realaudio-plugin rmp
663
+ audio/xm xm
664
+ chemical/x-cdx cdx
665
+ chemical/x-cif cif
666
+ chemical/x-cmdf cmdf
667
+ chemical/x-cml cml
668
+ chemical/x-csml csml
669
+ chemical/x-xyz xyz
670
+ font/collection ttc
671
+ font/otf otf
672
+ font/ttf ttf
673
+ font/woff woff
674
+ font/woff2 woff2
675
+ image/aces exr
676
+ image/apng apng
677
+ image/bmp bmp
678
+ image/cgm cgm
679
+ image/dicom-rle drle
680
+ image/fits fits
681
+ image/g3fax g3
682
+ image/gif gif
683
+ image/heic heic
684
+ image/heic-sequence heics
685
+ image/heif heif
686
+ image/heif-sequence heifs
687
+ image/ief ief
688
+ image/jls jls
689
+ image/jp2 jp2 jpg2
690
+ image/jpeg jpeg jpg jpe
691
+ image/jpm jpm
692
+ image/jpx jpx jpf
693
+ image/jxr jxr
694
+ image/ktx ktx
695
+ image/png png
696
+ image/prs.btif btif
697
+ image/prs.pti pti
698
+ image/sgi sgi
699
+ image/svg+xml svg svgz
700
+ image/t38 t38
701
+ image/tiff tif tiff
702
+ image/tiff-fx tfx
703
+ image/vnd.adobe.photoshop psd
704
+ image/vnd.airzip.accelerator.azv azv
705
+ image/vnd.dece.graphic uvi uvvi uvg uvvg
706
+ image/vnd.djvu djvu djv
707
+ image/vnd.dvb.subtitle sub
708
+ image/vnd.dwg dwg
709
+ image/vnd.dxf dxf
710
+ image/vnd.fastbidsheet fbs
711
+ image/vnd.fpx fpx
712
+ image/vnd.fst fst
713
+ image/vnd.fujixerox.edmics-mmr mmr
714
+ image/vnd.fujixerox.edmics-rlc rlc
715
+ image/vnd.microsoft.icon ico
716
+ image/vnd.ms-modi mdi
717
+ image/vnd.ms-photo wdp
718
+ image/vnd.net-fpx npx
719
+ image/vnd.tencent.tap tap
720
+ image/vnd.valve.source.texture vtf
721
+ image/vnd.wap.wbmp wbmp
722
+ image/vnd.xiff xif
723
+ image/vnd.zbrush.pcx pcx
724
+ image/webp webp
725
+ image/x-3ds 3ds
726
+ image/x-cmu-raster ras
727
+ image/x-cmx cmx
728
+ image/x-freehand fh fhc fh4 fh5 fh7
729
+ image/x-jng jng
730
+ image/x-mrsid-image sid
731
+ image/x-pict pic pct
732
+ image/x-portable-anymap pnm
733
+ image/x-portable-bitmap pbm
734
+ image/x-portable-graymap pgm
735
+ image/x-portable-pixmap ppm
736
+ image/x-rgb rgb
737
+ image/x-tga tga
738
+ image/x-xbitmap xbm
739
+ image/x-xpixmap xpm
740
+ image/x-xwindowdump xwd
741
+ message/disposition-notification disposition-notification
742
+ message/global u8msg
743
+ message/global-delivery-status u8dsn
744
+ message/global-disposition-notification u8mdn
745
+ message/global-headers u8hdr
746
+ message/rfc822 eml mime
747
+ message/vnd.wfa.wsc wsc
748
+ model/3mf 3mf
749
+ model/gltf+json gltf
750
+ model/gltf-binary glb
751
+ model/iges igs iges
752
+ model/mesh msh mesh silo
753
+ model/vnd.collada+xml dae
754
+ model/vnd.dwf dwf
755
+ model/vnd.gdl gdl
756
+ model/vnd.gtw gtw
757
+ model/vnd.mts mts
758
+ model/vnd.opengex ogex
759
+ model/vnd.parasolid.transmit.binary x_b
760
+ model/vnd.parasolid.transmit.text x_t
761
+ model/vnd.usdz+zip usdz
762
+ model/vnd.valve.source.compiled-map bsp
763
+ model/vnd.vtu vtu
764
+ model/vrml wrl vrml
765
+ model/x3d+binary x3db x3dbz
766
+ model/x3d+vrml x3dv x3dvz
767
+ model/x3d+xml x3d x3dz
768
+ text/cache-manifest appcache manifest
769
+ text/calendar ics ifb
770
+ text/coffeescript coffee litcoffee
771
+ text/css css
772
+ text/csv csv
773
+ text/html html htm shtml
774
+ text/jade jade
775
+ text/jsx jsx
776
+ text/less less
777
+ text/markdown markdown md
778
+ text/mathml mml
779
+ text/mdx mdx
780
+ text/n3 n3
781
+ text/plain txt text conf def list log in ini
782
+ text/prs.lines.tag dsc
783
+ text/richtext rtx
784
+ text/sgml sgml sgm
785
+ text/shex shex
786
+ text/slim slim slm
787
+ text/stylus stylus styl
788
+ text/tab-separated-values tsv
789
+ text/troff t tr roff man me ms
790
+ text/turtle ttl
791
+ text/uri-list uri uris urls
792
+ text/vcard vcard
793
+ text/vnd.curl curl
794
+ text/vnd.curl.dcurl dcurl
795
+ text/vnd.curl.mcurl mcurl
796
+ text/vnd.curl.scurl scurl
797
+ text/vnd.fly fly
798
+ text/vnd.fmi.flexstor flx
799
+ text/vnd.graphviz gv
800
+ text/vnd.in3d.3dml 3dml
801
+ text/vnd.in3d.spot spot
802
+ text/vnd.sun.j2me.app-descriptor jad
803
+ text/vnd.wap.wml wml
804
+ text/vnd.wap.wmlscript wmls
805
+ text/vtt vtt
806
+ text/x-asm s asm
807
+ text/x-c c cc cxx cpp h hh dic
808
+ text/x-component htc
809
+ text/x-fortran f for f77 f90
810
+ text/x-handlebars-template hbs
811
+ text/x-java-source java
812
+ text/x-lua lua
813
+ text/x-markdown mkd
814
+ text/x-nfo nfo
815
+ text/x-opml opml
816
+ text/x-pascal p pas
817
+ text/x-processing pde
818
+ text/x-sass sass
819
+ text/x-scss scss
820
+ text/x-setext etx
821
+ text/x-sfv sfv
822
+ text/x-suse-ymp ymp
823
+ text/x-uuencode uu
824
+ text/x-vcalendar vcs
825
+ text/x-vcard vcf
826
+ text/yaml yaml yml
827
+ video/3gpp 3gp
828
+ video/3gpp2 3g2
829
+ video/h261 h261
830
+ video/h263 h263
831
+ video/h264 h264
832
+ video/jpeg jpgv
833
+ video/jpm jpgm
834
+ video/mj2 mj2 mjp2
835
+ video/mp2t ts
836
+ video/mp4 mp4 mp4v mpg4
837
+ video/mpeg mpeg mpg mpe m1v m2v
838
+ video/ogg ogv
839
+ video/quicktime qt mov
840
+ video/vnd.dece.hd uvh uvvh
841
+ video/vnd.dece.mobile uvm uvvm
842
+ video/vnd.dece.pd uvp uvvp
843
+ video/vnd.dece.sd uvs uvvs
844
+ video/vnd.dece.video uvv uvvv
845
+ video/vnd.dvb.file dvb
846
+ video/vnd.fvt fvt
847
+ video/vnd.mpegurl mxu m4u
848
+ video/vnd.ms-playready.media.pyv pyv
849
+ video/vnd.uvvu.mp4 uvu uvvu
850
+ video/vnd.vivo viv
851
+ video/webm webm
852
+ video/x-f4v f4v
853
+ video/x-fli fli
854
+ video/x-flv flv
855
+ video/x-m4v m4v
856
+ video/x-matroska mkv mk3d mks
857
+ video/x-mng mng
858
+ video/x-ms-asf asf asx
859
+ video/x-ms-vob vob
860
+ video/x-ms-wm wm
861
+ video/x-ms-wmv wmv
862
+ video/x-ms-wmx wmx
863
+ video/x-ms-wvx wvx
864
+ video/x-msvideo avi
865
+ video/x-sgi-movie movie
866
+ video/x-smv smv
867
+ x-conference/x-cooltalk ice