The W
Views: 98918357
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
15.9.14 1952
The W - the-w.com Site Feedback - Enhanced linkification
This thread has 13 referrals leading to it
Register and log in to post!
Pages: 1(977 newer) Next thread | Previous thread
User
Post (9 total)
CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 9 min.
Last activity: 6 min.
AIM:  
ICQ:  
Y!:
#1 Posted on
Because I'm more interested in the code behind this board than the messages that invariably end up on it (heh), I can now announce a few changes to one of the things that's been bothering me the most that I can easily change: the way hyperlinks show up (or don't).

I've put in a slice of code I've stolen from the PHP site that tries as best it can to automagically glean hyperlinks for those of you who don't know HTML, converting the Plaintext into something you can click on. Here's an example (which I sure hope works) - www.vanillacoke.com - just don't put any punctuation on the end like I tried to before I edited... Supposedly it'll grab links that start with http or hostnames starting with www - I think FTP links will work as well??

Those of you who are a little more savvy can use the new, improved [link] codes. The default is still to provide your link as the hypertext "Click Here" - I'm pleased to say that if you're not big on "Click Here," you can now use ANY text for your hyperlink! Just include between the brackets your text, thusly:

[link This is some cool new thing]http://wienerboard.com/[/link]

becomes

This is some cool new thing (wienerboard.com)

Pretty snazzy, huh?

As you can also see, I put in some code to tell you where you're clicking so you guys at work aren't caught off guard. I lifted THIS concept from the fine folks at Slashdot (slashdot.org), and as you can see I'm really addicted to linking things now that I've done this. Fear for your eyes. :)

I'll try to remember to put most of this in the FAQ later. (We have a FAQ? (wienerboard.com) - oops I did it again)

(edited by CRZ on 24.2.03 0559)



©CRZ™
Promote this thread!
Excalibur05
Knackwurst








Since: 19.1.02
From: Minnesota

Since last post: 29 days
Last activity: 48 min.
AIM:  
#2 Posted on
You broke my sig.



http://wienerboard.com/thread.php/id=9755>RAW Satire 2/17
Buffy 7.15 gets a 8 The Kennedy tweener turn happened out of nowhere, but whatever. Mostly good stuff though.
CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 9 min.
Last activity: 6 min.
AIM:  
ICQ:  
Y!:
#3 Posted on
Hmm, A HREF= expects quotation marks. I'll tweak my regexp but you really should just use quotes in your HTML all the time anyway ;-)



©CRZ™
Excalibur05
Knackwurst








Since: 19.1.02
From: Minnesota

Since last post: 29 days
Last activity: 48 min.
AIM:  
#4 Posted on
My HTML Skillz are...how you say..."lacking".



RAW Satire 2/17
Buffy 7.15 gets a 8 The Kennedy tweener turn happened out of nowhere, but whatever. Mostly good stuff though.
EddieBurkett
Boudin blanc








Since: 3.1.02
From: GA in person, NJ in heart

Since last post: 3 days
Last activity: 11 hours
#5 Posted on
So does the external website name appear only when using the new linkification technique, or does it apply to people using the [link] tab? Granted I haven't been looking, but these new links aren't retroactive, are they? I'm guessing that since Ex's sig has no (weinerboard.com) then it does not apply to self made links? And now that you've implemented the links /. style, does this mean we are a short time away from goatse.cx links?

At least the "In Soviet Russia" jokes seem to have subsided...



I apologize for being a Buffy/Angel mark.
evilwaldo
Lap cheong








Since: 7.2.02
From: New York, NY

Since last post: 3370 days
Last activity: 3150 days
AIM:  
#6 Posted on | Instant Rating: 0.00
For those who have yet to say so, thank you CRZ.



'I'm, like, angry at numbers.'

'Yeah, there's to many of them and stuff.'

CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 9 min.
Last activity: 6 min.
AIM:  
ICQ:  
Y!:
#7 Posted on

    Originally posted by EddieBurkett
    So does the external website name appear only when using the new linkification technique, or does it apply to people using the [link] tab?
Only with [link]. The idea is you already know where you're going with a linkified link. Also, raw HTML code still doesn't show a domain afterwards if you DON'T want people to see it.

Also, the autolinking apparently isn't working ALL the time - I'll try to fix THAT tonight.



©CRZ™
Mr. Boffo
Scrapple








Since: 24.3.02
From: Oshkosh, WI

Since last post: 414 days
Last activity: 374 days
#8 Posted on | Instant Rating: 2.44

    Originally posted by CRZ
    www.vanillacoke.com - just don't put any punctuation on the end like I tried to before I edited...

But ... that's not right! If you are going to the main page of a website i.e. www.something.com (apparently that'll be a link now), you're supposed to put a / after it. And now people won't be doing that, and it's all Microsoft's fault! First you didn't need to put the /, then you didn't need to put the http:// , soon Microsoft's browsers won't let you type in anything. You'll have to get around by clicking on links all the time! And then the world will end!

Note: The above comments makes no sense. We apologize for the inconvenience.
ManiacalClown
Landjager








Since: 2.1.02
From: Houston, TX

Since last post: 508 days
Last activity: 507 days
AIM:  
#9 Posted on | Instant Rating: 10.00
Two points:

1) I don't use quotations marks because I am a REBELLIOUS YOUTH. HAH!

2) You've greatly hindered the chances of tricking people into seeing goatse. Shame on you.



Pearl Jam - Live in Little Rock: 105 Days & Counting

In This Very Ring - We Also [heart] Puff Mario
Pages: 1Thread ahead: Third party cookies...
Next thread: I know this question is answered somewhere on the board...
Previous thread: Avatar reversion
(977 newer) Next thread | Previous thread
Our latest megaclick came from some lurker using AOL. Recent millions (and how long it took to get there): 26M 18 Apr 2005 12:14:57 (46:01:19:36) 25M 03 Mar 2005 09:55:21 (42:13:04:00) 24M 19 Jan 2005 20:51:21 (43:21:49:00) 23M 06 Dec 2004 23:02:21 (39:...
The W - the-w.com Site Feedback - Enhanced linkificationRegister and log in to post!

The W™ message board

ZimBoard
©2001-2014 Brothers Zim

This old hunk of junk rendered your page in 0.101 seconds.