Robby Stephenson | 13 Jun 16:03

Re: Drag'n'drop for URLs?

On Thursday 12 June 2008, Norbert Nemec wrote:
> I don't quite understand: currently, I can drop *files* onto tellico and
> they are handled via importers. URLs (like from firefox) on the other
> hand, are not handled at all. Not even, when they point to something
> like a bibtex file.

Ah, ok. Yeah, that's because I didn't notice that the KDE class I was using 
doesn't return a mimetype for http urls. I just fixed that.

> Sticking
> to the "importer" concept, one would therefore need an importer for
> URLs. The citeulike plugins could do just that. Question is only how one
> would configure this import. Maybe tellico could have its own dispatcher
> based on regexps?

Possibly. The way the framework is right now, I could add an generic 
importer class, and have the DND use that importer when none of the others 
fit. Once you have your script ready, I could shoehorn that in there, I 
guess. That's be rather neat.

Robby

Gmane