Re: Other (plain text) file types can be indexd by Beagle?



I fully agree with Daniel on this point, as a programmer I know in this situation that we should index a file properly or not at all. However, i do make some points:

1. Even if a file is not recognised can we still index its filename and open it with the registered application or "open with" dialog
2. Can someone write some documentation on how simple programmers-yet-not-hardcore-hackers like me can quickly bash out some filters? Making it easy for the armies of softcore programmer types out there to do the filter legwork for you is a great idea

-Rob


-----Original Message-----

From:  Daniel Drake <dsd gentoo org>
Subj:  Re: Other (plain text) file types can be indexd by Beagle?
Date:  Mon 5 Dec 2005 13:44
Size:  751 bytes
To:  Alan Trick <alantrik yahoo ca>
cc:  "dashboard-hackers gnome org" <dashboard-hackers gnome org>

Alan Trick wrote:
> Is there a reason why it doesn't (look at the file)?

Yes, for the simple reason that beagle asks gnomevfs to tell us what kind of 
file we're dealing with, and we don't care how it does it.

> That may make some
> sense in a windows environment, but I have a lot of files on the linux
> half of my computer that don't have extentions on them.

You could play with "gnomevfs-info" and examine its behaviour for 
extensionless files, files with the wrong extension, etc. I think it figures 
it out intelligently, which may involve looking at the file contents.

Daniel
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers gnome org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]