Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : New tool: BBeB Binder


cmumford
12-29-2006, 12:12 PM
Hi there:

I just posted a new program that I wrote to create BBeB files. It's called "BBeB Binder", and it's homepage is at http://code.google.com/p/bbebinder. This version will read in HTML files, and allow you to modify and then convert them to BBeB's. The version that I'm working on now will take in text files as well, and attempt to reconstruct the paragraphs and chapters.

My next plan is to handle images, drawing elements, automatic table-of-contents generation, and to produce more aesthetic books with headers, footers, chapter beginnings, etc.

Sorry it's a .Net 2.0 application that relies on Internet Explorer for the HTML parsing - so this means that it's a Windows only program.

Would you guys mind installing BBeB Binder and giving it a spin?

Thanks!

AndyQ
12-29-2006, 12:38 PM
It looks promising.

It loaded the sample html file fine and one other html file I had but it crashes on every other html file I try (including the README.htm file thats included with the program.

sic
12-29-2006, 12:58 PM
Is there a set of supported HTML tags?
It crashes for me too on the Readme.htm but I was able to convert a webpage I saved with Firefox.

cmumford
12-29-2006, 01:00 PM
It looks promising.

It loaded the sample html file fine and one other html file I had but it crashes on every other html file I try (including the README.htm file thats included with the program.
Bummer - I thought I had that problem solved. Thanks for giving it a try and hopefully I can find out what's going on here.

cmumford
12-29-2006, 01:02 PM
Is there a set of supported HTML tags?
It crashes for me too on the Readme.htm but I was able to convert a webpage I saved with Firefox.
I will eventually list these in a document somewhere, but until then the best place to look is the source. Even if you aren't a programmer you can probably make some sense if you check out HtmlDocumentReader.cs (http://bbebinder.googlecode.com/svn/trunk/src/BBeBinder/HtmlDocumentReader.cs).

airlik
12-29-2006, 02:30 PM
Sounds cool, I'll check it out this evening. Sounds like something I wouldn't mind collaborating on as well - if you need a hand, let me know - we could get it importing all kinds of formats for export to BBeB.

cmumford
12-29-2006, 02:39 PM
It looks promising.

It loaded the sample html file fine and one other html file I had but it crashes on every other html file I try (including the README.htm file thats included with the program.
Can you give this a try? Just overwrite your BBeBinder.exe with this one.

AndyQ
12-29-2006, 02:45 PM
Can you give this a try? Just overwrite your BBeBinder.exe with this one.

Thats much better although I did have to update the GutenbergLib.dll - I built it myself - as it couldn't gave a method not found exception (Gutenberg.Document.SerializeToHtml()) when doing File - Open.

Anyway, it handles the Readme.htm and other html files it crashed on before.
I'll try a few more html files to mack sure...

I'm also just going to convert a book to BBeB format and I'll let you know how it goes.

----- Edit ----
OK, conversion was simple - easy to adjust the font size. Looks good on the reader too. In addition, the lrf is a third the size of the html file.

Some things I noticed:
1) The toolbar buttons need better tooltips :)
2) Add a search/replace function (some of my html files have wrong characters in which it would be nice to change)
3) Should the right/left/centre text justification buttons work yet? If so then they appear to be broken as the didn't seem to do anything.

Apart from that, the interface is nice and intuitive, and easy to use.

Good job - will be converting more books over now !

Andy

slayda
12-29-2006, 03:01 PM
Worked fine on a Gutenburg book I had (a-per-fdeath_mys.htm). Looking forward to TOC & images. Good work. :wink:

AndyQ
12-29-2006, 03:04 PM
Worked fine on a Gutenburg book I had (a-per-fdeath_mys.htm). Looking forward to TOC & images. Good work. :wink:

TOC is working - change from Normal text to Headering 1/2/3/4/etc.

cmumford
12-29-2006, 03:36 PM
Some things I noticed:
1) The toolbar buttons need better tooltips :)
2) Add a search/replace function (some of my html files have wrong characters in which it would be nice to change)
3) Should the right/left/centre text justification buttons work yet? If so then they appear to be broken as the didn't seem to do anything.

