Electronic book loading and displaying method, electronic equipment and storage medium
A technology for e-books and targets, which is applied in the fields of electronic digital data processing, special data processing applications, and network data browsing optimization, etc., can solve the problems that affect the user's reading experience, cannot be applied to e-books, and cannot provide e-book display effects, etc. Solve display problems, improve display effects, and reduce cost consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 A schematic flowchart showing a method for loading and displaying an electronic book according to an embodiment of the present invention, as shown in figure 1 As shown, the method includes the following steps:
[0032] Step S101, read the electronic book to be loaded, determine the target chapter to be loaded, and obtain the target HTML file corresponding to the target chapter.
[0033] In this embodiment, it can be executed on the client, so that when the user reads the e-book on the client, the e-book to be loaded can be directly rendered in pages without accessing the server, which also improves the user's reading experience.
[0034] In this embodiment, the electronic book may be an epub electronic book, or an electronic book in other formats, which is not specifically limited here. The electronic book to be loaded is read from the client, and at the same time when the electronic book is read, the recorded reading identification information of the electro...
Embodiment 2
[0049] figure 2 A schematic flow chart showing a method for loading and displaying an electronic book according to another embodiment of the present invention, as shown in figure 2 As shown, the method includes the following steps:
[0050] Step S201, read the electronic book to be loaded, determine the target chapter to be loaded, and obtain the target HTML file corresponding to the target chapter.
[0051] Step S202, extracting the target chapter content corresponding to the target chapter from the target HTML file, and writing the target chapter content into a specified variable of the target HTML file in the form of a character string.
[0052] Step S203, loading the target HTML file, and inserting the specified variable into the target container of the target HTML file.
[0053] Step S204 , using the browser kernel to perform page-by-page rendering of the content in the specified variable in the target container, and complete the page-by-page display of the content of...
Embodiment 3
[0062] image 3 A schematic flow chart showing a method for loading and displaying an electronic book according to another embodiment of the present invention, as shown in image 3 As shown, the method includes the following steps:
[0063] Step S301, read the electronic book to be loaded, determine the target chapter to be loaded, and obtain the target HTML file corresponding to the target chapter.
[0064] Step S302, extracting the target chapter content corresponding to the target chapter from the target HTML file, and writing the target chapter content into a specified variable of the target HTML file in the form of a character string.
[0065] Step S303, loading the target HTML file, and inserting the specified variable into the target container of the target HTML file.
[0066] Step S304 , using the browser kernel to perform page-by-page rendering of the content in the specified variable in the target container, and complete the page-by-page display of the content of t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com