Method and device for transferring files of book edition format into files of EPUB format

A format file and book version technology, which is applied in the field of converting book format files into EPUB format files, can solve the problems that the book version sample files cannot be well parsed, cannot be presented correctly, and the processing process is complicated. The processing process is complicated, the degree of automation is high, and the processing process is simple.

Inactive Publication Date: 2015-06-10
PEKING UNIV FOUNDER GRP CO LTD +2
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the common method of converting a book format file into an EPUB format e-book is: first export the book format file to form a TXT document, or export it to form a PDF document, and then process the exported TXT document or PDF document into a EPUB format e-book, the processing process of this method is complicated, the content loss is much, and it also requires a lot of manual participation
T

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for transferring files of book edition format into files of EPUB format
  • Method and device for transferring files of book edition format into files of EPUB format
  • Method and device for transferring files of book edition format into files of EPUB format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1 As shown, the present embodiment provides a method for converting a book format file into an EPUB format file, including the following steps:

[0051] s101. Designate a storage directory for the book-format file, and detect whether there is an error or missing in the book-format file in the storage directory.

[0052] Preferably, the book format file includes: a small sample file, and at least one of title setting information in the small sample file, a large sample file, a picture file, a complement file, and an external font file. Wherein, according to the title setting information in the sample file, the catalog of the book can be formed, and the titles of all levels in the book content can be formed.

[0053]Since the final format file of any book is not a single file, it includes one or more .fbd files (i.e. sample files), and may also include a file with the suffix . setting information, etc.), picture files, complement files, external font file...

Embodiment 2

[0084] Such as Figure 4 As shown, this embodiment provides an apparatus for converting a book format file into an EPUB format file, including: a specifying unit, a detecting unit, a storage unit, a first processing unit, a second processing unit and an output unit. In this embodiment, the book format file includes: a small sample file, and at least one of title setting information in the small sample file, a large sample file, a picture file, a complement file, and an external font file.

[0085] Wherein, the specifying unit is used to specify the storage directory of the book format file;

[0086] The detection unit is used to detect whether there is an error or a missing book format file in the storage directory.

[0087] Specifically, the detection unit is used to check the syntax of the annotations in the sample file, and perform pre-flight processing on the sample file; it can also prompt the user.

[0088] The storage unit is used to store the book format file and it...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for transferring files of a book edition format into files of an EPUB format. The method comprises the following steps: 1) appointing a storage catalogue of the files of the book edition format, and detecting whether the files of the book edition format have errors or missing; 2) storing the files of the book edition format and detected results according to a fixed catalogue structure so as to form a resource package; 3) analyzing the resource package, and performing structuralized processing on the resource package so as to form a structuralized logic tree containing formats and content; 4) extracting the content of the structuralized logic tree, formatting the extracted content, and using a cascading style sheet so as to form HTML (hypertext markup language) files; 5) packaging and outputting data and files obtained from step 1) to step 4) according to EPUB standards so as to form the files of the EPUB format. Correspondingly, the invention provides a device for transferring files of the book edition format into files of the EPUB format. Through the adoption of the method and the device which are both provided by the invention, small sample files can be well analyzed; the method and the device have the advantages that the processing process is simple, the content error rate is low, and the degree of automation is high.

Description

technical field [0001] The invention relates to the technical field of computer typesetting, in particular to a method and a device for converting a file in book format into an EPUB format file. Background technique [0002] With the rapid development of digital publishing and mobile reading technology, EPUB (Electronic Publication, electronic publishing) format e-books (e-books) that can adapt to the terminal screen size are becoming more and more popular, but a large number of books published by publishing houses are in book version Format typesetting cannot be directly applied to the terminal. Therefore, the demand for processing book format files into EPUB format e-books is becoming stronger and stronger. The book version refers to the Founder book version typesetting software, which is suitable for the typesetting of periodicals, general books, dictionaries, classics, scientific and technological and literary books and periodicals. [0003] At present, the common metho...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 魏超鹏严昌华
Owner PEKING UNIV FOUNDER GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products