Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'm trying to figure out what all is happening in the LinkedIN links URL. A link from LinkedIN community opens with a window shade (?) containing the LinkedIN site tools much like the alerts here at SE. The target link is embedded in a LinkedIN url as a GET variable.

This is a LinkedIN link in three parts (the middle part is the target URL),

http://www.linkedin.com/news?viewArticle=&articleID=5567246644694487049&gid=87719&type=member&item=90729979&articleURL=+

http%3A%2F%2Fwww.nypl.org%2Fblog%2F2011%2F03%2F24%2Fprecarity-readers-guide +

&urlhash=mQ1h&trk=group_most_recent_rich-0-b-shrttl

  1. What is this GUI widget I called "window shade" commonly referred to as?
  2. What is the technical code reference?
  3. What is the term I can use to describe the way LinkedIN uses GET data?
share|improve this question
    
"term I can use to describe the way LinkedIN uses GET data?" -> Bad practice. –  Raynos Jan 23 '12 at 23:19
    
Ok. I've just read a few posts on other sites with the same opinion--I'm not going to argue about it. (^_^) –  xtian Jan 24 '12 at 1:50
    
terrible apparently, a valid link to my profile redirected to someone else's a few months later –  Aram Kocharyan Jan 25 '12 at 4:38

1 Answer 1

up vote 0 down vote accepted

1.) I would consider that some kind of notification bar. But I'm not sure if that is commonly what it is referred as.

2.) This would be implemented using javascript and css. You make a div and give it a class name and when an event triggers then you would use the javascript to show that div and have a link on the div that would trigger javascript to hide the div.

3.) The way that LinkedIn uses GET data is called using the Query String. One thing to note is that it can expose some security problems since it is easily editable by the user.


EDIT in response to xtian's comment:

So, what is happening in the link is that LinkedIn is redirecting to whatever is the articleURL. Chances are that it is performing some sort of database queries off of the article ID and the gid to ensure that the link is valid (and possibly perform analytics for the link) and then it just redirects to the articleURL.

It could be as simple as just calling:

window.location.href=$ArticleURL

from a javascript function, where $ArticleURL is the articleURL from the Query String.

I hope that clears things up. If not, let me know and I'll try to expand more.

share|improve this answer
    
Thanks for the help. I used those terms and while SE's is a notification bar, the LinkedIN controls are not. They're an iFrame. @Jetti, if you will make the correction, I will mark this question as answered. Cheers! –  xtian Jan 23 '12 at 20:45
    
@xtian - I guess I'm not really sure what you mean by "LinkedIn Controls" as when I go to their site and view source the only iFrames I see are for ads. –  Jetti Jan 23 '12 at 20:52
    
I'll admit it didn't occur to me to look at the source. If you found an ad there, its not part of my question. I want to understand what LinkedIN is doing with its links without slogging through the Dev site... –  xtian Jan 24 '12 at 1:56
    
@xtian I think I understand your question now and edited my answer in response. –  Jetti Jan 24 '12 at 2:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.