IReader Silverlight e-reader introduction to open-source projects

Source: Internet
Author: User

Old Version address: http://htmlextractor.codeplex.com/

The new architecture is not stable yet. If you are interested, leave a message.

Demo address:

Demo address 1

Demo address 2

It is deployed in a free php space and cannot be updated automatically due to unknown reasons. Therefore, if a new version is available, you must delete it and reinstall it.

The demonstration also requires support for silverlight runtime. If it is not installed locally, download silverlight first:

Sky software Station
Microsoft official

Download:

If the download is complete, click default.html to run silverlight4. If the download is not complete, install it first.

Reader: Reader

Silverlight:

Sky software Station
Microsoft official

Features:

The rankings and chapters support the pre-loading function. By default, the rankings are pre-loaded with 8 items, and the chapters are pre-loaded with 3 chapters, that is, the current chapter, the previous chapter and the next chapter, you can modify the number of pre-loads in "Settings. The pre-loaded sections are saved in the following directory: My Documents \ IReader \ Cache folder. The pre-loaded sections are automatically cleared when the program is disabled by default.

Supports page turning and Chapter turning on the keyboard

Up/down key, PgUp, PgDn -- scroll one page

Left and right keys-Upper and Lower chapters

Home and End -- scroll to the beginning and End of the page

Supports downloading books and reading them offline.

The text content of the book can be generated (not implemented yet ).

Only the required data is downloaded, and the network traffic is small. When you open a webpage, many contents such as js, css, and other images are loaded. The starting point is http://www.qidian.com/book/1524659.aspx. in fiddler, you can see that the downloaded file

However, a reader can only download two files: book page files and book images.

ReaderPage Introduction

1) navigation page

Currently, starting Chinese, nishu Chinese, and 3q Chinese are supported. Other websites will be added one after another. I want to authorize a website and then add an authorized website. If a novel website is authorized, the navigation page can be customized based on different websites.

Available operations:

You can drag the title bar and the bottom border.

The buttons in the title bar are minimized, maximized, full screen (exit full screen), and disabled.

2) Rankings

Click weekly recommendation to enter the weekly recommendation ranking. Supports keyboard Paging

3) book pages

Click the "book page" button in the rankings to go to the book page. You can download books and add them to favorites.

     

After entering the page, you can click the "directory", "page", and "chapter" buttons.

4) Directory

Full Screen:

Automatically calculates the screen size and does not display the scroll bar for easy reading.

     

 

5) Chapter

After loading the chapter, if pre-loading is enabled, there is no delay in turning over the previous chapter or the next chapter. It is as smooth as reading local books.

     

Picture chapter: The content is from the Chinese character of the book, and there is no picture chapter at the starting point.

6) Add to favorites

Click "add to Favorites" on the book page or in the ranking list. A Success prompt is displayed. Favorite books are kept up-to-date in real time and do not use cached content. Therefore, the loading speed is slow. The update notification function will be added here later.

7) download

The downloaded books are saved to the local device. Can be read offline. Downloading books is asynchronous multi-thread download. By default, five threads are enabled. If the network speed is fast, you can modify the configuration file to increase the number of download threads.

Download file storage location: My Documents \ IReader \ download.

Click "stop" after the download is complete. If the download fails, click "Download" from the book page. The downloaded chapter will not be downloaded again, but will only download the chapter that has not been downloaded successfully.

8) Local books

Books downloaded to a local device can be read offline. Click "cancel" to delete the downloaded books. Do not directly delete files in the download folder.

"Local" selection box. After selection, the downloaded books will be read. If no download is performed, the online content is read and the cache is not used.

9) Search

Baidu search is currently used.
You can enter the URL of the book pages, directories, and chapters, and click to read them directly to jump to the corresponding content. For example, enter http://www.qidian.com/book/1524659.aspxand click to directly read the webpage (you can use Ctrl + C ).
You can also enter the title and click search.

10)

Configuration

By default, the following configuration refers to the File Cache, where the File Cache is located: My Documents \ IReader \ Cache.

Automatic cleanup: when the program is closed, the cache is cleared.

Pre-read chapter: You can pre-read chapter 1, chapter 2, and Chapter 3, that is, Chapter 1, chapter 2, and Chapter 3 of the current chapter.

Pre-read ranking: You can pre-read four, eight, and 12 items. By default, four items are displayed on each page. Reading eight items is pre-Read on two pages.

Besides the File Cache, the memory cache is still used. The memory cache cannot be configured for the moment. It is enabled by default and cannot be disabled. Only the favorite page does not use any cache.

Default memory cache settings:

5 minutes. Chapter 2 minutes. Directory for 10 minutes. Ranking 2 minutes.

     

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.