From: Adam M. <ama...@ma...> - 2006-01-20 00:11:50
|
On Thursday, January 19, 2006, at 03:47PM, Christiaan Hofman <chr...@we...> wrote: > >On 19 Jan 2006, at 7:48 PM, Adam Maxwell wrote: > >> >> On Thursday, January 19, 2006, at 09:15AM, Christiaan Hofman >> <chr...@we...> wrote: >> >>> In the next nightly you will be able to import JSTOR data in a BibTeX >>> file by dropping a text file with JSTOR references on the main table, >>> or using copy/paste of the data in the text file. >> >> Cool! Is there a way to make it not rely on the long "-----" >> string, or is that part of the spec that James pointed to? >> > >It's part of the specs. Bizarre. At least they're machine-generated. >> Also, what do you think of checking the type of files dropped on >> the main window and adding the references, rather than adding the >> files as attachments? If I drop a bib file on the window now, I >> get a new publication with that file attached to it; same holds >> true for other types. >> > >I agree that it is more expected to load the content for such files. I think we have an RFE for that somewhere as well. It would be a handy way of adding content quickly. >>> Is there a default extension for JSTOR files? then we could try to >>> recognize those and be able to open them. >> >> Or just register for any type as TextEdit does, which would allow >> drag-and-drop on the Dock icon. >> >> Adam > >The point is about opening a file. The document has to choose a file >type, which if not set by the system depends on the extension. For >"any type" we don't know which content type to choose. Or should we >use our sniffing methods? AFAIK JSTOR has not chosen a file type >extension, we could of course choose one ourselves (like .jstor). For "any type" I was thinking we'd have to sniff the content, if no extension was provided. We could add a .jstor extension/type/icon/UTI anyway, for completeness' sake. Adam |