hnarayanan / femtable

Web rendition of the periodic table of the finite elements.
http://www-users.math.umn.edu/~arnold/femtable/
7 stars 5 forks source link

downloaded file name should be something "normal" #41

Closed dnarnold closed 10 years ago

dnarnold commented 10 years ago

It would probably be better if the file that got downloaded when the user clicked "Download" was named something sensible. Maybe the full periodic-table-of-the-finite-elements.pdf or maybe something shorter like ptfe.pdf or femtable.pdf, but not d5e13229.periodic-table-of-the-finite-elements.pdf .

BTW I think that Anders and I will probably want to create a download page, so that when the user clicks "Download" they get to a page that both offers the PDF download, but also explains how to get a printed copy, but we are not ready for that yet.

hnarayanan commented 10 years ago

I have changed this to something more human-friendly, i.e. http://femtable.org/femtable.pdf

Philosophical aside: The earlier garbled naming was my build system inserting a portion of the git-revision hash alongside all assets, including all images and this pdf. The idea was that as I was revving images etc., the new web page always pointed to the most recent images, forcibly invalidating browser caches that are sometimes overly aggressive. Now that the updates to the images have stabilized, I've removed this revision-hash-adding step of the build system, which cleans up all the URLs, also allowing for clean access to things like http://femtable.org/images/large/P1_tetrahedron.png if you need to use them for whatever reason elsewhere.

Now, the reason I am telling you all this :) is that I still have a few more images to replace to match their fixed versions as you've pointed out elsewhere. So when I next report I've fixed those images by replacing them, please refresh your browser a few times to ensure it has the most up-to-date version of the site/images before reporting additional bugs.