in reply to Re: Proposal - Update shortcuts pointing to cpan.org to link to mcpan.org
in thread Proposal - Update shortcuts pointing to cpan.org to link to mcpan.org

> but I doubt it takes into anchors, and the anchors between metacpan.org and search.cpan.org aren't portable

Why exactly are deep links not portable?

For example this CONFIGURATION of Data::Dump translates w/o problems.

Please elaborate further!

Cheers Rolf

(addicted to the Perl Programming Language)

  • Comment on Re^2: Proposal - Update shortcuts pointing to cpan.org to link to mcpan.org

Replies are listed 'Best First'.
Re^3: Proposal - Update shortcuts pointing to cpan.org to link to mcpan.org
by Anonymous Monk on Jun 04, 2014 at 07:02 UTC
      Thanks, I can see clearer now.

      I agree that [mod://...#deeplink] is broken, (why on hell is the # escaped ?)

      I didn't see that before (also partly b/c my nodelet hack automatically redirected them)

      But beside the broken PM-tag are deep-links to headings quite consistent ( seems only whitespace in anchors is - here and _ there)

      Talking about deep-links to items ...

      ... well I ignored their existence. Never seen them used and I agree with tobyinc to avoid them b/c of inconsistencies.

      In CPAN you need to read the source to find them, cause they are not indexed in the TOC. So almost nobody would link them.

      METACPAN has a CSS trick to show those hidden anchors on mouseover. AND I agree that the naming scheme is not very reliable. BUT this should only be a problem when translating from META to CPAN.

      So in short, "secret" deep-links should be avoided anyway and translating heading-anchors shouldn't be a problem, but the [mod://] markup is broken anyway.

      Cheers Rolf

      (addicted to the Perl Programming Language)