Results 1 to 4 of 4

Thread: I need a de-googleization!

  1. #1
    Join Date
    Dec 2004
    Posts
    12,565

    I need a de-googleization!

    Do you know how to strip the excess junk out of a Google
    search result URL? I have a link that I want to post here, but
    not with all that crud in it. If you can remove it for me, I'll put
    it in a PM to you. I've tried removing what looks like should
    be removeable, but the link fails when I do that.

    My Google search returned a direct link to a PDF file, so I
    can't tell what the URL of the associated website might be.

    -- Jeff, in Minneapolis
    http://www.FreeMars.org/jeff/

    "I find astronomy very interesting, but I wouldn't if I thought we
    were just going to sit here and look." -- "Van Rijn"

    "The other planets? Well, they just happen to be there, but the
    point of rockets is to explore them!" -- Kai Yeves

  2. #2
    Join Date
    Aug 2005
    Location
    NEOTP Atlanta, GA
    Posts
    1,205
    Why not just imbed the URL with the LINK tool in the Quick Reply window, as I did here? (The link in this post takes you to the UT site - it's just an example.) ETA: It should also work for PDF files.

  3. #3
    Join Date
    Dec 2004
    Posts
    12,565
    Somebody on my end took care of it for me. He didn't tell me
    how he did it.

    The original URL:

    http://www.google.com/url?sa=t&rct=j...X2m9Xdi4ngr3yA

    The lite version:

    http://www.physics.utoronto.ca/~phy1...d%20Twists.pdf

    -- Jeff, in Minneapolis
    http://www.FreeMars.org/jeff/

    "I find astronomy very interesting, but I wouldn't if I thought we
    were just going to sit here and look." -- "Van Rijn"

    "The other planets? Well, they just happen to be there, but the
    point of rockets is to explore them!" -- Kai Yeves

  4. #4
    Join Date
    Sep 2003
    Location
    Denmark
    Posts
    18,362
    The actual link is embedded in the Google link, but URL encoded, which means every character that has special meaning in a URL has been replaces with % followed by two hex-digits encoding its ASCII value.

    To decode you need to undo the replacements, so do the following substitutions:
    %3A -> :
    %2F -> /
    %25 -> %
    %26 -> & this wasn't in your example link, but is common in URL's so I'm putting it here for quick reference.

    If there are codes embedded in the URL after the first replacement leave them in, they're there because the special character is in the file name on the server and still has to be hidden, the most common is %20 which codes for a space.
    __________________________________________________
    Reductionist and proud of it.

    Being ignorant is not so much a shame, as being unwilling to learn. Benjamin Franklin
    Chase after the truth like all hell and you'll free yourself, even though you never touch its coat tails. Clarence Darrow
    A person who won't read has no advantage over one who can't read. Mark Twain

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
here
The forum is sponsored in-part by: