Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-14 Thread Jim Simmons
Aleksey,

I downloaded and installed the RPM last night and it seems to work OK.  Thanks.

James Simmons

> (not sure) you can attach soas repo and insall gstreamer-plugins-espeak
> http://download.sugarlabs.org/soas/repositories/2
>
> or just download rpm
> http://download.sugarlabs.org/soas/repositories/2/gstreamer-plugins-espeak-0.3.3-1.fc11.sl.i386.rpm
>
> --
> Aleksey
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Jim Simmons
Aleksey,

The kind of sharing I'm talking about is entirely handled by the
Activity itself.  If the book is shared using the Journal Send To
feature or the Library Activity I would not do anything to change the
Journal title of the received document as I would assume these other
methods of sharing would take care of giving the received Journal
entry a proper title (and if they don't it is not my problem).

Read Etexts, like Read, contains its own code for sharing books.  If
Read Etexts itself downloads a book from another user that's when I
want to know about it.

James Simmons


On Mon, Jul 13, 2009 at 10:19 AM, Aleksey Lim wrote:
> On Mon, Jul 13, 2009 at 09:38:50AM -0500, Jim Simmons wrote:
>> Tomeu,
>>
>> By "sharing" I mean pretty much what the core Read Activity does when
>> it shares a book.  The person doing the sharing either uses the
>> drop-down on the Activity toolbar to share the book with the whole
>> neighborhood or goes to the neighborhood  view and invites an
>> individual to share the book.  The person or persons invited will see
>> a Read Etexts icon in their neighborhood view and can choose to join
>> it.  Once they do they will receive a copy of the book.  The file
>> being transferred will be a zip file containing both the book text and
>> a pickle file containing annotations and bookmarks, plus the title of
>> the original book in the Journal of the original user will be in the
>> same pickle file.
>
> [1] takes more common approach, and [2] as well
>
> In fact trunk version of Library can browse shared Journal objects(but
> cannot download them). I just decided to integrate all
> Library(implemented of future) features to Journal [3].. and at the end
> it was postponed for 0.88. Anyway I'm going to continue coding it for
> 0.86(as a standalone activity) or for 0.88 as soon as possible.
>
> [1] http://wiki.sugarlabs.org/go/Features/Peer_to_Peer_Objects_Sharing
> [2] http://wiki.sugarlabs.org/go/Features/Server_Objects_Sharing
> [3] http://wiki.sugarlabs.org/go/Features/Unified_Browser_for_Objects
>
> --
> Aleksey
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Aleksey Lim
On Mon, Jul 13, 2009 at 09:38:50AM -0500, Jim Simmons wrote:
> Tomeu,
> 
> By "sharing" I mean pretty much what the core Read Activity does when
> it shares a book.  The person doing the sharing either uses the
> drop-down on the Activity toolbar to share the book with the whole
> neighborhood or goes to the neighborhood  view and invites an
> individual to share the book.  The person or persons invited will see
> a Read Etexts icon in their neighborhood view and can choose to join
> it.  Once they do they will receive a copy of the book.  The file
> being transferred will be a zip file containing both the book text and
> a pickle file containing annotations and bookmarks, plus the title of
> the original book in the Journal of the original user will be in the
> same pickle file.

[1] takes more common approach, and [2] as well

In fact trunk version of Library can browse shared Journal objects(but
cannot download them). I just decided to integrate all
Library(implemented of future) features to Journal [3].. and at the end
it was postponed for 0.88. Anyway I'm going to continue coding it for
0.86(as a standalone activity) or for 0.88 as soon as possible.

[1] http://wiki.sugarlabs.org/go/Features/Peer_to_Peer_Objects_Sharing
[2] http://wiki.sugarlabs.org/go/Features/Server_Objects_Sharing
[3] http://wiki.sugarlabs.org/go/Features/Unified_Browser_for_Objects

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Jim Simmons
Aleksey,

Thanks, I'll try this tonight.

James Simmons

> (not sure) you can attach soas repo and insall gstreamer-plugins-espeak
> http://download.sugarlabs.org/soas/repositories/2
>
> or just download rpm
> http://download.sugarlabs.org/soas/repositories/2/gstreamer-plugins-espeak-0.3.3-1.fc11.sl.i386.rpm
>
> --
> Aleksey
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Jim Simmons
Tomeu,

By "sharing" I mean pretty much what the core Read Activity does when
it shares a book.  The person doing the sharing either uses the
drop-down on the Activity toolbar to share the book with the whole
neighborhood or goes to the neighborhood  view and invites an
individual to share the book.  The person or persons invited will see
a Read Etexts icon in their neighborhood view and can choose to join
it.  Once they do they will receive a copy of the book.  The file
being transferred will be a zip file containing both the book text and
a pickle file containing annotations and bookmarks, plus the title of
the original book in the Journal of the original user will be in the
same pickle file.

Here is the issue:  when someone receives a shared book he only gets a
file.  In the neighborhood view he will see "The Hound of the
Baskervilles by A. Conan Doyle" but the Activity itself doesn't seem
to be able to get that information.  He knows he has joined an
Activity of another user, but the title of the Activity that he saw in
the neighborhood view does not seem to be available to his own
Activity.  As a result, when the user receives the book his own
Journal entry will be named "Read Etexts Activity".  Of course he can
rename it later but it would be better if the received Journal entry
had the same name as the one sharing the book.

Now the Read Activity seems to get around this by using metadata
stored in the PDF it is sharing.  So it occurred to me that I could
include the title in my pickle file with the annotations and pass it
along that way.  This works, almost.

Finally we get to the real problem:  I need to know in my program if
the file I'm reading is an existing Journal entry, in which case I
leave the title alone, or if it has in the current session been
received from another user, in which case I want to change the title
of my own Journal entry to whatever is in the pickle file.

Now that I've written this all out it occurs to me that there might be
another way to do this that I haven't tried.  So I may yet figure this
out myself.  But I'm still interested in suggestions.

James Simmons


> When you say that the file is shared, what do you mean exactly?
>
> Regards,
>
> Tomeu
>
>> James Simmons
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Aleksey Lim
On Mon, Jul 13, 2009 at 11:00:12AM +0200, Tomeu Vizoso wrote:
> On Sat, Jul 11, 2009 at 14:39, Jim Simmons wrote:
> > Finally, I updated one of my development boxes to Fedora 11.  It
> > doesn't look like the gstreamer espeak plugin is included in that
> > distribution, and unfortunately that box is the one I use for testing
> > text to speech.  Is there an RPM for Fedora 11 that I could install?
> 
> The gstreamer plugin isn't packaged yet for Fedora, unfortunately.
> Though Aleksey might have a .rpm that you can install.

(not sure) you can attach soas repo and insall gstreamer-plugins-espeak
http://download.sugarlabs.org/soas/repositories/2 

or just download rpm
http://download.sugarlabs.org/soas/repositories/2/gstreamer-plugins-espeak-0.3.3-1.fc11.sl.i386.rpm

-- 
Aleksey
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-13 Thread Tomeu Vizoso
On Sat, Jul 11, 2009 at 14:39, Jim Simmons wrote:
> I took the week off and spent a great deal of it in my basement
> working on an improvement to Read Etexts which should be available
> soon on ASLO.  The new feature is annotations, where I let you add
> notes to individual pages of a book, plus make as many bookmarks as
> you like, using a UI modelled on what the latest Read has.  Unlike
> Read, I store this information in a Zip file along with the book,
> which means that when you share a book the notes and annotations go
> with it.
>
> Another thing I did was to put the title metadata in this file,
> because that seemed to be the only way that I could make sure that
> when someone shared this file the received file in the Journal would
> get some title better than Read Etexts Activity.  That part isn't
> working at the moment.  I need a way to know that a file has been
> received from a sharing user and not opened any other way, because
> only then do I want to check the annotations file for a title.  If
> anyone has any ideas I'd like to hear them.

When you say that the file is shared, what do you mean exactly?

> I'm thinking of adding keyboard shortcuts for the bookmarks.   Any
> suggestions on what keys to use would be welcome.
>
> The next feature to be added will be highlighting, probably with
> underlines.  If there is a passage in a book that is important you can
> underline it for emphasis.  You should be able to underline multiple
> passages per page.
>
> Finally, I updated one of my development boxes to Fedora 11.  It
> doesn't look like the gstreamer espeak plugin is included in that
> distribution, and unfortunately that box is the one I use for testing
> text to speech.  Is there an RPM for Fedora 11 that I could install?

The gstreamer plugin isn't packaged yet for Fedora, unfortunately.
Though Aleksey might have a .rpm that you can install.

Regards,

Tomeu

> James Simmons
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Latest release of Read Etexts, some questions

2009-07-11 Thread Walter Bender
On Sat, Jul 11, 2009 at 8:39 AM, Jim Simmons wrote:
> I took the week off and spent a great deal of it in my basement
> working on an improvement to Read Etexts which should be available
> soon on ASLO.  The new feature is annotations, where I let you add
> notes to individual pages of a book, plus make as many bookmarks as
> you like, using a UI modelled on what the latest Read has.  Unlike
> Read, I store this information in a Zip file along with the book,
> which means that when you share a book the notes and annotations go
> with it.

That's great. Cannot wait to try it.

>
> Another thing I did was to put the title metadata in this file,
> because that seemed to be the only way that I could make sure that
> when someone shared this file the received file in the Journal would
> get some title better than Read Etexts Activity.  That part isn't
> working at the moment.  I need a way to know that a file has been
> received from a sharing user and not opened any other way, because
> only then do I want to check the annotations file for a title.  If
> anyone has any ideas I'd like to hear them.
>
> I'm thinking of adding keyboard shortcuts for the bookmarks.   Any
> suggestions on what keys to use would be welcome.
>
> The next feature to be added will be highlighting, probably with
> underlines.  If there is a passage in a book that is important you can
> underline it for emphasis.  You should be able to underline multiple
> passages per page.
>
> Finally, I updated one of my development boxes to Fedora 11.  It
> doesn't look like the gstreamer espeak plugin is included in that
> distribution, and unfortunately that box is the one I use for testing
> text to speech.  Is there an RPM for Fedora 11 that I could install?
>
> James Simmons
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel