Go Back  Fodor's Travel Talk Forums > Destinations > Europe
Reload this Page >

Fodor's Gurus - will you PLEASE PLEASE PLEASE get the link thing fixed?

Search

Fodor's Gurus - will you PLEASE PLEASE PLEASE get the link thing fixed?

Thread Tools
 
Search this Thread
 
Old Apr 29th, 2006, 11:52 AM
  #1  
Original Poster
 
Join Date: Jun 2004
Posts: 19,000
Likes: 0
Received 0 Likes on 0 Posts
Fodor's Gurus - will you PLEASE PLEASE PLEASE get the link thing fixed?

It would be difficult to estimate how much time Fodorites waste screwing around with links because of the way your script handles them. First of all, if an unbroken URL is too long, it forces horizontal scrolling that everyone has to suffer with - and if your parser stops the scan before the end of the URL because it hits some character it doesn't like, the link is unusable without copying and pasting it, so we're back to where we started.

<b>Here's the solution:</b>

1. Scan for http://
2. Parse for the first / following the h
3. Make the text between the h and the server name inclusive the link text.
4. Parse for the first [space] following the /
5. Make the text between the h and the [space] the hyperlink.

So, if I paste in some link such as http://www.doodah.com/somelongdocumentlocater
then your script would emit
&lt;a&nbsp;href=&quot;http://www.doodah.com/somelongdocumentlocater&quot;&gt;www.doodah.com&lt ;/a&gt;
and all the users would see is
<u><font color="blue">www.doodah.com</font></u>
Robespierre is offline  
Old Apr 30th, 2006, 05:55 AM
  #2  
Jed
 
Join Date: Jan 2003
Posts: 5,546
Likes: 0
Received 0 Likes on 0 Posts
Oh, Robespierre - First you want to chop off the heads of people. Then you want to chop up URLs. Better watch that you don't get <i>your</i> head chopped off.

BTW - Perhaps a feedback email to the editors would be more efficient.
Jed is offline  
Old Apr 30th, 2006, 06:52 AM
  #3  
 
Join Date: Mar 2004
Posts: 13,323
Likes: 0
Received 0 Likes on 0 Posts
This horrible url threat must be contained at all costs. I rank it right up there with the most serious problems besetting modern society: dandruff, bad breathe, and small french fry portions.
degas is offline  
Old Apr 30th, 2006, 06:57 AM
  #4  
 
Join Date: Oct 2005
Posts: 72,814
Likes: 0
Received 50 Likes on 7 Posts
&quot;<i>Perhaps a feedback email to the editors would be more efficient.</i>&quot;

But wouldn't that defeat the <u>real</u> reason for the OP
janisj is online now  
Old Apr 30th, 2006, 08:02 AM
  #5  
Original Poster
 
Join Date: Jun 2004
Posts: 19,000
Likes: 0
Received 0 Likes on 0 Posts
<i><b>Meow!</b></i>
Robespierre is offline  
Old Apr 30th, 2006, 08:16 AM
  #6  
 
Join Date: Jan 2003
Posts: 34,738
Likes: 0
Received 0 Likes on 0 Posts
I agree with degas.

But but Robes, what about tinyurl.com ?
Scarlett is offline  
Old Apr 30th, 2006, 08:40 AM
  #7  
Original Poster
 
Join Date: Jun 2004
Posts: 19,000
Likes: 0
Received 0 Likes on 0 Posts
I'm glad you asked.

1. Not everyone knows tinyurl is there, and
II. It takes a certain amount of time and effort to use it, and
c. Some people have stated misgivings about going blindly to a URL, and
iv. The Fodor's server script could be fixed in about ten minutes.
Robespierre is offline  
Old Apr 30th, 2006, 05:42 PM
  #8  
Neopolitan
Guest
 
Posts: n/a
Robespierre, with all due respect tinyurl.com is quick and easy, especially if you have it bookmarked. I've read your suggestion and frankly I don't have a clue what you're talking about, nor do I have a clue how to do what you're saying. I don't even know what &quot;parse&quot; means! But I do know how to use tinyurl.com and it seems a lot less complicated than whatever it is you're suggesting.
 
Old Apr 30th, 2006, 06:56 PM
  #9  
 
Join Date: Jan 2003
Posts: 34,738
Likes: 0
Received 0 Likes on 0 Posts
<i>I don't even know what &quot;parse&quot; means..</i>