Apart from that, the interface is nice and intuitive, and easy to use.

Good job - will be converting more books over now !

Andy

Thanks: that's easy.
That doesn't sound too difficult to implement.
The toolbar buttons all work. I don't know if the fix I just made got them working or not. There is a current bug where you have to deselect the text that you've just done something to before the browser updates itself. I'm still seeing that when I apply a heading style.

cmumford
12-29-2006, 03:39 PM
TOC is working - change from Normal text to Headering 1/2/3/4/etc.
I think that slayda meant that s/he's looking forward to when BBeB Binder puts an actual working TOC into the BBeB file (which I plan to do). Right now I'm just creating the TOC tree view that allows you to more easily navigate the document, but apart from that I'm not doing anything with it.

slayda
12-29-2006, 03:44 PM
I think that slayda meant that s/he's looking forward to when BBeB Binder puts an actual working TOC into the BBeB file (which I plan to do). Right now I'm just creating the TOC tree view that allows you to more easily navigate the document, but apart from that I'm not doing anything with it.


Definitely he. & yes.

AndyQ
12-29-2006, 04:06 PM
I think that slayda meant that s/he's looking forward to when BBeB Binder puts an actual working TOC into the BBeB file (which I plan to do). Right now I'm just creating the TOC tree view that allows you to more easily navigate the document, but apart from that I'm not doing anything with it.

Ahhh - Fair enough - I was only looking at the app and saw the TOC was being updated so just assumed....

A couple of others whilst doing some converting:
Can you make the Title default to either the name of the file or blank rather than the first word (or Default)

When you open a new document, it asks you if you want to save the changes and then tries to save as .mht.

Not sure if this is possible but could you have a button that joins all selected lines together?

And finally, any idea when images will be supported? This is more of a nice to have however as it already does 95% of what I want it to do!

cmumford
12-29-2006, 04:47 PM
Ahhh - Fair enough - I was only looking at the app and saw the TOC was being updated so just assumed....

A couple of others whilst doing some converting:
Can you make the Title default to either the name of the file or blank rather than the first word (or Default)Here's the way it works now:


If the HTML document has a <title> element in the header then it is used.
Else, it finds the first H1 or H2 element in the document and uses that.
Else, it sets it to "Default Title".

I agree with you that it should use the basename of the input document instead of the word "Default Title".

For text files I search for a line like this:

Author: AuthorName

And will set the <title> attribute to this value.
When you open a new document, it asks you if you want to save the changes and then tries to save as .mht.
Yes, I've filed a defect on this.Not sure if this is possible but could you have a button that joins all selected lines together?
I have an algorithm to do this when I read in text files, but I don't do anything like this for HTML files. Is this a common problem that you encounter?And finally, any idea when images will be supported? This is more of a nice to have however as it already does 95% of what I want it to do!I'm working on that feature right now. I'm still learning the LRF format so I can't really predict how long it will take - and I only have four days left on vacation :wink:

cmumford
12-29-2006, 04:59 PM
BTW to see my list of open issues please checkout http://code.google.com/p/bbebinder/issues/list. If you want to add any new issues you can either post them here to this forum, or I believe you can submit your own issue at the Google Code page.

AndyQ
12-30-2006, 03:49 AM
Are you happy for people to contribute code changes as well as I've got another week of not having to go to work :) ?

cmumford
12-30-2006, 07:55 AM
Are you happy for people to contribute code changes as well as I've got another week of not having to go to work :) ?
Sure, I'd love some help. I'm still learning a lot about the LRF format which causes me to refactor my code a lot to make things clean. I was hoping to let things settle down a bit for fear that I would frustrate any other developers working with me on the project.

However, I think that if I just communicate with you beforehand about the changes that I intend to make then we should be OK. Why don't you email me at cjmumford@gmail.com and we can coordinate. Take a look at the open issues (http://code.google.com/p/bbebinder/issues/list) on the project page to see if any of them peak your interest. If there are any other fixes/enhancements that you'd rather work on then please feel free to submit an issue.

