Shoutbox

Automaticly parse "www" ? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: General (/forumdisplay.php?fid=11)
+---- Forum: Forum & Website (/forumdisplay.php?fid=13)
+----- Thread: Automaticly parse "www" ? (/showthread.php?tid=32193)

Automaticly parse "www" ? by Mike on 09-27-2004 at 07:44 PM

Hello.

Can there be a feature that with automaticly insert [url=www.msgplus.net] if no http:// is typed?
Because some people dont add http:// to their links and its kinda boring to have to open a new window to view that site :S

So can this be added? :)


RE: Automaticly parse "www" ? by CookieRevised on 09-27-2004 at 08:17 PM

And what about sites that don't begin with "www" ? Or sites from the type of "kick.to/something" ? etc.

I mean, it would be very difficult to make a parser that can reconize all those things 100% correctly. So, personaly, I think those people should be less lazy and type http:// instead of WDZ making something that does the stuff for them....


RE: Automaticly parse "www" ? by Millenium_edition on 09-27-2004 at 08:22 PM

well, no, only www... because that's the case in lots of forums. but cookie, you have a point, it's just http:// after all :rolleyes:


RE: Automaticly parse "www" ? by WDZ on 09-27-2004 at 08:24 PM

Blah... the parser is quite complex even when "http://" is required, because there are many possible types of URLs...

http://localhost/
http://localhost:80/
http://127.0.0.1/
ftp://msgplus.net/
http://www.msgplus.net/whatever/blah%20spam.jpg
http://whatpulse.bounceme.net/

I think adding a parser for www.something would be a waste of time... people should use the [url] tags like so:

www.mess.be


RE: Automaticly parse "www" ? by RebelSean on 09-27-2004 at 08:28 PM

I like the idea, personaly CookieRevise does have a point, but yet it would be nice if you could just type in www.msgplus.net and it makes a clickable link....Would be nice since some of us are lazy :p....


RE: Automaticly parse "www" ? by brian on 09-27-2004 at 09:36 PM

I think it auto-does-that =P

http://www.msgplus.net


RE: Automaticly parse "www" ? by CookieRevised on 09-27-2004 at 10:11 PM

quote:
Originally posted by Brian
I think it auto-does-that =P

http://www.msgplus.net
quote:
Originally posted by Mike2
if no http:// is typed

EDIT: hmmm, the parsing of http:// should stop whenever a space is encountered.... :/
RE: Automaticly parse "www" ? by paperless on 09-28-2004 at 07:17 AM

Im late on this toic but i htink its kinda stupid that thing because i dont see wheres the problem on typing the whole site?
U ppl waste words on spam and dont want to write the little http:// :P


RE: Automaticly parse "www" ? by WDZ on 09-28-2004 at 12:51 PM

quote:
Originally posted by CookieRevised
EDIT: hmmm, the parsing of http:// should stop whenever a space is encountered.... :/
Yeah... I can't really remember why it doesn't. I put lots of thought into that parser. :dodgy:

Well, I'll tweak the code and see what breaks. :refuck:
RE: RE: Automaticly parse "www" ? by The One on 09-30-2004 at 03:10 AM

quote:
Originally posted by paperless
U ppl waste words on spam and dont want to write the little http:// :P

Yeah, too right, but in this world, there will always be lazy people...

*Looks around to room... spots a mirror... DOH!*