[Sugar-devel] Opening .ePub files from a local (Browse-based) activity?

Gonzalo Odiard gonzalo at laptop.org
Fri May 13 15:22:19 EDT 2011


Read activity can open epub files.
Can you try opening the files from the Journal?
I don't know if .ePub and .epub files will be recognized, may be you can
check with the mime class.

Gonzalo

On Fri, May 13, 2011 at 4:17 PM, Walter Bender <walter.bender at gmail.com>wrote:

> On Fri, May 13, 2011 at 3:12 PM, Bastien <bzg at altern.org> wrote:
> > I created a "library" Sugar activity for Nosy Komba.  This is really
> > just a micro-website with a list of books and links to .ePub files:
> >
> >  http://lumiere.ens.fr/~guerry/u/sugar/livres4nk-2.xo
> >
> > Problem: clicking on the .ePub links neither launches the Read
> > activity nor offers to save the .ePub file in the Journal.  The
> > links are relative links like "ebooks/[link].epub" and work okay
> > when opened from any other browser.
>
> Is there a mime-type associated with .epub installed in the system
> telling it what activity to use?
>
> -walter
> >
> > All this with a recent version of Sugar on a XO 1.5 (I can check
> > the version number later if needed.)
> >
> > Thanks for any hint,
> >
> > --
> >  Bastien
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110513/51e0eb96/attachment.html>


More information about the Sugar-devel mailing list