epubcheck 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +16 -0
- data/bin/epubcheck +4 -0
- data/lib/epubcheck-1.0.5/COPYING.txt +19 -0
- data/lib/epubcheck-1.0.5/README.txt +61 -0
- data/lib/epubcheck-1.0.5/epubcheck-1.0.5.jar +0 -0
- data/lib/epubcheck-1.0.5/jing_license.txt +12 -0
- data/lib/epubcheck-1.0.5/lib/saxon.jar +0 -0
- metadata +69 -0
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 jugyo
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
= epubcheck
|
2
|
+
|
3
|
+
Command-line ePub check tool.
|
4
|
+
It is wrapper of epubcheck(http://code.google.com/p/epubcheck/).
|
5
|
+
|
6
|
+
== Usage
|
7
|
+
|
8
|
+
epubcheck file.epub
|
9
|
+
|
10
|
+
== Requirements
|
11
|
+
|
12
|
+
* Java Runtime (1.5 or above)
|
13
|
+
|
14
|
+
== Copyright
|
15
|
+
|
16
|
+
Copyright (c) 2010 jugyo. See LICENSE for details.
|
data/bin/epubcheck
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright (c) 2007 Adobe Systems Incorporated
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
5
|
+
the Software without restriction, including without limitation the rights to
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
7
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
8
|
+
subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
11
|
+
copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
15
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
16
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
18
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
This folder contains the distribution of epubcheck project.
|
2
|
+
|
3
|
+
EpubCheck is a tool to validate IDPF Epub files. It can detect many
|
4
|
+
types of errors in Epub. OCF container structure, OPF and OPS mark-up,
|
5
|
+
and internal reference consistency are checked. EpubCheck can be run
|
6
|
+
as a standalone command-line tool, installed as a web application or
|
7
|
+
used as a library.
|
8
|
+
|
9
|
+
Epubcheck project home: http://code.google.com/p/epubcheck/
|
10
|
+
|
11
|
+
BUILDING
|
12
|
+
|
13
|
+
To build epubcheck from the sources you need Java Development Kit (JDK) 1.5 or above
|
14
|
+
and Apache ant (http://ant.apache.org/) 1.6 or above installed
|
15
|
+
|
16
|
+
Run
|
17
|
+
|
18
|
+
ant -f build.xml
|
19
|
+
|
20
|
+
RUNNING
|
21
|
+
|
22
|
+
To run the tool you need Java Runtime (1.5 or above). Any OS should do. Run
|
23
|
+
it from the command line:
|
24
|
+
|
25
|
+
java -jar epubcheck-x.x.x.jar file.epub
|
26
|
+
|
27
|
+
All detected errors are simply printed to stderr.
|
28
|
+
|
29
|
+
USING AS A LIBRARY
|
30
|
+
|
31
|
+
You can also use EpubCheck as a library in your Java application. EpubCheck
|
32
|
+
public interfaces can be found in com.adobe.epubcheck.api package. EpubCheck
|
33
|
+
class can be used to instantiate a validation engine. Use one of its
|
34
|
+
constructors and then call validate() method. Report is an interface that
|
35
|
+
you can implement to get a list of the errors and warnings reported by the
|
36
|
+
validation engine (instead of the error list being printed out).
|
37
|
+
|
38
|
+
LICENSING
|
39
|
+
|
40
|
+
See COPYING.txt
|
41
|
+
|
42
|
+
AUTHORS
|
43
|
+
|
44
|
+
Peter Sorotokin
|
45
|
+
Garth Conboy
|
46
|
+
Markus Gylling
|
47
|
+
Piotr Kula
|
48
|
+
|
49
|
+
Most of the EpubCheck functionality comes from the schema validation tool Jing
|
50
|
+
and schemas that were developed by IDPF and DAISY. EpubCheck development was
|
51
|
+
largely done at Adobe Systems.
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Jing Copying Conditions
|
2
|
+
|
3
|
+
Copyright (c) 2001-2003 Thai Open Source Software Center Ltd
|
4
|
+
All rights reserved.
|
5
|
+
|
6
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
7
|
+
|
8
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
9
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
10
|
+
* Neither the name of the Thai Open Source Software Center Ltd nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
11
|
+
|
12
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: epubcheck
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- jugyo
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-05-03 00:00:00 +09:00
|
18
|
+
default_executable: epubcheck
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: This is a command-line ePub check tool. It is wrapper of epubcheck(http://code.google.com/p/epubcheck/).
|
22
|
+
email: jugyo.org@gmail.com
|
23
|
+
executables:
|
24
|
+
- epubcheck
|
25
|
+
extensions: []
|
26
|
+
|
27
|
+
extra_rdoc_files:
|
28
|
+
- LICENSE
|
29
|
+
- README.rdoc
|
30
|
+
files:
|
31
|
+
- lib/epubcheck-1.0.5/COPYING.txt
|
32
|
+
- lib/epubcheck-1.0.5/README.txt
|
33
|
+
- lib/epubcheck-1.0.5/epubcheck-1.0.5.jar
|
34
|
+
- lib/epubcheck-1.0.5/jing_license.txt
|
35
|
+
- lib/epubcheck-1.0.5/lib/saxon.jar
|
36
|
+
- LICENSE
|
37
|
+
- README.rdoc
|
38
|
+
has_rdoc: true
|
39
|
+
homepage: http://github.com/jugyo/epubcheck
|
40
|
+
licenses: []
|
41
|
+
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options:
|
44
|
+
- --charset=UTF-8
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
segments:
|
52
|
+
- 0
|
53
|
+
version: "0"
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
requirements: []
|
62
|
+
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 1.3.6
|
65
|
+
signing_key:
|
66
|
+
specification_version: 3
|
67
|
+
summary: command-line ePub check tool
|
68
|
+
test_files: []
|
69
|
+
|