LOL
Actually, I think it means something about breaking down things into codes..I think our Robes is a <i>spy...ssshhhhh~</i>
Scarlett is offline  
Old Apr 30th, 2006, 07:09 PM
  #10  
 
Join Date: Mar 2004
Posts: 13,323
Likes: 0
Received 0 Likes on 0 Posts
Scarlett

&quot;Parse&quot; is what my mama would tell one of the kids to run fetch when the ice cream truck came down the street.
degas is offline  
Old Apr 30th, 2006, 07:11 PM
  #11  
 
Join Date: Jan 2003
Posts: 97,186
Received 12 Likes on 11 Posts
huh?

we never even had live links (or whatever you call them) until recently here. be thankful. sheez.
suze is offline  
Old Apr 30th, 2006, 07:12 PM
  #12  
 
Join Date: Feb 2003
Posts: 2,098
Likes: 0
Received 0 Likes on 0 Posts
Oh thank goodness somebodY else admitted they don't know what the heck parse means!

I thought I was the only one!

Funny degas...LOL!
JAGIRL is offline  
Old Apr 30th, 2006, 07:31 PM
  #13  
Original Poster
 
Join Date: Jun 2004
Posts: 19,000
Likes: 0
Received 0 Likes on 0 Posts
<b>suze, I think the live links would be more beneficial if they had been implemented in an ever-so-slightly different way.</b>

I am trying to improve life on this forum by suggesting a change to the server script that will <i>automatically</i> turn any URL into a hyperlink that will a) expose the name of the server (for the people who are timid about clicking blindly on a tinyurl), and b) prevent the &quot;long URL shift&quot; syndrome (for everyone).
Robespierre is offline  
Old Apr 30th, 2006, 08:04 PM
  #14  
 
Join Date: Jan 2003
Posts: 34,738
Likes: 0
Received 0 Likes on 0 Posts
degas, was her parse like my neighbors arn ?
Scarlett is offline  
Old Apr 30th, 2006, 08:13 PM
  #15  
 
Join Date: Feb 2003
Posts: 2,098
Likes: 0
Received 0 Likes on 0 Posts
Robespierre my dear (oooh that rhymed!)=D&gt; ,
It's the end of the weekend...everybody's still in silly season mode.\/

Mayhap you should repost this on Monday morning at 8:10am when everybody gets off the and the , has a cup of ~o) or and gets serious.
JAGIRL is offline  
Old Apr 30th, 2006, 09:21 PM
  #16  
 
Join Date: Oct 2005
Posts: 72,814
Likes: 0
Received 50 Likes on 7 Posts
Or - maybe just send an e-mail to Fodors and quit showing off.

janisj is online now  
Old Apr 30th, 2006, 09:36 PM
  #17  
rex
 
Join Date: Jan 2003
Posts: 13,194
Likes: 0
Received 0 Likes on 0 Posts
&lt;&lt; Robespierre my dear (oooh that rhymed!) &gt;&gt;

Maybe in the capital of South Dakota, it rhymes! (as in Shakespeare!)

Otherwise, &quot;...pierre&quot; rhymes - - fittingly - - with &quot;derriere&quot;...
rex is offline  
Old May 1st, 2006, 09:41 AM
  #18  
Original Poster
 
Join Date: Jun 2004
Posts: 19,000
Likes: 0
Received 0 Likes on 0 Posts
I sent them an email last week.
They didn't answer.

I decided to get a discussion going.
That has not produced the desired result.

Anyone who has something to contribute to the discussion, thank you. The rest of you - get lost.
Robespierre is offline  
Old May 1st, 2006, 10:22 AM
  #19  
 
Join Date: Jan 2003
Posts: 97,186
Received 12 Likes on 11 Posts
&lt;The rest of you - get lost.&gt;

Get up on the wrong side of the bed... again?

Robespierre, Obviously you know more about computers or the internet or whatever than most of the rest of us. It is Fodor's you need to listen to (and understand) your point, not us.
suze is offline  
Old May 1st, 2006, 10:39 AM
  #20  
 
Join Date: Dec 2003
Posts: 409
Likes: 0
Received 0 Likes on 0 Posts
Parse is a lovely word for those grammarians who wish to break down the elements of a sentence into its components and functions. Very tidy! I'm pleased to see the word appear here.

Anyone familiar with the word, &quot;osmara?&quot; (sp.)
letour is offline  


Contact Us - Manage Preferences - Archive - Advertising - Cookie Policy - Privacy Statement - Do Not Sell or Share My Personal Information -