idea: <package>-latest URLs for Hackage
It's very convenient to have a persistent URL linked to latest version. GHC user manual has this(https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/) and you can create a bookmark with that URL and it stays up-to-date, it appears in first place in Google queries etc. I'm wondering why not implement this for Hackage too? For example, hackage.haskell.org/package/base-latest, hackage.haskell.org/package/base-latest/docs/<module-name>.html etc. Any ideas?
I believe Hackage already supports urls like that if you leave the version out: http://hackage.haskell.org/package/base/docs/Control-Monad.html This automatically redirects you to the latest version. The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following http://hackage.haskell.org/package/base for example.) I'm not sure if this is an intentional design or just a quirk of the implementation. One thing to keep in mind: how would you handle "latest" URLs for modules that have since been removed from the package? Presumably, we'd still want something showing up in Google results or if people follow an old link, after all. On Jul 9, 2015 2:46 PM, "Ömer Sinan Ağacan" <omeragacan@gmail.com> wrote:
It's very convenient to have a persistent URL linked to latest version. GHC user manual has this(https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/) and you can create a bookmark with that URL and it stays up-to-date, it appears in first place in Google queries etc.
I'm wondering why not implement this for Hackage too? For example, hackage.haskell.org/package/base-latest, hackage.haskell.org/package/base-latest/docs/<module-name>.html etc.
Any ideas? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
On Thu, Jul 9, 2015 at 5:54 PM, Tikhon Jelvis <tikhon@jelv.is> wrote:
The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following http://hackage.haskell.org/package/base
for example.)
My understanding is that Hackage is using a link tag that Google claims should work... but in practice does not. I think latest urls are being actively considered as an alternative, if I understood the discussion properly. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
I'd personally rather have a little link on all-but-latest package pages like "This is an older version. Jump to latest." This would solve the annoying "google shows old versions" problem and also would be convenient for when someone does actually want to link to a specific version, but don't want novices-of-the-future to not realize they're looking at old docs. Tom El Jul 9, 2015, a las 17:56, Brandon Allbery <allbery.b@gmail.com> escribió:
On Thu, Jul 9, 2015 at 5:54 PM, Tikhon Jelvis <tikhon@jelv.is> wrote:
The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following http://hackage.haskell.org/package/base
for example.)
My understanding is that Hackage is using a link tag that Google claims should work... but in practice does not. I think latest urls are being actively considered as an alternative, if I understood the discussion properly.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
I use the hackage-fu browser extension for this. It does a pretty good job, while we wait for a proper solution! https://chrome.google.com/webstore/detail/hackage-fu/ <https://chrome.google.com/webstore/detail/hackage-fu/> - Tim
On 11 Jul 2015, at 13:29, amindfv@gmail.com wrote:
I'd personally rather have a little link on all-but-latest package pages like "This is an older version. Jump to latest."
This would solve the annoying "google shows old versions" problem and also would be convenient for when someone does actually want to link to a specific version, but don't want novices-of-the-future to not realize they're looking at old docs.
Tom
El Jul 9, 2015, a las 17:56, Brandon Allbery <allbery.b@gmail.com <mailto:allbery.b@gmail.com>> escribió:
On Thu, Jul 9, 2015 at 5:54 PM, Tikhon Jelvis <tikhon@jelv.is <mailto:tikhon@jelv.is>> wrote: The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following http://hackage.haskell.org/package/base <http://hackage.haskell.org/package/base> for example.)
My understanding is that Hackage is using a link tag that Google claims should work... but in practice does not. I think latest urls are being actively considered as an alternative, if I understood the discussion properly.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com <mailto:allbery.b@gmail.com> ballbery@sinenomine.net <mailto:ballbery@sinenomine.net> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net <http://sinenomine.net/>_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org <mailto:Haskell-Cafe@haskell.org> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe <http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
That link doesn't work. https://chrome.google.com/webstore/detail/hackage-fu/dnpldbohleinhdgfnhlkofp... On Sat, Jul 11, 2015 at 12:30 AM, Timothy Humphries <tim@utf8.me> wrote:
I use the hackage-fu browser extension for this. It does a pretty good job, while we wait for a proper solution!
https://chrome.google.com/webstore/detail/hackage-fu/
- Tim
On 11 Jul 2015, at 13:29, amindfv@gmail.com wrote:
I'd personally rather have a little link on all-but-latest package pages like "This is an older version. Jump to latest."
This would solve the annoying "google shows old versions" problem and also would be convenient for when someone does actually want to link to a specific version, but don't want novices-of-the-future to not realize they're looking at old docs.
Tom
El Jul 9, 2015, a las 17:56, Brandon Allbery <allbery.b@gmail.com> escribió:
On Thu, Jul 9, 2015 at 5:54 PM, Tikhon Jelvis <tikhon@jelv.is> wrote:
The problem, then, is visibility both to users and to Google. Since it's an actual redirect, your URL bar will show the specific version when you follow the link. The version number will also show up if you copy the URL from one of the links on the contents page even if you got there without specifying a version. (By following http://hackage.haskell.org/package/base
for example.)
My understanding is that Hackage is using a link tag that Google claims should work... but in practice does not. I think latest urls are being actively considered as an alternative, if I understood the discussion properly.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
This is already possible with hackage, I believe. See: https://hackage.haskell.org/package/base https://hackage.haskell.org/package/lens Cheers, Ben On Fri, 10 Jul 2015 at 07:46 Ömer Sinan Ağacan <omeragacan@gmail.com> wrote:
It's very convenient to have a persistent URL linked to latest version. GHC user manual has this(https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/) and you can create a bookmark with that URL and it stays up-to-date, it appears in first place in Google queries etc.
I'm wondering why not implement this for Hackage too? For example, hackage.haskell.org/package/base-latest, hackage.haskell.org/package/base-latest/docs/<module-name>.html etc.
Any ideas? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (7)
-
amindfv@gmail.com -
Ben Kolera -
Brandon Allbery -
Joe Hillenbrand -
Tikhon Jelvis -
Timothy Humphries -
Ömer Sinan Ağacan