Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2010, 10:14 AM   #1
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
Lightbulb 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:
  • 2pg - 2page mode enabled
  • s2pg - 2 page mode with right part of first page as first page and left part of first page as last page.
  • 5f2pg - 2 page mode with 5 first pages as single pages
  • 11f2pg - 2 page mode with 11 first pages as single pages

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
Attached Thumbnails
Click image for larger version

Name:	Screenshot-QEMU-1.png
Views:	378
Size:	189.1 KB
ID:	58992   Click image for larger version

Name:	Screenshot-QEMU-2.png
Views:	381
Size:	102.2 KB
ID:	58993  
Attached Files
File Type: zip document-viewer-plugins-4.0_6.zip (534.6 KB, 281 views)
File Type: zip fb2plugin_1.4.zip (215.0 KB, 393 views)
File Type: zip djvuplugin_1.0.zip (868.2 KB, 387 views)
File Type: zip djvu_xpm.zip (884 Bytes, 242 views)

Last edited by yuri_b; 12-10-2010 at 08:41 AM. Reason: new version of FB2 (minor bug fix) + first version of djvu plugin
yuri_b is offline   Reply With Quote
Old 09-28-2010, 10:41 AM   #2
dima_tr
Groupie
dima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-booksdima_tr has learned how to read e-books
 
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 )
dima_tr is offline   Reply With Quote
Old 10-01-2010, 11:28 AM   #3
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
I will a later
yuri_b is offline   Reply With Quote
Old 10-01-2010, 12:11 PM   #4
fAX
Junior Member
fAX began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2010
Device: iRex DR800sg
Quote:
Originally Posted by dima_tr View Post
(the book reminds me of the last school years )
Same here! Had the whole series. ))))
fAX is offline   Reply With Quote
Old 10-05-2010, 04:39 AM   #5
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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
yuri_b is offline   Reply With Quote
Old 10-13-2010, 03:21 AM   #6
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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
yuri_b is offline   Reply With Quote
Old 10-14-2010, 03:28 AM   #7
Astrowalk
Junior Member
Astrowalk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2010
Location: Russia
Device: iRex DR800SG
Yuri, how about supporting hyphenations? This feature is critical for me.
Astrowalk is offline   Reply With Quote
Old 10-14-2010, 05:55 AM   #8
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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
yuri_b is offline   Reply With Quote
Old 10-19-2010, 02:20 PM   #9
Qxr
Enthusiast
Qxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it isQxr knows what time it is
 
Posts: 42
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!
Qxr is offline   Reply With Quote
Old 10-20-2010, 06:21 AM   #10
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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.
yuri_b is offline   Reply With Quote
Old 11-14-2010, 06:40 AM   #11
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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)
yuri_b is offline   Reply With Quote
Old 12-06-2010, 11:28 AM   #12
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
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.
yuri_b is offline   Reply With Quote
Old 12-10-2010, 08:42 AM   #13
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
added missed files djvu_xpm.utf8 and djvu_xpm_2pg.utf8
yuri_b is offline   Reply With Quote
Old 12-14-2010, 06:00 AM   #14
akadimka
Junior Member
akadimka began at the beginning.
 
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
akadimka is offline   Reply With Quote
Old 12-20-2010, 09:09 AM   #15
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
I will check this
yuri_b is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 01:11 PM
epub or FB2 what do you use? Dopedangel HanLin eBook 1 04-06-2010 02:21 PM
FB2 output KarateMonkey Calibre 0 03-14-2010 08:47 PM
.fb2 format Clemente Which one should I buy? 10 02-25-2010 03:56 AM
FB2 output Solicitous Calibre 1 02-11-2010 12:20 AM


All times are GMT -4. The time now is 12:48 AM.


MobileRead.com is a privately owned, operated and funded community.