Spotlight related request
Spotlight related request
I think this would be pretty easy to do for you guys:
When looking for a conversation in Spotlight, let the adium log to be opened into Adium (and not Safari), and possibly displayed as a "Conversation" and not as a Document?
When looking for a conversation in Spotlight, let the adium log to be opened into Adium (and not Safari), and possibly displayed as a "Conversation" and not as a Document?
Last edited by chouchou on Fri May 06, 2005 9:51 pm, edited 1 time in total.
-
djbsquared
- Cocoaforge Admin
- Posts: 248
- Joined: Thu Dec 02, 2004 6:29 am
- Location: West Bloomfield/East Lansing
True, but how hard would it be for the devs to change the log's extension from .html to, say, .adm and set Adium to be the default opener?djbsquared wrote:a log is an .html file, if youd like adium to be your default handler of html, which i cannot honest suggest you do, then a log will open in adium
Hmmm... I do not like very much the concept of creating a new file type as a make-up of a true html file. The whole concept of extension is (according to John Siracusa from ArsTechnica and many people) very confusing, not user friendly and not really extensible. The format of a file and the type of the file should be two different things imho.
-
lostchicken
- Harmless
- Posts: 2
- Joined: Wed Mar 23, 2005 1:00 am
This "extension as data type" thing is violated ALL the time, especially with XML (including XHTML) data. Just look at .plists, they're really just XML data, but with the file extension .plist.
I fear that we're gonna have a nightmare trying to make Adium play nice with Spotlight, especially with updating old logs...
I fear that we're gonna have a nightmare trying to make Adium play nice with Spotlight, especially with updating old logs...
- Catfish_Man
- Cocoaforge Admin
- Posts: 1203
- Joined: Thu Dec 02, 2004 6:30 am
- Location: Portland, Oregon
- Contact:
Actually, the point of XML is to allow for new formats to be created, so "plist" really is a file format (defined by the plist dtd).lostchicken wrote:This "extension as data type" thing is violated ALL the time, especially with XML (including XHTML) data. Just look at .plists, they're really just XML data, but with the file extension .plist.
I fear that we're gonna have a nightmare trying to make Adium play nice with Spotlight, especially with updating old logs...
We've been discussing what to do about this problem on IRC. http://trac.adiumx.com/ticket/88 references the issue. Another thing that would be nice is to unify logging with chat history.
Yep, my request is actually simplier, and would be just a little step forward. I just would like the logs to be opened in Adium by default (with minimal changes). Maybe it's just NOT possible.
But I really look forward having Adium to use metadata, as I hope any app will do so soon
Thanks to the devs.
But I really look forward having Adium to use metadata, as I hope any app will do so soon
Thanks to the devs.
- wunderwood
- Crema
- Posts: 303
- Joined: Tue Dec 07, 2004 11:46 pm
- Location: Los Angeles, Cali, US
- Contact:
Ok I don't know much about this stuff so I am probably wrong. But spotlight looks at meta data. I don't know how sophisticated spotlight plugins are, but can you tell spotlight "any html file with xyz in their meta data belongs in a different category"? I assume their is something in the meta data of the log files that says it's an adium log. Am I talking crazy talk?
- wunderwood
- Crema
- Posts: 303
- Joined: Tue Dec 07, 2004 11:46 pm
- Location: Los Angeles, Cali, US
- Contact:
They show up in generic documents in the format "[First Name] [Last Name] on 2005-05-10 at 16.24.chat"
There doesn't seem to be meta data for the s/n so a search of the screen name won't bring up the chat unless it was mentioned in the conversation.
(hopefully Adium logs will have both so you can do a search of either)
There doesn't seem to be meta data for the s/n so a search of the screen name won't bring up the chat unless it was mentioned in the conversation.
(hopefully Adium logs will have both so you can do a search of either)
- Damienoneill
- Frappa
- Posts: 116
- Joined: Tue May 10, 2005 9:10 pm
- Location: University of Kent
In the Ars Technica report I read about the UTIs (unified type identifier). Shouldn't it be possible to create new UTI for Adium logs, but keep the .html extension. The UTI could inherit from the generic html-UTI but such files should open with Adium log viewer and not with safari.
After that it should be "easy" to create a spotlight plugin just for adium log files.
After that it should be "easy" to create a spotlight plugin just for adium log files.
- Catfish_Man
- Cocoaforge Admin
- Posts: 1203
- Joined: Thu Dec 02, 2004 6:30 am
- Location: Portland, Oregon
- Contact:
chouchou: If log files got their own type (which does seem to be a good way of approaching it), then adding an icon would basically just be a matter of making an icon. They'd also open in Adium on doubleclick.
troplin: I'm not entirely sure how to assign a UTI to a file, actually. I think it may just be derived from other type identification info (extension, type/creator codes, etc...), but I could be wrong.
troplin: I'm not entirely sure how to assign a UTI to a file, actually. I think it may just be derived from other type identification info (extension, type/creator codes, etc...), but I could be wrong.
- wunderwood
- Crema
- Posts: 303
- Joined: Tue Dec 07, 2004 11:46 pm
- Location: Los Angeles, Cali, US
- Contact:
