Register Guidelines E-Books Today's Posts Search


Sat August 23 2008

Original Lit2sb perl script RESURRECTED!

12:04 PM by nrapallo in Other formats | IMP

I've found using the Lit2sb program very rewarding over the last few years. It has been a 'work horse' program accepting almost everything thrown at it and producing elegant .imp ebooks!

That said, there are some quirks that I've come to live with, namely: 8.3 filename processing, o_sb.imp output filename, uncontrollable margins (and other CSS settings), ...

I've always wanted to re-compile the program to do the things that I wanted it to do, but have been thwarted until just recently.

That's right, I've managed to resurrect the perl script it was written in (and compiled into a .exe by ActiveState's perl2exe and further obfuscated by upx compression). Unfortunately all comments seem to have been stripped in the original compilation process.

The perl script was written by reblibrarian (Philippe Rigaux of ebooksfrance.com) as evident in this posting in the REB1200 Yahoo group

RE: [REB1200] Lit2SB source code

When I written lit2sb, it was only intended to automate the conversion of
.lit files, I mean that lit2sb don’t do any html conversion. In fact you
should see it more as a batch file written in perl…

So for your remarqs:

1) ??
2) I don’t touch the source html (I only add margins)
3) Lit2sb don’t add any line breaks, probably the gemstar publisher do
that or the ms$reader ignore those?

If you know perl I can send you a copy of the source script but the script
perl is compiled for the convenience of end users…

Phil

I have re-compiled a windows executable (Lit2sb.exe) based on a modified copy of that perl script to allow proper conversions. Just replace the original lit2sb.exe executable with the one in the below .zip file. Of course, do so after following the instructions previously given Convert .lit directly into .IMP formats.

Among the things fixed were:
- uses source .lit filename as final .imp output filename and places resulting .imp in the same directory as the .lit source.
- for resulting .imp and .opf, no longer uses 8.3 filenames.
- uses "2%" left and right margins now, instead of "18pt"
- properly scales GEB1150/EBW1150 cover image so as to avoid bottom margin bleeding.
- fixed system calls to external programs to properly prefix path.

TO DO:
- make a GUI ala Mobi2IMP. The program will be called Lit2IMP!
- for REB1200 and EBW1150, rescale all images referred to in the .html ebook so that there is no bottom margin bleeding.
- fix the auto TOC entry insertion which usually duplicates the last entry in the <spine> section of the .opf.
- add any user requested (simple) modifications... Have any?

As always, enjoy!

[ 6 replies ]


Reminder: DC and Texas meetup today, August 23rd!

09:06 AM by Alexander Turcic in Miscellaneous | Announcements

Just a (another) little friendly reminder that we're holding two MobileRead Reader Meetups today. One is in the Washington DC area tonight at 5pm, the other in Austin, Texas at 2pm. Regulars and lurkers, please show up or our egos will be mercilessly permanently wounded. Plus, we are holding by our promise that at least one live human female will be present.

Washington, DC Area, US Details
When: August 23rd, 5:00pm
Where: Herndon, Virginia - Euro Bistro, 314 Elden Street (corner of Eldon and Herndon Parkway) 703-481-8158

Texas, US Details
When: August 23rd, 2:00pm
Where: Austin - Panera Bread, 2805 Bee Caves Road

[ 4 replies ]


MobileRead Week in Review: 08/16 - 08/23

06:00 AM by Alexander Turcic in Miscellaneous | Week in Review

Have something interesting to say about e-books or mobile computing? Join our forums and share your view on topics like the ones discussed at MobileRead this past week...

E-Book General - News and Commentary

E-Book Devices - Which one should I buy?

E-Book Devices - Amazon Kindle

Portable Devices - Other Devices

Miscellaneous - Lounge

Miscellaneous - Announcements


Kindle E-Ink screen transplant from a Sony Reader

05:15 AM by Madam Broshkina in E-Book General | News

Not for the faint of heart, but the instructions in the following link will show you how to remove a broken screen from an Amazon Kindle and replace it with the screen from a Sony Reader.

http://www.instructables.com/id/Amaz..._from_a_Sony_/

[ 8 replies ]


Fri August 22 2008

iRex iLiad goes Austria as "HixReader"

02:33 PM by Alexander Turcic in E-Book General | News

Austrian company HieBooks is going to present the iRex iLiad under the new name HixReader at the Buch Wien 08 fair this November. In December, Austrian bookstores are said to carry the HixReader along with commercial e-books that can be transferred upon purchase via USB connection. A customer portal for remote e-book purchases is planned at a later stage.

Apparently, HixBooks sees itself as a digital distributor, where publishers can securely upload their e-book content to a remote platform called HixLibrary; bookstores and booksellers then access HixLibrary to deliver the content to consumers.

