-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·89 lines (84 loc) · 2.58 KB
/
plugin.xml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="dita-ot/plugin.rnc" type="application/relax-ng-compact-syntax"?>
<!--
This file is part of the DITA-OT Audiobook Plug-in project.
See the accompanying LICENSE file for applicable licenses.
-->
<plugin id="fox.jason.audiobook" version="2.0.0">
<feature extension="dita.conductor.lib.import" file="lib/audiobook-1.0.jar"/>
<transtype name="ssml" desc="Speech Synthesis Markup Language">
<param name="ssml.gender" desc="Prefered Voice Gender" type="enum">
<val>female</val>
<val default="true">male</val>
</param>
</transtype>
<transtype name="mp3" extends="ssml" desc="Create MP3 player audio tracks">
<param
desc="Specifies the location a cache file holding Text-to-Speech to be reused"
name="mp3.cachefile"
type="file"
/>
<param
name="ssml.service"
desc="Specifies the Text-to-Speech cloud service."
type="enum"
>
<val>bing</val>
<val>custom</val>
<val>dummy</val>
<val default="true">watson</val>
</param>
<param
name="ssml.authentication.url"
type="string"
desc="URL for creating an OAuth token if needed"
/>
<param
name="ssml.output.format"
type="string"
desc="Output format override for the cloud Speech-to-Text service"
/>
<param
name="ssml.apikey"
type="string"
desc="API key for a cloud Text-to-Speech service"
/>
<param
name="ssml.url"
type="string"
desc="URL for a cloud Text-to-Speech service"
/>
<param
name="mp3.cachefile"
type="file"
desc="Specifies the location a cache file holding Text-to-Speech to be reused"
/>
<param
name="mp3.cover.art.add"
desc="Specifies whether or not cover art is to be added to a file."
type="enum"
>
<val>yes</val>
<val default="true">no</val>
</param>
<param
name="mp3.cover.art.image"
desc="Specifies the cover art to be used for a file."
type="string"
/>
</transtype>
<transtype name="audiobook" extends="mp3" desc="A single Audiobook">
<param
name="audiobook.format"
desc="mp4 Output Format (with or without DRM)"
type="enum"
>
<val default="true">m4a</val>
<val>m4b</val>
</param>
</transtype>
<!-- Import the audiobook transform's ANT file -->
<feature extension="ant.import" file="build_dita2audiobook.xml"/>
<!-- Ensure the plugin's error and logging messages are available -->
<feature extension="dita.xsl.messages" file="resource/messages.xml"/>
</plugin>