Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Auto adding domain to urls in posts

    Qt.io webservices
    3
    6
    2468
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DenisKormalev last edited by

      Now domains are added to all urls. Maybe it will be better to add them only to that links, that contain description, not url itself?
      For example, this looks strange:
      "google.com":http://google.com
      But in this two cases it of course helps:
      "http://some-good-site.com":http://some-bad-site.com
      "Solution for your problem":http://some-spam-site.com

      1 Reply Last reply Reply Quote 0
      • F
        Franzk last edited by

        Isn't the whole idea of the system to hide the actual url to improve readability? As far as I know all browsers have a status bar that shows the target of the link you're hovering over. I think people here are smart enough to check the url (or referrer) before they click a link.

        "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • M
          mgran last edited by

          In addition to adding the domains in brackets we also enabled auto linking. Links that are linked up automatically doesn't get the brackets but all links added by textile code (or the link button) gets the domain added in brackets.

          http://developer.qt.nokia.com/forums/viewthread/1756/ (auto linked)

          "http://developer.qt.nokia.com/forums/viewthread/1756/":http://developer.qt.nokia.com/forums/viewthread/1756/ (linked using the link button)

          "this thread":http://developer.qt.nokia.com/forums/viewthread/1756/ (linked using the link button)

          Having link domains in brackets adds a level of confidence when surfing around the forums and the wiki. I'm sure we're clever enough to avoid accidents most of the time, this feature is here to help out when we're lazy or just eager to get going. :)

          Project Manager - Qt Development Frameworks

          1 Reply Last reply Reply Quote 0
          • D
            DenisKormalev last edited by

            Marius, I'm agreed with pros of this feature. But what about my suggestion? Sometimes it looks really weird.

            1 Reply Last reply Reply Quote 0
            • F
              Franzk last edited by

              It kind of makes sense to do a little check when the shown domain is equal to the actual domain. You don't need to add the actual domain then.

              "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • M
                mgran last edited by

                @Denis, Franzk: Adding Franzk logic sounds like a good idea, I'll check with the team.

                Project Manager - Qt Development Frameworks

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post