09-28-2010, 09:14 AM | #1 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
FB2 and DJVU plugins
Hi
new version 1.4: fixes minor bug DJVU plugin version 1.0 Description of DJVU plugin after FB2 Description of FB2 plugin I wrote FB2 plugin for DR800/DR1000 I like it more then FBreader I'm using and testing it in my DR800sg It supports: - images, several fonts, most of tags. - Support encoding in UTF8/window-1251/window-1252/KOI8-RU - if book compressed with zip, and saved with extension 'fb2' it will open it also!!! - Sets to data base author name and titles. - If cover image exist it will show it as first page. Not supports: - links. Please note: it will show first page quickly, but count all pages to display tabs in dr800+ will take time ~ 1-3 minutes, depends on size of book. Also going to full screen will force repaginate all book. You still can go next/previous page, but will no see count of pages. Install as usual: 1) Unpack in root, you will get Programs/_fb2plugin Programs\Install 2) Go to 'Install' directory - a) If you have FBreader - click on FBReaderRemoveFB2.desktop to remove link FB2 with FBreader - b) Click on InstallFB2.desktop to install plugin log: - version 1.0 first version - version 1.2 fix rendering bug - version 1.3 work around of bug in UDS ( close document not called in thumbnail generation), added support for new tags, added capability generate thumbnails it is enabled in GUI. - version 1.4 - minor BUG fix Description of DJVU plugin I use sources of djvu plugin written by luite It supports: - Supports text metadata, and search in text, if exist - Supports "author" and "Title" tags in shared annotation, so you can add Authors name and Title and plugin will store it in database, so CTB will show author and title instead file name. - Add support for thumbnail creation, when enabled. - Supports 2 page mode with additional customization: first # pages - single pages, first page: title and back page. Prepare djvu doc: To use Author and Titles tags you have to add them to djvu doc, by editing attached file "djvu_xpm.utf8" and "djvu_xpm_2pg.utf8". Note those 2 files are encoded as UTF8!!! (those files are zipped in djvu_xpm.zip) To use 2 page mode you can add special string in file name or add special tag named "2pagemode" see "djvu_xpm_2pg.utf8", where:
add annotation with this command: djvused "djvuname.djvu" -s -f djvu_xpm.utf8 or if use with 2 page mode: djvused "djvuname.djvu" -s -f djvu_xpm_2pg.utf8 To change 2 page mode without using djvu annotation, change file name to: orig_name.2pg.djvu Install as usual: 1) Unpack in root, you will get Programs/_djvuplugin Programs\Install 2) Go to 'Install' directory - Click on InstallDJVU.desktop to install plugin log: - version 1.0 first version Last edited by yuri_b; 12-10-2010 at 07:41 AM. Reason: new version of FB2 (minor bug fix) + first version of djvu plugin |
09-28-2010, 09:41 AM | #2 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
wow, great! can you please post the sources as well?
(the book reminds me of the last school years ) |
Advert | |
|
10-01-2010, 10:28 AM | #3 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
I will a later
|
10-01-2010, 11:11 AM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Apr 2010
Device: Boox Max2, Kindle Voyage
|
|
10-05-2010, 03:39 AM | #5 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
Added new version that fixes bug in rendering text after picture. see first message
|
Advert | |
|
10-13-2010, 02:21 AM | #6 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
new version 1.3 that will generate thumbnails while indexing. you need only enable this in Settings->Advanced Setting->Automatic Thumbnail generation
|
10-14-2010, 02:28 AM | #7 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2010
Location: Russia
Device: iRex DR800SG
|
Yuri, how about supporting hyphenations? This feature is critical for me.
|
10-14-2010, 04:55 AM | #8 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
Hi
It isn't simple task , and beyond of my time line. It should be serious reason to accomplish this peace of work But, I will publish sources so anybody can participate in development of FB2 plug-in Sincerely Yura |
10-19-2010, 01:20 PM | #9 |
Enthusiast
Posts: 43
Karma: 2188
Join Date: Jan 2010
Location: Kharkov, Ukraine
Device: lbook V3, iRex DR800SG
|
Yura,
Thank you for the great piece of software! I like it very much. A couple of questions to ask: - If I got it right, the other formats (RTF, CHM, etc.) supported by FBReader are not associated with it once your plugin is on, right? If so, will it be possible to swithch off only FB2 association, leaving the other formats intact? - Is it possible to provide a file load indicator (e.g., hourglass icon in the toolbar or a progress bar or anything else)? Thanks! |
10-20-2010, 05:21 AM | #10 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
Hi
1) In install package I provide file "FBReaderRemoveFB2.desktop" that will remove FB2 association from FBReader. If you have both FBReader and FB2 plugin you have to run this script. 2) All GUI related elements already provided bu UDS, plug-in don't have ability to add such elements. |
11-14-2010, 05:40 AM | #11 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
Added sources for FB2 plugin and for dvju plugin that I just start to develop (based on work luite)
|
12-06-2010, 10:28 AM | #12 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
New version of fb2 plugin minor bug fix - for some books first image not displayed
Added DJVU plugin version 1.0 See first message. |
12-10-2010, 07:42 AM | #13 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
added missed files djvu_xpm.utf8 and djvu_xpm_2pg.utf8
|
12-14-2010, 05:00 AM | #14 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: iREX D800SG
|
Hi Yuri_b,
here's the my feeling about the FB plugin. It's great and works fast. But there are some minuses while using it: 1. no justifying at all -> text looks quite awful. 2. Next page keeps some lines from previous page when turning. IMHO it'll be much better to make 100% of page turning at once. What do you think? I hope you could fix your latest version of plugin (sure only if this not require a lot of time to do )) BR, Dmitry |
12-20-2010, 08:09 AM | #15 |
Connoisseur
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
|
I will check this
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
epub or FB2 what do you use? | Dopedangel | HanLin eBook | 1 | 04-06-2010 01:21 PM |
FB2 output | KarateMonkey | Calibre | 0 | 03-14-2010 07:47 PM |
.fb2 format | Clemente | Which one should I buy? | 10 | 02-25-2010 02:56 AM |
FB2 output | Solicitous | Calibre | 1 | 02-10-2010 11:20 PM |