12-21-2006, 10:29 AM | #1 |
Connoisseur
Posts: 69
Karma: 34
Join Date: Dec 2006
Location: Dallas, TX
Device: PRS-500
|
Developer needs help getting started
Hello:
I'm a new Sony Reader owner - and a very happy one. Like the rest of you I've experimented with the best way to get my own content onto the device. RTF seems to give me the best results, but I'd really like to be able to produce documents that are of the same quality as those that I buy on the CONNECT store - and I believe that this means BBeB/LRF. I've looked at all of the tools linked to in the "BBeB (LRF) generation tools" thread. I've had the most success with BBeBook and BookDesigner but neither of them have the usability nor produce the quality of books that I would eventually like to read. I decided to write my own program to do this. Partly for the fun of doing it, and partly for the benefits of the tool. I started with the BBeBook source (Java), and ported it all to .Net. I've started a new Google open source project named BBeBinder, and I will put the source here fairly soon. Unfortunately it looks like the LRF format is not documented, and is also only partially reverse engineered. I came across the LibrieWiki that had some information on the format, but it's obviously incomplete. So my questions are:
Any guidance you guys can offer a new developer would be greatly appreciated. |
12-21-2006, 11:16 AM | #2 |
Addict
Posts: 303
Karma: 541
Join Date: Oct 2006
Device: Cowon A2 Dell x3i, Sony Reader & Eee PC!
|
Same here... Have seen other reference but they are all off this same set of info. Or at least the one I have found.
Working on something to breaking out the "blocks" but its on the shelf due to this is the busy time of the year for me. Good luck on your quest. ^_^ |
12-21-2006, 11:20 AM | #3 |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
See this thread.
|
12-21-2006, 12:05 PM | #4 | |
Connoisseur
Posts: 69
Karma: 34
Join Date: Dec 2006
Location: Dallas, TX
Device: PRS-500
|
Quote:
|
|
12-21-2006, 12:16 PM | #5 | |
Jah Blessed
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Quote:
|
|
12-21-2006, 12:54 PM | #6 | |
Member
Posts: 14
Karma: 10
Join Date: Nov 2006
Location: Singapore
Device: Clié TH-55/Librié
|
Quote:
I have since stopped exploring the lrf file directly though since I have found it to be far easier to simply use the XylogParser.dll to convert the LRS file. There are some hipcups I encountered while using the Parser to compile though and one of the more irritating ones is that it does not understand some of the named entities used in HTML for certain symbols. Error have been quite hard to find since the parser just simply refuses to compile the file. Last edited by quantumskie; 12-21-2006 at 01:05 PM. |
|
12-21-2006, 01:11 PM | #7 |
creator of calibre
Posts: 44,339
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I don't have much information to give you, only a request. Consider coding in python. I dont have anything against .Net. I ask because I'm writing a GUI in python and have already reverse engineered the USB protocol the reader uses also in python. Eventually, once the GUI's basic functions stabilize, I will be looking at porting makelrf/BBeBook to python. It would be nice if your codebase was easily integrable into the GUI codebase.
I already have a python class that reads/writes all the metadata from an LRF file, that may be a good place to start. |
12-21-2006, 01:31 PM | #8 |
Connoisseur
Posts: 69
Karma: 34
Join Date: Dec 2006
Location: Dallas, TX
Device: PRS-500
|
Thanks for the pointers. I went and downloaded the files, and also noticed the *.lrs files there, which I've been looking for - there were two. I tried to convert these using the lrs2lrf program, and the log file contained "Can not create LRF Header" - and also some Japanese.
Is this the problem that you are seeing? I would have thought that the pages this guy posted on his site would have been properly formatted and parsable by XylogParser.dll so I'm thinking that maybe I'm doing something wrong. |
12-21-2006, 06:03 PM | #9 | |
Connoisseur
Posts: 69
Karma: 34
Join Date: Dec 2006
Location: Dallas, TX
Device: PRS-500
|
Quote:
.Net is just a better choice for me because it has fantastic support for XML and schemas. Eventually I want to create a web service to do this, which is also easy in .Net. It should be call-able from Python, and with Mono should also run on Linux/Mac, but I doubt that XylogParser.dll will run there. |
|
12-21-2006, 06:13 PM | #10 |
creator of calibre
Posts: 44,339
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK...so you aren't reverse-engg the LRF format? Just using lrs2lrf?
|
12-21-2006, 06:14 PM | #11 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Check lrf2lrs for more details on the real structure of LRF. Or LRFParser (though that one cannot handle some files...).
|
12-21-2006, 07:27 PM | #12 | |
Connoisseur
Posts: 69
Karma: 34
Join Date: Dec 2006
Location: Dallas, TX
Device: PRS-500
|
Quote:
I'm using what lrs2lrf uses: XylogParser.dll. |
|
12-22-2006, 02:28 AM | #13 | |
Enthusiast
Posts: 41
Karma: 728
Join Date: Jun 2006
Device: Google Nexus 7
|
Quote:
P.S. Probably it's good motivation for start learn Russian ;-) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to get started . . . | GLL | Calibre | 3 | 04-29-2010 03:36 AM |
New Developer - Getting Started | ssbkt | Calibre | 10 | 01-05-2010 06:15 AM |
Getting Started | Pinecone | Calibre | 2 | 11-02-2009 01:14 AM |
Let's getting started ! ^^ | scaza | Introduce Yourself | 2 | 03-04-2009 12:25 PM |
Can u help me to get started? | jeremygold | Sony Reader | 2 | 01-02-2009 12:27 PM |