Skip to content
Prev 7461 / 21312 Next

[Bioc-devel] Short URLs for packages?

----- Original Message -----
We came up with something close to this, but it does include the /packages/ segment because we think that's important.


http://bioconductor.org/packages/BiocGenerics/

- takes you to the release landing page, unless the package is only in devel, in which case it takes you to
  the devel landing page (which will contain suitable warnings/instructions about installing the devel version).

You can also specify 'devel' or 'release' or a numbered Bioconductor version:

http://bioconductor.org/packages/devel/BiocGenerics/
http://bioconductor.org/packages/release/BiocGenerics/
http://bioconductor.org/packages/3.2/BiocGenerics/
http://bioconductor.org/packages/3.1/BiocGenerics/
http://bioconductor.org/packages/3.0/BiocGenerics/
...

(The trailing slashes are optional in all of these).

These are redirects and not forwards; that is, if you enter one of these short URLs, it won't remain in your browser's address bar but will change to one of the longer URLs. So they are sort of ephemeral in this way.

We looked into doing these as forwards (i.e., short URL remains in address bar, but content from 'long' URL is served), which seems more useful, but there were too many problems with that; it breaks relative URLs and more importantly it breaks our mirrors which do not necessarily have the same content root as our web site. 

At any rate, the short URLs can be used in publications and other sites, and they are useful as a permanent link to the current release version of a package. We have added information about these short URLs to the emails we send to new package developers, so that they can use them in publications that reference their packages.

Thanks,
Dan
Message-ID: <626815634.1703379.1430244527739.JavaMail.root@fredhutch.org>
In-Reply-To: <36576_1427106043_550FE8FB_36576_5891_1_2C055D60-3886-4E09-ACF3-C68DA252A31F@embl.de>