Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by LanX (Canon)
on Jan 20, 2013 at 20:42 UTC ( #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


Comment on Re^2: Perlmonks 'Not logged in Error' - Proposal for fix (link render)
Select or Download Code
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 (Cardinal) 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
Node Status?
node history
Node Type: note [id://1014327]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-10-02 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (52 votes), past polls