Vienna01
01-01-2007, 12:35 PM
Great Tool. Do you think that orphan control should be added. Here is reply I added to threads on other tools.

Orphan control is a feature that I think would be helpful in ALL the programs that generate file formats for the SONY Reader.

I find reading a bit awkward when one part of the sentence is on one page and one on the next page. I think the orphan control feature would be helpful. Maybe it needs to be more complex than IF SENTENCE DOESN"T FIT GO TO NEW PAGE because with large font size(TR 16-TR18)and small display size, long sentences would leave some pages very short as the moved to the next page.{such as this sentence} Maybe for sentences less than ## characters the rule would hold but for other a break in the sentence across pages would be "a necessary evil" <grin>

cmumford
01-01-2007, 01:17 PM
Great Tool. Do you think that orphan control should be added. Here is reply I added to threads on other tools.

Orphan control is a feature that I think would be helpful in ALL the programs that generate file formats for the SONY Reader.

I find reading a bit awkward when one part of the sentence is on one page and one on the next page. I think the orphan control feature would be helpful. Maybe it needs to be more complex than IF SENTENCE DOESN"T FIT GO TO NEW PAGE because with large font size(TR 16-TR18)and small display size, long sentences would leave some pages very short as the moved to the next page.{such as this sentence} Maybe for sentences less than ## characters the rule would hold but for other a break in the sentence across pages would be "a necessary evil" <grin>
By "page" are you referring to the BBeB Page object, or just a displayed page on the Reader? It's my understanding that BBeB Page objects map most closely to chapters, and I agree completely that words/sentences/paragraphs shouldn't be split across multiple page objects.

If instead you meant a viewable page I'm not sure if the BBeB format allows me to control this being that text can be resized, and frankly a new reader with 768x1024 resolution could be released. I have no way of knowing how the Sony Reader is going to layout the eBook. I think that what you would want here is something like the MS Word paragraph stiles "keep with next" and "page break before" - and I'm not sure that BBeB supports this.

BTW - thanks for taking the time to give the program a try. We're working on table of contents and image support, and assuming that the general consensus is that the quality is high enough I'll announce this program to the rest of the forum readers.

FangornUK
01-01-2007, 02:31 PM
Nice work! Looks very promising.

You seem to be doing some Gutenberg specific detections and a simple clean-up for the HTML versions is page number stripping, I do that in gutlrf.pl like so:
$_ =~ s#<span class='pagenum'>.*</span>## ;
$_ =~ s#<span class=\"pagenum\">.*</span>## ;

I'll post more bug reports to the google code site.

cmumford
01-01-2007, 03:15 PM
Nice work! Looks very promising.

You seem to be doing some Gutenberg specific detections and a simple clean-up for the HTML versions is page number stripping, I do that in gutlrf.pl like so:
$_ =~ s#<span class='pagenum'>.*</span>## ;
$_ =~ s#<span class=\"pagenum\">.*</span>## ;

I'll post more bug reports to the google code site.
Can you point me to a book on Gutenberg that has these page number spans? I was using the Adventures of Sherlock Holmes, but it doesn't have any.

BTW does Gutenberg have a recommended HTML format that you're aware of, or are they at the mercy of every submitters ideas of what good HTML is?

If I wind up doing a bunch of html cleanup then I'll probably implement it where it reads various cleanup parameters (maybe like the two you put above) from a data file so that users can add their own values.

FangornUK
01-01-2007, 07:08 PM
Try 19337-h, most HTML ones have this page number span.

Yes there is an HTML standard for Gutenberg that most people follow, alas some don't though. http://www.gutenberg.org/wiki/Gutenberg:HTML_FAQ and http://gutenberg.hwg.org/index.html

RWood
01-01-2007, 07:48 PM
Vienna01, I'm confused. I have always heard that widow/orhpan referenced the last and first few lines on a physical page. Most times two lines are required on each. Thus if the page breaks with only one line at the bottom of the page, the line would be moved to the following page. If only one line would be at the start of the following page the page break is moved back one line unless that would leave only one line on the first page then both would be moved to the following page. I have never seen it referenced to whole sentances or paragraphs.

