Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Bookmarklet to show deeplinks in perldoc.perl.org

by jdporter (Paladin)
on Jun 17, 2019 at 15:25 UTC ( [id://11101481]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Bookmarklet to show deeplinks in perldoc.perl.org
in thread Bookmarklet to show deeplinks in perldoc.perl.org

If switching means that old doc-links will refer to perldoc.pl I'm not sure if URL paths are consistent.

OTOH, not switching would have the same problem, as perldoc.perl.org is messing with their own stuff.

But I'm not sure this is in fact a problem. [doc://open] has no URL paths.

direct auto-linking of bare http-URLs.

I have no idea what that means. Can you clarify? TIA.

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

Replies are listed 'Best First'.
Re^5: Bookmarklet to show deeplinks in perldoc.perl.org
by LanX (Saint) on Jun 17, 2019 at 16:26 UTC
      the #hash part for deep-linking to anchors

      Oh... So you're not talking about path parts. You're talking about fragment parts — URI parts

      So in some sense this is a form of link rot. I think there will always be some risk of this, since we don't have any control over how any external web site manages their anchors — nor indeed their paths — nor indeed even the domain names.

      It's the nature of the beast. People put external links in their posts; ten years later those links don't work. We just have to live with the risk.

      In general, I'd prefer to stay with perldoc.perl.org, since it is "official". I think we'd need a really compelling reason to switch to something else. Like we did with MetaCPAN.

      I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
        > You're talking about fragment parts — URI parts

        the terminology varies depending on the source. the JS function to extract the fragment is called Location.hash()

        > this is a form of link rot.

        It's also varying with the version ° of perldoc. Strictly speaking we'd need to keep the version information too.

        > In general, I'd prefer to stay with perldoc.perl.org

        I'm fine with this but facilitating deep-linking would help posting ...

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        °) well better not

        > In general, I'd prefer to stay with perldoc.perl.org, since it is "official"

        Well official is the release, we used to have our own, now totally outdated, copy.

        Like split

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11101481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found