Skeptic Friends Network

Username:
Password:
Save Password
Forgot your Password?
Home | Forums | Active Topics | Active Polls | Register | FAQ | Contact Us  
  Connect: Chat | SFN Messenger | Buddy List | Members
Personalize: Profile | My Page | Forum Bookmarks  
 All Forums
 Website Related
 Feature Suggestions
 TinyURL tool
 New Topic  Reply to Topic
 Printer Friendly Bookmark this Topic BookMark Topic
Author Previous Topic Topic Next Topic  

HalfMooner
Dingaling

Philippines
15831 Posts

Posted - 01/20/2012 :  21:30:10  Show Profile Send HalfMooner a Private Message  Reply with Quote
How about a TinyURL button here to help with pesky pasted URLs that don't work here? (Especially Wiki URLs that contain parentheses.) TinyURL has code to paste on their front page, but it may just link to their front page.

Or, even better, an automatic converting tool that creates URL code that SFN software can use?

Biology is just physics that has begun to smell bad.” —HalfMooner
Here's a link to Moonscape News, and one to its Archive.

Dave W.
Info Junkie

USA
26021 Posts

Posted - 01/21/2012 :  07:16:36   [Permalink]  Show Profile  Visit Dave W.'s Homepage Send Dave W. a Private Message  Reply with Quote
It would have been nice if the designers of Snitz Forums had left some comments as to why they forbade the use of parentheses in URLs, when per RFC 1738 they are perfectly acceptable, neither reserved nor unsafe with respect to HTML. The authors of our software may have just made a mistake, or they may have known of some exploit involving parentheses allowing hackers to do nasty things of which I am unaware. Since encoding parentheses isn't difficult (left-paren is %28 and right-paren is %29) and the latter possibility above represents an unacceptable risk, I am unwilling to change the code to allow them (which would be the easiest solution).

But that's just parentheses. The next most-common problem I run into when pasting URLs into posts here is with URLs that contain other URLs. Snitz tries to automatically convert the embedded URLs to links, but because it has already converted the full URL to a link by that point, the result is just a mess. Snitz auto-converts when it finds "http://" or "www." not preceded immediately by the HTML link code, leading to situations like the link you'll find in the following:
Eeeeuuuuwww....
The solution is again encoding. One can change one of the Ws to a %77 within a URL, and one of the Ts to a %74, giving "ht%74p://" and "ww%77." when used inside of URLs (to foil the automatic link-maker when not making a link, just stick a do-nothing tag, "[]" into your text, like so: "Eeeeuuuuw[]ww....").

The automatic link-maker could certainly be smarter, and we could eliminate this problem, but that code is rather complex.

Or, TinyURL works for both issues. It might be possible for an HTML guru to create a space for one to paste a URL, click a button and have the results of TinyURL automatically pasted into a post here (or at least displayed in a new window for copying-and-pasting), but I am not an HTML guru.

- Dave W. (Private Msg, EMail)
Evidently, I rock!
Why not question something for a change?
Visit Dave's Psoriasis Info, too.
Go to Top of Page

HalfMooner
Dingaling

Philippines
15831 Posts

Posted - 01/21/2012 :  08:26:26   [Permalink]  Show Profile Send HalfMooner a Private Message  Reply with Quote
Thanks for taking the idea seriously.

Coming up with the formless idea itself is sort of like the scientist who proves some breakthrough technology like laser-boosted starship sails is not physically impossible, and then asserts, "The rest is merely engineering." But the devil's always in the "mere engineering" details.

Biology is just physics that has begun to smell bad.” —HalfMooner
Here's a link to Moonscape News, and one to its Archive.
Go to Top of Page

Dr. Mabuse
Septic Fiend

Sweden
9687 Posts

Posted - 01/21/2012 :  17:47:45   [Permalink]  Show Profile  Send Dr. Mabuse an ICQ Message Send Dr. Mabuse a Private Message  Reply with Quote
Would it be unsafe to insert a subroutine which converts parenthesis to their encoded counterpart, before the link is processed by the Snitz-software?

Dr. Mabuse - "When the going gets tough, the tough get Duct-tape..."
Dr. Mabuse whisper.mp3

"Equivocation is not just a job, for a creationist it's a way of life..." Dr. Mabuse

Support American Troops in Iraq:
Send them unarmed civilians for target practice..
Collateralmurder.
Go to Top of Page

Dr. Mabuse
Septic Fiend

Sweden
9687 Posts

Posted - 01/21/2012 :  17:54:35   [Permalink]  Show Profile  Send Dr. Mabuse an ICQ Message Send Dr. Mabuse a Private Message  Reply with Quote
For coding characters, please have a look at my article in the Q & A section,
HOWTO: Fix broken links due to exotic characters.

It's a sticky so you should find the article at the top of the list of threads if you go there without following the link above.

Dr. Mabuse - "When the going gets tough, the tough get Duct-tape..."
Dr. Mabuse whisper.mp3

"Equivocation is not just a job, for a creationist it's a way of life..." Dr. Mabuse

Support American Troops in Iraq:
Send them unarmed civilians for target practice..
Collateralmurder.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly Bookmark this Topic BookMark Topic
Jump To:

The mission of the Skeptic Friends Network is to promote skepticism, critical thinking, science and logic as the best methods for evaluating all claims of fact, and we invite active participation by our members to create a skeptical community with a wide variety of viewpoints and expertise.


Home | Skeptic Forums | Skeptic Summary | The Kil Report | Creation/Evolution | Rationally Speaking | Skeptillaneous | About Skepticism | Fan Mail | Claims List | Calendar & Events | Skeptic Links | Book Reviews | Gift Shop | SFN on Facebook | Staff | Contact Us

Skeptic Friends Network
© 2008 Skeptic Friends Network Go To Top Of Page
This page was generated in 0.06 seconds.
Powered by @tomic Studio
Snitz Forums 2000