UBB code [url] problem

Status
Not open for further replies.

kampers

Ars Scholae Palatinae
917
I've got a post, here:

http://episteme.arstechnica.com/eve/forums?q=Y&a=tpc&s=50009562&f=34709834&m=651092171&p=2

As you can see, I've got quite a non-functioning link. I think it could be because there's an accidental space in the link -- but when i edit the post, it changes anything successfully except the space. Ugh, can this be fixed? Is this a "feature, not a bug?" :confused:
 

Richard Berg

Ars Legatus Legionis
43,037
Subscriptor
Obviously, at least from what I can see, it _should_ render as a link, ie you're doing everything correctly (now).

It's known that editing + links = badness, but I don't think this particular bug has been reported yet. Thanks for the heads-up.

Or maybe the URL= feature doesn't support secure links (https://etc)? The way the text->link feature doesn't support FTP's? On second thought that wouldn't make much sense, as I can do mailto: and so forth with the URL= feature, but I'll leave my rambling thoughts here just in case.
 

qball

Ars Tribunus Militum
2,238
I bet'cha that this is related to the auto break in lines that are too long as we saw in the other thread. Someone actually asked about long URLs and I think this might be our answer. I think it should be noted that links this long are not uncommon, especially when you consider that all the markup for a link usually makes for one long string with no spaces that the parser eats for breakfest.

-Q
 

Richard Berg

Ars Legatus Legionis
43,037
Subscriptor
That's about what I would've expected, Caesar.

I don't know if this was ever reported as a set of bugs, as it was in the middle of a rather silly thread. So here's a cut-n-paste:

Testing the built-in link generator
www.arstechnica.com
"www.arstechnica.com" is a great site
www.arstechnica.com, a great site
I like www.arstechnica.com.
www.arstechnica.com- a great site.

arstechnica.infopop.net
"arstechnica.infopop.net" is the new forum.
I like arstechnica.infopop.net.

ftp.cdrom.com
Will it do ftp.cdrom.com?
ftp.cdrom.com, another site.
"ftp.cdrom.com" is a download place.
I use ftp.cdrom.com.

http://www.arstechnica.com
Will it do http://www.arstechnica.com?

http://arstechnica.infopop.net
Will it do http://arstechnica.infopop.net?

ftp://ftp.cdrom.com
Will it do ftp://ftp.cdrom.com?

[This message was edited by Richard Berg on May 19, 2000 at 01:47.]

----

Results:


  • Any kind of punctuation at the end, even a "." or "," will be included in the link.
  • Punctuation at the beginning will make it not render.
  • Sites that don't begin with "www." won't render...
  • ...unless prefaced with "http://"
  • It won't do ftp sites, even with the "ftp://" in front.



Don't know which I'd consider "features" and which "bugs," but I think it's safe to say that the best route is to use HTML or UBB code.

[This message was edited by Richard Berg on May 19, 2000 at 01:51.]
 

Richard Berg

Ars Legatus Legionis
43,037
Subscriptor
Woohoo! Perhaps this is old news, but it appears a couple of features have been added that we were asking for:


  • You can edit messages you're not technically supposed to be able to, you just can't submit changes to it.
  • Links in edits are rendered with [ url ] tags, even if they weren't in the original - unless, of course, they weren't recognized as per the rules in my last post.


Actually, though, the second feature means my cut-n-paste was not an accurate test of OpenTopic's link generator, but a report of what it was able to do two months ago. Here's another test, with the [ URL ] tags removed:

Testing the built-in link generator
www.arstechnica.com
"www.arstechnica.com" is a great site
www.arstechnica.com, a great site
I like www.arstechnica.com.
www.arstechnica.com- a great site.

arstechnica.infopop.net
"arstechnica.infopop.net" is the new forum.
I like arstechnica.infopop.net.

ftp.cdrom.com
Will it do ftp.cdrom.com?
ftp.cdrom.com, another site.
"ftp.cdrom.com" is a download place.
I use ftp.cdrom.com.

http://www.arstechnica.com
Will it do http://www.arstechnica.com?

http://arstechnica.infopop.net
Will it do http://arstechnica.infopop.net?

ftp://ftp.cdrom.com
Will it do ftp://ftp.cdrom.com?

---

BTW, the second new feature I listed above raises a few questions: Can we assume [ b ] and so forth will show up correctly in the editor? What about old posts that used HTML, were rendered correctly, and are now available to be edited - will they show up as [ b ], as , or broken? More testing required...

(actually, now that I consider it, I'm probably thinking about it wrong WRT old HTML tags - given the variety available vs. UBB tags, they are probably rendered on the fly, not converted to UBB as links are; that would mean they'd show up as, for example, tags, and while they would obviously not render upon editing/updating, they would not break anything either)

---

EDIT: appears the link generator has not been updated. So my previous list of limitations/bugs still applies. Moderators' / developers' discretion applies on what should be changed.

EDIT #2: appears I was wrong in my long paranthetical there. That's a good thing! IOW, HTML written while it was still working IS rendered. But it gave me an error trying to edit such a post...

[This message was edited by Richard Berg on August 01, 2000 at 23:38.]
 
Status
Not open for further replies.