Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Perlmonks 'Not logged in Error' - Proposal for fix (link render)

by LanX (Saint)
on Jan 20, 2013 at 20:42 UTC ( [id://1014327]=note: print w/replies, xml ) Need Help??


in reply to Re: Perlmonks 'Not logged in Error' - Proposal for fix (link render)
in thread Perlmonks 'Not logged in Error' - Proposal for fix

> How about having [http://(www\.)?perlmonks.(org|net|com)/(.+)] be rendered the same as [href:///$2] ? The next step would then be to filter <a href=...> similarly (such are already fully parsed and so can be reliably filtered).

Practically the server side equivalent of my nodelet hack? If it's easily feasible it's IMHO the best over all idea.

You may want to consider an exception rule (like #no_redirect at the end of the URL) to allow people to hard-link domains w/o conversion.

Cheers Rolf

Replies are listed 'Best First'.
Re^3: Perlmonks 'Not logged in Error' - Proposal for fix (link render)
by tmharish (Friar) on Jan 21, 2013 at 03:42 UTC
    Practically the server side equivalent of my nodelet hack?

    IMHO the difference is that in the nodelet hack the load is distributed amongst the clients whereas otherwise its taken up by the server. ( A good thing )

    But considering that this entire thing might be something that newbies will find useful, it might make sense to have it as part of some default JS loaded.

    A server side redirect though, will cause less load and will solve this even for those accessing the site through some automated means. ( other than through a browser )

Re^3: Perlmonks 'Not logged in Error' - Proposal for fix (exception)
by tye (Sage) on Jan 21, 2013 at 07:07 UTC
    You may want to consider an exception rule (like #no_redire­ct at the end of the URL)

    That's actually why I didn't include (:80)? in the proposed regex.

    - tye        

      Yep (:80)? sounds good!

      Cheers Rolf

Log In?
Username:
Password:

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

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

    No recent polls found