Thursday, May 28, 2009

Set default java on Ubuntu

$JAVA_VERSION = where java is installed (/usr/lib/jvm/java-1.5.0-sun)
sudo update-java-alternative -s $JAVA_VERSION

java version "1.5.0_18"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)

Thursday, May 21, 2009

ИскаBoo starts its life

The eBook project is in the works and enjoys its new home. Why ИскаBoo(IskaBoo) you might ask? Well it's a play on two words, Russian искать which means to search and Boo which is English Book without the 'k'. Sounds nice, don't you think?
So the first conversion I am doing is actually from LRF to PDF just because there are libraries available for the conversion: LRFTools. Yes, I wanted to implement fb2 to lrf first, but I'd like to finish UI part first so that I have extension point correct to contribute to conversion. The extension point here is this:

name="LRF to EPUB Converter"
outputtype="epub" providerclass="free.akravets.iskaboo.ui.coverter.lrttools.LRF2EPUBConverter">

So here a plugin that wants to contribute to conversion mechanism will implement this extension point and provide implementation of IEBookConverterProvider interface:

public interface IEBookConverterProvider {
public URL convert(URL inputDocument) throws MalformedURLException;

Of course this interface is not 100% set, but basic conversion from LRF to PDF almost works.

Friday, May 15, 2009

eBook Tools for Eclipse

I recently discussed available solutions for eBook conversions. Then I decide why not create Eclipse plug-in that would tackle this task as well? I chose Google Code as my source code repository - it's actually quite nice (what isn't from Google, right :) ). There is nothing major there right now - only project / import wizard and an extension point, but I am excited to start working on the real code that will make this plug-in tick. My first item on the list will be creating fb2 to epub coversion.

Blogger Syntax Highliter