[ 15 replies ]


Amazon: "Tell the Publisher" request links disappeared

01:46 PM by Alexander Turcic in E-Book Readers | Amazon Kindle

A few days ago we celebrated the fact that Amazon would allow us through a simple mouse click to "request" a book to be published in Kindle format. Well, I don't know if this is just a temporary issue, but it seems like the request links have disappeared! Who knows... perhaps publishers got irritated over the vast amount of requests they must have received in the past few days?

[ 14 replies ]


Judge to copyright holders: Consider 'Fair Use' first before doing anything

02:58 AM by Alexander Turcic in E-Book General | News

Wired breaks the news with a thought provoking story on how copyright holders are to consider the "Fair Use" doctrine first before sending takedown notices to online sites.

"Even if Universal is correct that fair use only excuses infringement, the fact remains that fair use is a lawful use of a copyright," U.S. District Judge Jeremy Fogel ruled. "Accordingly, in order for a copyright owner to proceed under the DMCA with 'a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law,' the owner must evaluate whether the material makes fair use of the copyright."

Fogel added that an "allegation that a copyright owner acted in bad faith by issuing a takedown notice without proper consideration of the fair use doctrine thus is sufficient to state a misrepresentation claim."

Source: Wired

You can download the original 10-page case document stating the judge's decision over here (.pdf).

[ 13 replies ]


Thu August 21 2008

PVI asked to keep quiet about E Ink shipment figures

05:04 PM by Alexander Turcic in E-Book General | News

How many E Ink display panels did Prime View International ship this year? How many of them went to Amazon (Kindle) and Sony (Reader)? In the words of a wise man: Seal up your lips and give no words but mum. Which is pretty much what PVI has been told:

With a 90% share of the EPD market, PVI nevertheless has been asked by its major clients, such as Sony and Amazon, not to reveal its EPD shipment figures, industry sources claimed.

Sony's e-Reader and Amazon's Kindle account for more than half of EPD shipments, the sources said.

Source: Digitimes

Does anyone care to speculate why our friends from Amazon and Sony would be so desperate to keep hints of actual sales figures hidden? It makes you wonder... anyways, according to the same report, PVI is going to single out revenues from their e-paper business starting next year. Then we'll know more.

[ 27 replies ]




live view Latest Forum Activity
Thread / Thread Starter Last Post
Forum: Kobo Reader
Today 08:56 PM
by John F (#5) Go to first new post
Forum: Lounge
Today 08:40 PM
by DNSB (#160446) Go to first new post
Unutterably Silly Change One Word (Nyssa)
Forum: Lounge
Today 08:40 PM
by DNSB (#62065) Go to first new post
Forum: Lounge
Today 08:39 PM
by DNSB (#25828) Go to first new post
Unutterably Silly Guilt by association (ahammer)
Forum: Lounge
Today 08:37 PM
by DNSB (#13944) Go to first new post
Forum: Lounge
Today 08:36 PM
by DNSB (#37510) Go to first new post
Unutterably Silly Question Everything? (Donnageddon)
Forum: Lounge
Today 08:34 PM
by DNSB (#17573) Go to first new post
Today 08:30 PM
by Sirtel (#11) Go to first new post
Today 08:25 PM
by DNSB (#7381) Go to first new post
Forum: Feedback
Today 08:23 PM
by DNSB (#3067) Go to first new post
Forum: Amazon Kindle
Today 08:16 PM
by DNSB (#13) Go to first new post
Forum: Calibre
Today 08:10 PM
by Sirtel (#56) Go to first new post
Today 07:50 PM
by setherd (#23) Go to first new post
Forum: Apple Devices
Today 07:45 PM
by JSWolf (#23) Go to first new post
Forum: Amazon Kindle
Today 07:44 PM
by Sirtel (#9) Go to first new post
Forum: News
Today 07:26 PM
by shalym (#311) Go to first new post
Today 07:04 PM
by Sirtel (#223) Go to first new post
Today 06:20 PM
by jackm8 (#9) Go to first new post
Forum: Plugins
Today 05:46 PM
by JSWolf (#2066) Go to first new post
Today 05:33 PM
by JSWolf (#8618) Go to first new post
Forum: Plugins
Today 05:03 PM
by ericar13 (#12212) Go to first new post
Forum: Editor
Today 05:02 PM
by Jaws (#1) Go to first new post
Forum: Amazon Kindle
Today 04:49 PM
by JSWolf (#17) Go to first new post
Forum: Kindle Books
Today 04:20 PM
by GrannyGrump (#0) Go to first new post
Forum: ePub Books
Today 04:17 PM
by JSWolf (#1) Go to first new post


All times are GMT -4. The time now is 09:15 PM.
MobileRead.com is a privately owned, operated and funded community.