Graham Barr wrote:
[...]
So in documentation pods one can say something like:

  When you use Apache::Request
  (L<http://search.cpan.org/whatever?Apache::Request>) bla bla...

and the user clicking on this link will be taken to
http://search.cpan.org/~joesuf/libapreq-1.3/
and from there he can decide to read the docs or download the distro or do other things.


That URL in my docs will always work correctly even if the author or version numbers change.

I'd suggest that search.cpan.org will have a new option 'direct' in addition to module, dist, author and all. So that http://search.cpan.org/search?query=Apache::Request&mode=direct will take me direct to the distro containing this package?


Ick!. /search is for "searching" not for direct links. Any direct link should have a different URL IMO.

Agreed, I just want to be able to get this link automatically. So as I suggested in the other followup, having search return a link to the distro that one can copy-n-paste to their docs, will be very helpful. Usually you don't care about the distro name (which can also change), but about a specific package that you refer to, but want to send users to the latest distro containing that package.


I will add this type of link to my todo list.

Thank you, Graham.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to