More critical from my view would be keeping the headers together with the following text. Few things are more jarring than to see a header as the last line of a page and have to turn the page to start the associated paragraph. Just my two cents.

cmumford
01-01-2007, 08:17 PM
Try 19337-h, most HTML ones have this page number span.

Yes there is an HTML standard for Gutenberg that most people follow, alas some don't though. http://www.gutenberg.org/wiki/Gutenberg:HTML_FAQ and http://gutenberg.hwg.org/index.html
Ahh yes, I see now. Those definately need to be stripped out. Thanks for the pointer.

cmumford
01-01-2007, 08:22 PM
... <snip>

More critical from my view would be keeping the headers together with the following text. Few things are more jarring than to see a header as the last line of a page and have to turn the page to start the associated paragraph. Just my two cents.
Yes I agree with you here on this one. Unfortunately I am again faced with the problem of having no idea where a heading will be placed, and I don't believe that I can somehow attach the heading with the first paragraph of text so that the two are not separated (but I will continue to look for a way to do just that). Another solution is to do a page break before the heading, but then you wind up with more half filled pages, and more page turns (er. button presses) to read the book. That may just have to be an option that the user can set to their preference.

airlik
01-03-2007, 01:24 PM
I've been using this wonderful tool a lot over the last few days - thanks again! I had a suggestion I thought I'd make about text handling.

I was recently re-reading the Marlowe plays, and thought I'd use the reader this time around. I downloaded the plain text versions from Gutenberg (most are only available in plain text). Most Gutenberg formatting apps, including this one, strip the single returns so the text flows on the display. However, with plays and poetry, you don't want that. I just used Wordpad to save as RTF (need that metadata so the book list looks nice), but it made me think - there are any number of operations that might need to be tweaked from book to book (like the page number stripping someone mentioned). I believe you said you might put things like that into a config file so people could modify/add, perhaps it could be a little more dynamic - have a little "always on top" window of checkboxes listing each operation that can be done on the text. You could check/uncheck various operations and hit "apply" to see how it would look.

It would also be nice, when TOC generation is working, to be able to change the pattern you use to find headings worthy of a TOC entry from within the program, rather than having to exit, change the config file, and try again.

cmumford
01-03-2007, 06:29 PM
I've been using this wonderful tool a lot over the last few days - thanks again!
You're very welcome. I'm glad that it's useful and we hope to improve it substantially in the coming weeks.

I had a suggestion I thought I'd make about text handling.

