Tellico 1.3.3 Released

Robby Stephenson robby at periapsis.org
Sat Jul 12 13:53:59 MDT 2008


On Saturday 12 July 2008, Norbert Nemec wrote:
> So, may it be that tellico expects the URL to end in .bib? In that case,
> it will not work for many of the common journals that offer bibtex
> export but use a URL without a file ending.
>
> Furthermore, it seems that firefox does drag-and-drop differently than
> KDE... :-(
>
> Perhaps, Tellico could just accept plain text per drag and drop and
> determine the type of the data automatically? That way, one could just
> drop a snippet of a bibtex file on Tellico to import that reference.
>
> Of course, in that case, it should also detect if the plain text does
> contain a URL which should then be opened and imported.

Thanks for poking at it. :) Tellico asks for the mime-type from the url and 
expects it to be text/x-bibtex or application/x-bibtex for bibtex files. So 
even it it doesn't end with .bib, if the http server reports a mimetype, it 
should work. 

For your example, when you select "open in firefox", the web server sends a 
text/plain type, which Tellico doesn't know what to do with. Using 
the "download to firefox" option sends a application/bibtex type, so it 
looks like I need to add that.

But evidently, not many servers use a bibtex mimetype. Not even Google 
scholar, which uses text/plain.

Konqueror and Firefox do handle drag/drop differently. One uses URLs as 
text, the other as a link. I tried to handle both, but you can see it 
doesn't quite always do what you expect.

Importing based on the format of the file would solve the problems, but 
introduce some more. :) I guess, I could queue up the importers and ask 
each one in turn to try to import, and see if it succeeds. Something to put 
on the todo list.

Robby


More information about the tellico-users mailing list