buildingfirefoxos / Building-Blocks

Reusable components for Firefox OS
Other
292 stars 97 forks source link

Suggestion: a more friendly URL to the zip file for Fira Sans? #15

Closed kevinSuttle closed 10 years ago

kevinSuttle commented 10 years ago

I may be barking up the wrong tree here, but in short, hosting the publicly downloadable files on Box gives nearly unusable URLs for the direct links.

Allow me to provide some context. I'm attempting to add Fira to homebrew-cask's font repo at https://github.com/caskroom/homebrew-fonts, which allows users to download and install fonts from the command line.

Here's an example file: https://github.com/caskroom/homebrew-fonts/blob/master/Casks/font-source-sans-pro.rb

The address given on the Fira Typeface page is a convenience URL that takes the user to a download page: https://mozilla.box.com/s/4dhgg18ybvlqojoi10zw

The direct link is

https://dl.boxcloud.com/bc/2/2dd8dfd76cc49aa8aa38833d94d38f40/oxsr6n5bVQhyic6N7TfrMf0sVTkQUOBIH0HsZBGRDI0si84Chpt_3ZjzaZYMPOwbyyATOQjCMtuz5i34lvwOP6jpszWlLv8WEdznyZPTapEL7jhsMH-dydGXCG7uH9b3oAP7jkXgaUO2k-1Qz1gBVmHEBw0D4q0oEnYMytv70dHUDhaA9cvIdhSFLIX4G02LEO_7eN1Ejro7hHZYHl4AQ7zdRcORXq1O4hZjTyk4euhn5w__6RtEwHVun-CD5A40jHEl7L1jbhrvCev9t5_cuJB2Xd2thFDQ2LxgxdSjtwmk59sc9drmGpIcLr9zbXhYiDFJG_qnFTjdL9MyNlqBy7PbSD0e5YcSQxZdcH5DLHIReMPNB1V17dFB4vfNtkfIQPpvIB74a-r4Vt3Tw9qhSCwhsIT7tifx6p42OWJH-uEfa0Lfqnd9zQqKA4UtSmVU92QegSNM5sJ1ajS7PxL4tRloS7gS4dItpGGYimgXQ6QlayacVdkAdnnfTvjqHkA6kxTCwOn03bEiYrveljqmHxS0JUpCZXcJtdvuvlw3wKvleOWK3slCIjUi1xW3CIjKQes27j_v6FYkXDVoI1Z8hgDU_ijGxISjlBrsKGWMsrlCNfwbCPuf8uLVhsSYca7XEdsnEqoV05kIQHucfHThTKTa31fvwmqo41uQe5z65t87y53cHVDzp3aeS_6SPyXFRw8m5TEOSbTDQOGvOF8sAm6wnqEu_d7FpNqJ7Wkd6IzNecQB7iAsOOgZhg_zzvSL/0d13d936d57721f3f26072d688ec5be79da7845e5269daf0c322526e58f64e83/

(currently—I expect these long URLs are tokenized and expire, making it even harder to download)

But, you can't actually go to that URL. You get an error message:

The link you're trying to access can't be used to share files. Please ask the file owner to provide you with a shared link instead. Contact Box Support if you need help.

kevinSuttle commented 10 years ago

https://github.com/caskroom/homebrew-fonts/commit/793c6a86f99c5210785923187383e82015882142