Now on ScienceBlogs: "Global Warming is not real because weather patterns have stabilized in the last 10 years!" Why statements like this need a little context.

Seed Media Group

Collective Imagination

Search

rss.jpg   Subscribe to RSS feed

Profile

davidog.pngDave Bacon is a theoretical ski bum who is also a pseudo professor. His research is on quantum computing, his scientific passions extend to everything in physics, mathematics, computer science and beyond, and his personal pleasures include making wine, playing poker, skiing, camping, and daydreaming (although not all of those at the same time.) Nothing he says on this blog should be construed as having anything to do with his employer or his dog.


Recent Comments

Recent Posts

Other Information

The use of Occam's razor on this website is strickly prohibited.

Cows are well approximated by a sphere.
rss.jpg   Subscribe to RSS feed

« Quantum Hoops | Main | Embarassment Is... »

ArXiv PDF Mime Fix for Firefox 2.0

Category: Self: Meet Center. Center: Meet Self.Technology
Posted on: March 31, 2008 10:18 AM, by Dave Bacon

Share:

As part of my switching to a Mac, I've started using Firefox (one reason being that I'm investigating using Zotero for grabbing bibliographic citations from the web.) However, an annoying problem I encounter was when using Firefox and downloading pdfs from the arXiv. The problem was that Firefox failed to recognize the files as pdf files and thinks the pdf for arxiv XXXX.YYYY was a file of type YYYY. Note that this isn't just a problem of downloading any old pdf, but specifically pdfs from the arxiv. I've now figure out how to fix this.

The problem, as was hinted at by a commenter was with the mime types. To fix this I proceeded as follows.

  1. Download and install the Firefox plugin MIME Edit (I have version 0.60.)
  2. After restarting Firefox, you can now edit Mime types by going to Tools->MIME Edit...
  3. Upon tabbing to edit in the MIME Edit Preferences window, you should delete any "application/pdf" file types, and then recreate one with MIME Type "application/pdf" and extension "pdf". You should then select what to do with this file type.

Share this: Stumbleupon Reddit Email + More

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/68215

Comments

1

Wow! Thanks Dave - what version of Firefox are you using though? I am on 3.0 beta 4 and the MIME editor doesn't appear compatible.

Posted by: dan | March 31, 2008 11:27 AM

2

I'm using FireFox 2.0.0.13.

Posted by: Dave Bacon | March 31, 2008 11:35 AM

3

Cool. Let me know how zotero works for you. I'm also trying it out. In regards to the arXiv, at some point I remember a rant which used to be in their help section regarding .pdf and mime types. I'm curious, is arxiv.org just screwing it up or is it everyone else who's wrong?

Posted by: A | March 31, 2008 12:48 PM

4

I stumbled upon zotero a while back (from your blog perhaps) and seriously think it's the most useful tool on my computer. Don't just think of Zotero for getting citations (which it does very well); to me the main feature is the ability to store the paper as an attachment to the bibliographic record. No more fumbling around with folders of papers, the names of which invariably never quite capture how you want to organize things! Dump it all into zotero and search for what you want.

Posted by: Joe | March 31, 2008 1:35 PM

5

Nice information

Posted by: getnutri | April 1, 2008 5:05 AM

6

my earlier comment on zotero was eaten, but I thought I'd try again --- basically, I wanted to point out that, imho, zotero's real power is not (just) getting bib data from the web, but the ability to store the paper as an attachment to the item record.

You can specify where zotero saves these files, and the bib data and links are stored in a sqlite database for fast searching, etc. No more haphazard folder naming schemes for papers you never bother to file anyway (well, I never did)!

I should also mention the fact that you can create a "subcollection" of all the item records you have and then spit out a bibtex file just for these...

Posted by: Joe | April 2, 2008 11:37 AM

7

Update:

It seems that the source of this bug is the following problem:

Arxiv.org does not like Macs! :-O

Fortunately, there is an easy work around: Using the UserAgent Switcher extension, you fool arxiv.org into thinking your web-browser is running Windows.

Then the PDF download problem goes away! No MIME type hackery is needed.

The technical reasons for this are explained in this thread:
http://forums.mozillazine.org/viewtopic.php?p=3322008

Posted by: dan | April 4, 2008 6:04 AM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Enter to win a free copy of The Monty Hall Problem
Visit the Collective Imagination blog
Advertisement
Collective Imagination

© 2006-2009 Seed Media Group LLC. ScienceBlogs is a registered trademark of Seed Media Group. All rights reserved.

Sites by Seed Media Group: Seed Media Group | ScienceBlogs | SEEDMAGAZINE.COM