I was recently re-reading the Marlowe plays, and thought I'd use the reader this time around. I downloaded the plain text versions from Gutenberg (most are only available in plain text). Most Gutenberg formatting apps, including this one, strip the single returns so the text flows on the display. However, with plays and poetry, you don't want that.
Yeah I was concerned about plays, and how to algorithmically differentiate them from text that should reflow. I looked at Dido Queene of Carthage (http://www.gutenberg.org/files/16169/16169-8.txt) and it has commas at the end of most of the lines. I'm sure that over the centuries there have been a ton of different styles used, and it's going to be quite a challenge to get this right.

I noticed that at the beginning of each paragraph there are names like _Cloan._ and _Iar._. Do you know what these mean?


I just used Wordpad to save as RTF (need that metadata so the book list looks nice), but it made me think - there are any number of operations that might need to be tweaked from book to book (like the page number stripping someone mentioned). I believe you said you might put things like that into a config file so people could modify/add, perhaps it could be a little more dynamic - have a little "always on top" window of checkboxes listing each operation that can be done on the text. You could check/uncheck various operations and hit "apply" to see how it would look.

It would also be nice, when TOC generation is working, to be able to change the pattern you use to find headings worthy of a TOC entry from within the program, rather than having to exit, change the config file, and try again.
Excellent suggestion. It shouldn't be that difficult to make it automatically resurce whatever configuration file it reads, and maybe to have an editor for the config file contents.

<FingersCrossed>BTW I'm hoping that TOC and images will be coming in the next two weeks.</FingersCrossed>

airlik
01-03-2007, 11:29 PM
Yeah I was concerned about plays, and how to algorithmically differentiate them from text that should reflow. I looked at Dido Queene of Carthage (http://www.gutenberg.org/files/16169/16169-8.txt) and it has commas at the end of most of the lines. I'm sure that over the centuries there have been a ton of different styles used, and it's going to be quite a challenge to get this right.

I noticed that at the beginning of each paragraph there are names like _Cloan._ and _Iar._. Do you know what these mean?


Gutenberg is tough. I've done several macros to treat different kinds of text - that's what made me think of a list of checkboxes for "do this" and "do that" where you could hit "apply". One could be "turn single line feeds into two and leave two as two" kind of thing, that would fix most novels, but you could just uncheck it for plays.

MOST lines in plays look something like one of the following, which makes it hard (and hence a good toggle):

HAMLET.
Oh, what shall I do?

POLONIUS. Oh! I am slain.

Joe.Blow. Heya

So hard to recognize. There are also books that break, due to scanning badness, in mid-sentence. I detect those in my lame-o search-replace macros with lower-case letter followed by no punctuation mark, possibly a space, then a line break or two, followed by a lower case letter. So it picks up stuff like:

And then the man jumped

off the cliff.

Shakespeare and others often line break on purpose, but almost always start the next line with a cap. ex:
NORTHUMBERLAND.
What news, Lord Bardolph? every minute now
Should be the father of some stratagem:

QUEEN.
No, be assur'd you shall not find me, daughter,
After the slander of most stepmothers,
Evil-ey'd unto you. You're my prisoner, but
Your gaoler shall deliver you the keys
That lock up your restraint. For you, Posthumus,

etc etc.

FangornUK
01-04-2007, 03:43 AM
Not sure if you know about GutenMark (http://www.sandroid.org/GutenMark/) but I'd suggest you look at this for Gutenberg text files, it really is the best for converting into HTML - Gutenberg themselves recommend it. Easiest way would be to simply call it instead of spending your time implementing its functionality into BBeBinder, but at least the source code would really help.

Just a suggestion on formatting, I've noticed you create BBeBs with formatting for paragraphs that follows the Web page version, i.e. with a new line between paragraphs. Most ebooks skip this and simply start on a newline, it does look better.

airlik
01-04-2007, 08:25 AM
Just a suggestion on formatting, I've noticed you create BBeBs with formatting for paragraphs that follows the Web page version, i.e. with a new line between paragraphs. Most ebooks skip this and simply start on a newline, it does look better.

Another one of those things that would make a great checkbox - I prefer to have the space between paragraphs...

ptrourke
01-04-2007, 09:15 AM
Yeah I was concerned about plays, and how to algorithmically differentiate them from text that should reflow. I looked at Dido Queene of Carthage (http://www.gutenberg.org/files/16169/16169-8.txt) and it has commas at the end of most of the lines. I'm sure that over the centuries there have been a ton of different styles used, and it's going to be quite a challenge to get this right.


Don't do it algorithmically, have a check mark for "Verse" (for poetry, and plays written in verse). Dido Queen of Carthage has very defined line endings (the lines are strongly end-stopped), thus the commas, but that's a peculiarity of Marlowe's early verse style, and not typical of other verse.


I noticed that at the beginning of each paragraph there are names like _Cloan._ and _Iar._. Do you know what these mean?


Those are speech assignments - they tell you who speaks the next lines. In the case of Dido, Iar. is Iarbos, who is in love with Dido, and Cloan. is Cloanthes. You can have speech assignments either before the first line of a speech, or at the beginning of that line. The cleanest typesetters tend to put the speech assignments in the margin to the left of the first line, but putting them before the first line with a dividing space before and after, like this:

HAMLET

To be, or not to be: that is the question.
Whether tis nobler in the mind to suffer
the slings and arrows of outrageous fortune,
or take arm against a sea of troubles,
and by opposing, end them.

Also be aware of stage directions, which should ideally be formatted differently (i.e., bracketed in square brackets, which is what I'd do with plain text, or italicized).

Someone asked about widowing: that's something that has to be done by the display device (i.e, the Sony Reader), not the book formatter, unless there's some kind of style information for each book that includes the option of turning on and off widow and orphan support (I haven't seen the BBeB format raw yet, so I don't know if the Sony Reader has such style information).

cmumford
01-05-2007, 07:09 PM
Not sure if you know about GutenMark (http://www.sandroid.org/GutenMark/) but I'd suggest you look at this for Gutenberg text files, it really is the best for converting into HTML - Gutenberg themselves recommend it. Easiest way would be to simply call it instead of spending your time implementing its functionality into BBeBinder, but at least the source code would really help.
Thanks a bunch for that reference. If that works then I'll definately do that instead of my own formatting since that's a really hard problem to solve and one that I'm not very interested in doing myself.

Just a suggestion on formatting, I've noticed you create BBeBs with formatting for paragraphs that follows the Web page version, i.e. with a new line between paragraphs. Most ebooks skip this and simply start on a newline, it does look better.
What I do now is add two EOL's to the file. The BBeB format does have a concept of new paragraphs and also a paragraph indent. I intend to look into how to best implement this and I suspect that eventually it will be a preference that the user can set to specify their preferred indentation style.

Thanks for the feedback!

Latemarch
01-07-2007, 02:01 PM
Ok, I've tried this on a text file.
The program shows that it is making a TOC but when you make the .lrf there is no TOC on the reader.
Is there something that I'm doing wrong or is TOC just not functional yet?

cmumford
01-07-2007, 05:51 PM
Ok, I've tried this on a text file.
The program shows that it is making a TOC but when you make the .lrf there is no TOC on the reader.
Is there something that I'm doing wrong or is TOC just not functional yet?
The TOC is not yet written to the *.LRF file. I'm working on that feature right now and we hope to be doing another release fairly soon.

Thanks for giving it a spin for us.

diabloNL
01-07-2007, 05:55 PM
Looks promising. Is it right that the bolded letters don't show up in the lrf? Also, what is the reason that you can set the color of the font?

Anyway, keep up the good work and I follow this thread very close.

AndyQ
01-14-2007, 02:31 PM
Just to let you know that a 1.6Beta version of BBeB Binder can be found at my site (link below). It does require that the original version is installed first.

To use, backup the original BBeB Binder folder, and then overwrite the original files with the contents of the zip file.

This version is an unsupported beta version that includes a heap of changes/fixes including image support.

Feedback is much appreciated.

Cheers
Andy

Grab it from here (http://andyq.no-ip.com/download/bbebinder.zip)

diabloNL
01-14-2007, 03:11 PM
Just to let you know that a 1.6Beta version of BBeB Binder can be found at my site (link below). It does require that the original version is installed first.

To use, backup the original BBeB Binder folder, and then overwrite the original files with the contents of the zip file.

This version is an unsupported beta version that includes a heap of changes/fixes including image support.

Feedback is much appreciated.

Cheers
Andy

Grab it from here (http://andyq.no-ip.com/download/bbebinder.zip)

Did you see my post above you? :embarasse

FangornUK
01-14-2007, 03:53 PM
Thanks AndyQ and cmumford, this is coming along really nicely - been following the subversion changes closely. Let us know when you want feedback on formatting issues.

diabloNL
01-14-2007, 03:58 PM
Wow! The new version is way better. I like the margins this way. But I have a question; when I open a HTM(converted from a .DOC) with BBeBinder it will show all Bolds, sizes etc. etc.,so all formatting is there. But when I save it as a .lrf all this formatting is gone. Am I doing something wrong?


Thanks for the hard work!

cmumford
01-14-2007, 05:20 PM
Wow! The new version is way better. I like the margins this way. But I have a question; when I open a HTM(converted from a .DOC) with BBeBinder it will show all Bolds, sizes etc. etc.,so all formatting is there. But when I save it as a .lrf all this formatting is gone. Am I doing something wrong?


Thanks for the hard work!
If possible can I get a copy of that document for testing? cjmumford@gmail.com

FangornUK
01-15-2007, 10:33 AM
This may help with Gutenberg conversions, I used it for testing when developing gutlrf.pl

http://www.gutenberg.org/etext/19130

It has centralised images, headers and text and quite a lot of different markup. Which currently BBeBinder isn't formatting.

diabloNL
01-15-2007, 11:39 AM
If possible can I get a copy of that document for testing? cjmumford@gmail.com


Check your email. :wink:

cmumford
01-15-2007, 12:40 PM
This may help with Gutenberg conversions, I used it for testing when developing gutlrf.pl

http://www.gutenberg.org/etext/19130

It has centralised images, headers and text and quite a lot of different markup. Which currently BBeBinder isn't formatting.
Thanks. I'll test with that document. And yes, there's still a lot of formatting that we're not converting properly. Hopefully we can start improving this shortly.

cmumford
01-15-2007, 09:21 PM
Wow! The new version is way better. I like the margins this way. But I have a question; when I open a HTM(converted from a .DOC) with BBeBinder it will show all Bolds, sizes etc. etc.,so all formatting is there. But when I save it as a .lrf all this formatting is gone. Am I doing something wrong?


Thanks for the hard work!
OK. I got the file (thanks diabloNL). Some of the formatting was converted, and some of it was not. I'm actually converting with a more recent version of BBeB Binder which is not yet released, but I don't think that it's different from what you're currently using (0.1.5) so what I'm seeing should be what you're seeing.

First off things that are italicized with <i></i>, and bolded with <b></b> should work just fine. We don't yet support CSS or spans for doing these things. So it looks like all of the italic was translated into LRF, but only some of the bolding.

For example the words "The Pulse" after chapter 1 are actually set by applying a CSS style. Unfortunately we ignore this and that is why "The Pulse" is just plain old text.

Also, in the first few chapters the words "small treasure(s)" are bold. This is converted, but only as a font weight of 150%, which is pretty subtle with the Sony Reader.

I really haven't had the time to look into CSS yet, and can't really say what our plan is for this just yet. We may get lucky and come with a good solution. (I hope).

Sorry I can't get you a better answer for now, but thanks for giving it a try and providing the input.

diabloNL
01-16-2007, 01:06 AM
Thanks for the effort cmumford!

Slavka
01-17-2007, 08:51 AM
Is it hard to add Find&Replace functionality to the program? Over wise it is very nice application. Congratulation on that and huge thanks. :)

cmumford
01-17-2007, 02:10 PM
Is it hard to add Find&Replace functionality to the program? Over wise it is very nice application. Congratulation on that and huge thanks. :)
Find is already there (but no menu, must Ctrl+F), but replace is not. It shouldn't be too hard to add. I've just submitted an enhancement request so we will get it in at some point.

esperanc
01-18-2007, 01:53 PM
BBeB Binder is improving by leaps and bounds!

I wonder, however, if there is any way we can force the beginning of a chapter to start on a new page? Is there any convention for this?

Thanks!

cmumford
01-18-2007, 09:59 PM
BBeB Binder is improving by leaps and bounds!

I wonder, however, if there is any way we can force the beginning of a chapter to start on a new page? Is there any convention for this?

Thanks!
That's definately the plan. I don't know if will be in the next release, but it's high on my priority list.

pinenut
01-25-2007, 11:40 AM
I am wondering if the title and author can be preserved when a file is converted.

cmumford
01-26-2007, 10:08 PM
I am wondering if the title and author can be preserved when a file is converted.
It does today. A little explanation is in order however. If you type in the author/title in the property page after loading the document then it will be set in the eBook metadata and the reader will display that information.

We also look for <meta> tags in the HTML document, and if present will auto-fill in the property page. There's a bug where sometimes the meta tags can't be retrieved and we working on this.

Was this what you had in mind, or did you want the author/title specified in a different way?

lhilden
02-04-2007, 10:41 AM
Hi,

I tried running 0.1.5.0 from Google Code and your 1.6Beta version, and both die immediately upon startup (Windows error report). :dead: Any troubleshooting suggestions?

cmumford
02-04-2007, 11:54 AM
Hi,

I tried running 0.1.5.0 from Google Code and your 1.6Beta version, and both die immediately upon startup (Windows error report). :dead: Any troubleshooting suggestions?
Do you have .Net 2.0 installed?

cmumford
02-04-2007, 12:31 PM
Hi,

I tried running 0.1.5.0 from Google Code and your 1.6Beta version, and both die immediately upon startup (Windows error report). :dead: Any troubleshooting suggestions?
Actually, on second thought it's probably a known issue. Did you run vs_piaredist.exe as described in README.htm (http://bbebinder.googlecode.com/svn/trunk/README.htm)

lhilden
02-06-2007, 09:31 AM
That was it, thanks! I didn't think to run vs_piaredist.exe because I wasn't getting any exception at all, much less a "filenotfound" exception.

humandroid
03-20-2007, 10:53 PM
I like what you're doing here mumford !
Great job! :thumbsup:

ns66
07-28-2007, 03:11 PM
Hi, I tried to use patch 2 version, if working on small file like 1M, it worked fine (although on cover page would prefer Title then author instead of otherway around, and without TOC link line, but that's just minor)

but the problem is, when i try to convert txt file of a few MB in size, like 4M, it will hang like forever, the CPU goes 99% for loong time (never finished). it doesn't seem like scale linearly with size, any idea? maybe searching/parsing long string can be better tuned? this is a big problem for me.

ok it goes like this: after i open the file, it freezes a while to back to updated GUI, look at CPU still like 99% even though i can scroll the whole text in the text window (so don't know what it's doing), then i do a save as lrf file, it goes "parsing HTML..." and stay like that for a very long time, cpu again 99%, no file created so i usually kill the app to close...


thanks

MMascaro
07-28-2007, 07:34 PM
Cmumford

First, Great program!

Am I supposed to be able to edit the test in the left side text window. I tryed to delete extra blank lines and insert some others and it wont let me change the text or html part.

Great Program

Mark

cmumford
08-03-2007, 06:50 PM
Cmumford

First, Great program!

Am I supposed to be able to edit the test in the left side text window. I tryed to delete extra blank lines and insert some others and it wont let me change the text or html part.

Great Program

Mark
Yes, Go to the Tools menu and select "Design Mode".

flubu
08-07-2007, 10:40 AM
Just to let you know that a 1.6Beta version of BBeB Binder can be found at my site (link below). It does require that the original version is installed first.

To use, backup the original BBeB Binder folder, and then overwrite the original files with the contents of the zip file.

This version is an unsupported beta version that includes a heap of changes/fixes including image support.

Feedback is much appreciated.

Cheers
Andy

Grab it from here (http://andyq.no-ip.com/download/bbebinder.zip)

It's giving a 404. Any chance of an update?

JSWolf
08-07-2007, 12:54 PM
So are there going to be any updates to BBeB Binder?

cmumford
08-10-2007, 06:35 AM
So are there going to be any updates to BBeB Binder?
Yes, right now I'm just busy at my day job, but hopefully soon I can get some time to do another release.

JSWolf
08-10-2007, 08:11 AM
Yes, right now I'm just busy at my day job, but hopefully soon I can get some time to do another release.
When you do make a new release, please start a new thread and it can then be made sticky.

^_Pepe_^
10-10-2007, 04:38 AM
Hi!

I'm trying this tool, but no matter the options I make, the error is always the same. "xxxxxxxxxx is not a valid name". Of course, there's no option to change the name.

Any idea?

Regards,
^_Pepe_^

^_Pepe_^
10-10-2007, 04:50 AM
Autoreply!

:smack:

Of course...yo CAN change the file name, and afterwards, system works.

Well...not yet, because I have some incompatibilities between the standar user of my laptop (not administrator, not permisions to write in c:\...), the corporate internet proxy...

Ok...I'll continue at home!

Sorry for inconveniences...

Rgds,
^_Pepe_^