Re: file manager: file and application associations

2007-08-25 Thread Stefan Kost
Hi,

is the ebook, html detectable. Then it might make snse to use some different
mimetype for it (text/html+ebook). You would need a matching rule for the
shared-mime database.

Stefan

Danny Milosavljevic wrote:
> Hi,
> 
> Since the issue came up with FBReader again 
> ,
>  I thought I'd repost an earlier request for clarification:
> 
> FBReader supports, among other things, HTML files. There are many books in 
> HTML form. However, there are also websites in HTML form, etc.
> 
> Now FBReader would like to associate with the text/html file type, but if it 
> does that, a user who wants to open websites will have problems.
> 
> If, on the other hand, FBReader doesn't associate with the text/html file 
> type, a user who wants to open books will have problems.
> 
> Hence, it would be best if the file manager / gnome vfs supported associating 
> "open this file with FBReader, but open that file with The Web Browser".
> 
> Every file type that is standardized (XML, ...) will have similar issues, so 
> there really is no way this can be left out and still be usable.
> 
> Please have a look at 
>  and reply here 
> what you think.
> 
> If possible, I'd like to hear the opinion of the maintainer of the file 
> manager especially.
> 
> I'd implement this myself (I did, partly, for maemo's "gnome-vfs"; but that 
> doesn't help much), but alas, the file manager's source is not available.
> 
> cheers,
>Danny
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: file manager: file and application associations

2007-08-14 Thread Marius Vollmer
"ext Danny Milosavljevic" <[EMAIL PROTECTED]> writes:

> Please have a look at
>  and
> reply here what you think.
>
> If possible, I'd like to hear the opinion of the maintainer of the
> file manager especially.

That would be me... :-) but the handling of file types and associated
applications is to a large extent done by other components, such as
GnomeVFS and our own mime-type machinery, which are maintained by
other people.

Anyway.

I think your proposal is right on target.

In addition to having multiple applications available to open a single
file, there is also the possibility to perform multiple operations on
a file ("View" versus "Edit", "Play right now" versus "Add to
playlist") or just giving the single operation a more descriptive name
than just "Open" ("View", "Play", ...)

Then there is the challenge of making extended meta-data work (such as
the preferred application per file) when copying files from system to
system.

> I'd implement this myself (I did, partly, for maemo's "gnome-vfs";
> but that doesn't help much), but alas, the file manager's source is
> not available.

Yes, unfortunately not.  (But if you would see it, you would try to
hide it as well. ;-)

You could try rigging your own mini file-browser by using the
HildonFileSelection widget, which is in libhildonfm2.  If you get it
to a point where it behaves like you want, I would be happy to
consider porting your changes into the real File Manager (which is
also mostly a wrapper around a HildonFileSelection widget).
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


file manager: file and application associations

2007-08-12 Thread Danny Milosavljevic
Hi,

Since the issue came up with FBReader again 
,
 I thought I'd repost an earlier request for clarification:

FBReader supports, among other things, HTML files. There are many books in HTML 
form. However, there are also websites in HTML form, etc.

Now FBReader would like to associate with the text/html file type, but if it 
does that, a user who wants to open websites will have problems.

If, on the other hand, FBReader doesn't associate with the text/html file type, 
a user who wants to open books will have problems.

Hence, it would be best if the file manager / gnome vfs supported associating 
"open this file with FBReader, but open that file with The Web Browser".

Every file type that is standardized (XML, ...) will have similar issues, so 
there really is no way this can be left out and still be usable.

Please have a look at 
 and reply here 
what you think.

If possible, I'd like to hear the opinion of the maintainer of the file manager 
especially.

I'd implement this myself (I did, partly, for maemo's "gnome-vfs"; but that 
doesn't help much), but alas, the file manager's source is not available.

cheers,
   Danny

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers