On Mon, Feb 24, 2014 at 2:22 AM, Hervé Pagès <hpages@fhcrc.org> wrote:

> Hi,
>
>
> On 02/23/2014 03:58 AM, Sean Davis wrote:
>
>> On Sun, Feb 23, 2014 at 12:32 AM, Henrik Bengtsson <hb@biostat.ucsf.edu
>> >wrote:
>>
>>  Analogously to CRAN URL "shortcuts, e.g.
>>>
>>>    http://cran.r-project.org/package=digest
>>>
>>> expanding to
>>>
>>>    http://cran.r-project.org/web/packages/digest/index.html,
>>>
>>> it would be neat if Bioconductor would support something similar, e.g.
>>>
>>>    http://bioconductor.org/package=Biostring
>>>
>>> expanding to
>>>
>>>    http://bioconductor.org/packages/release/bioc/html/Biostrings.html
>>>
>>
> Should we also provide a short URL like this for annotation and
> experiment packages? For these packages the current permanent URL
> is even longer:
>
>
> http://bioconductor.org/packages/release/data/
> annotation/html/org.Hs.eg.db.html
>
> http://bioconductor.org/packages/release/data/
> experiment/html/affydata.html
>
>
>
>>> Here is a .htaccess RewriteRule (not tested):
>>>
>>>    RewriteRule ^package=(.*)$ packages/release/bioc/html/$1.html [NC,L]
>>>
>>> The main purpose is to be able to use shorter URLs in texts; the
>>> current ones can sometimes occupy a complete line of text.
>>>
>>>
>> I kinda like this idea, also.  I would consider slightly breaking the
>> analogy with CRAN, though, and not use the "=" sign and just use another
>> slash.
>>
>> http://bioconductor.org/package/Biostrings
>>
>
> Sounds good to me. I wonder if this shouldn't actually be made the
> final URL instead of an URL that redirects to the final URL. People
> often copy/paste the URL that shows up in the address bar of their
> browser to share it with others. So if there is a redirect, the
> long URLs are more likely to be used and shared. But if there is
> not, the short URLs are more likely to be used and shared.
>

Hi, Hervé.

URL rewriting is done on the backend web server, so there is not a
"redirect" but simply a "rewrite".  The end result is that the web server
searches on the disk for the long URL while the short URL ends up in the
browser--sort of a "best of both worlds".

I agree that having all package URLs rewritten is a good idea and preserves
some symmetry.

As I think about this more, it seems like /packages, then, ought to lead to
a "list" of packages, perhaps landing here:

http://www.bioconductor.org/packages/release/BiocViews.html

Before going forward, this might require a little thought by the
bioconductor team as to how to deal with versions of Bioc.

Sean


>
> H.
>
>
>> Sean
>>
>>
>>
>>> Just a suggestion/wish
>>>
>>> Henrik
>>>
>>> _______________________________________________
>>> Bioc-devel@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>>
>>>
>>         [[alternative HTML version deleted]]
>>
>>
>> _______________________________________________
>> Bioc-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>
>>
> --
> Hervé Pagès
>
> Program in Computational Biology
> Division of Public Health Sciences
> Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N, M1-B514
> P.O. Box 19024
> Seattle, WA 98109-1024
>
> E-mail: hpages@fhcrc.org
> Phone:  (206) 667-5791
> Fax:    (206) 667-1319
>
>
> _______________________________________________
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]

