Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Link to searches is missing domain

by jdporter (Canon)
on Dec 29, 2012 at 19:49 UTC ( #1010844=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Link to searches is missing domain
in thread Link to searches is missing domain

It's an absolute URL, and it's missing the domain.

Actually, the semantics of a URL depend entirely on the scheme. I recommend you read up on URI scheme.
In this case, the scheme is href, which is one we've defined here at PerlMonks; its semantics do not include the specification of a domain.
It seems that you were assuming that the semantics of href should and must be identical to those of http. That assumption is incorrect.

... since a piece of text is not specifically tied to a page.

I'm having trouble making sense of that statement.

the URL it prints simply does not work.

Odd. You're the first and only person to have problems with it.

Wait -- Did you trying putting it directly in your browser address bar? Of course that won't work. It needs to be interpreted by the PerlMonks rendering engine. To do that, you must insert the link (including the square brackets) in the text of a post or cb message.

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


Comment on Re^3: Link to searches is missing domain
Select or Download Code
Re^4: Link to searches is missing domain
by Anonymous Monk on Dec 30, 2012 at 03:57 UTC
    Or http://perlmonks.org/?node=href://....

      Yeah, actually that both doesn't work and would (if it did work) break the domain-preserving nature of href://.

Re^4: Link to searches is missing domain (search)
by tye (Cardinal) on Dec 31, 2012 at 06:58 UTC
    you must insert the link (including the square brackets) in the text of a post or cb message

    Or paste that (with or without the square brackets) into the Search box at PerlMonks.

    - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-07-22 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (119 votes), past polls