Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Automatic links

DariusDarius Posts: 1,666Member
It would be nice if there was an option to turn off automatic links (e.g. www.someurl.com will be made into a link). I'd say most of the time it's a nice touch, but sometimes it's a nuisance and sometimes an outright problem. It's a nuisance when you are just referring to a url. For example, I don't actually want someone to go to www.someurl.com, it may be a site. Heck, it may be a site of questionable content :P. It's a problem when you are writing HTTP protocol stuff (and other protocols). For example, every HTTP/1.1 message must include a Host field. The format is Host: url. If I'm writing an example of getting a webpage at the socket level (which I've done more than once, well related things) then I'd probably write something like... socket.write("GET /index.html HTTP/1.1
Host: www.someurl.com

");. However, Programmers Heaven will change the url to be http://www.someurl.com which is incorrect. It even does this in code blocks. I would prefer an option rather than just having code blocks protected as even things like HTTP/1.1 are mangled and I'd rather not have to try [ code] around it just to type it.

[code]
www.test.com
[/code]

"We can't do nothing and think someone else will make it right."
-Kyoto Now, Bad Religion

Comments

  • WEBMASTERWEBMASTER Posts: 549Member
    Thanks for the feedback, I will see what I can do about that.





    [blue][italic][b]/WEBMASTER[/b][/italic][/blue]

  • DariusDarius Posts: 1,666Member
    [b][red]This message was edited by Darius at 2002-11-26 14:53:52[/red][/b][hr]
    : Thanks for the feedback, I will see what I can do about that.
    :
    :
    :
    :
    :
    : [blue][italic][b]/WEBMASTER[/b][/italic][/blue]
    :
    :

    Adding [link] [/link] tags, may be a good suggestion. It would go along with my suggestion of turning off automatic linking by allowing links to be explicitly placed and clearly marked. Also, it would help when PH doesn't quite get it right (and would keep you from making intricate code to try to get it right without false positives). A simple example, that isn't really helpful where PH fails is gcc.gnu.org. This can easily be fixed by http://gcc.gnu.org. Another that probably is very difficult to fix (without getting false positives) happens with some complex query strings. I'll find an example.

    http://www.somesite.com/index.html. This is one problem (note the .)
    http://www.amd.com/us-en/Processors/ProductInformation/0,,30_118_1274_3734,00.html

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion



Sign In or Register to comment.