What's up with all the 'tinyurl' litter?

Gee, my first post…

Please, if it is a configuration option in the forum to convert all
web-entered url’s to ‘tinyurl.com’ … PLEASE, turn it off.

If it’s “just something the posters are doing”… Please, stop. It’s very
annoying.

Are you getting a kickback from them? It is impossible to tell where a link
goes and I refuse to click on them, since I don’t know where they’ll go.
It also makes EVERYTHING depend on that single tinyurl website. One DNS
glitch… and all of a sudden the forum falls down. Not good.

Ever hear of ‘rickroll’ ? or ‘goats.ex’ guy? I’m not a prude, but being
able to see the link allows me to ignore links if needed, and to be able to
determine if I want to click away to something to see if it’s relevant.

If you need a petition, consider it started…

Considering that you probably cut-n-pasted to put the link in the posting…
why not put the REAL link in the posting?

My solution for now is to simply ignore links to tinyurl. Which means that
I MAY not be able to (or want to) help someone. Not that I’m any guru or
wizard and in any sort of demand… but sometimes I can help. And tinyurl
is a turn-off. Please stop using it.

</rant>

Respectfully,

Loni


L R Nix
lornix@lornix.com

If someone posts unsuitable content in a tinyurl, then report it - the people responsible will be punished / banned / tentacle probed.

You can do exactly the same with photobucket, eufreehosting, imgshack, mediahump and so forth - just because you can see a “familiar” name in the link doesn’t mean it’s SFW.

Problem solved.

Hi
If I do post a tinyurl I try to post the original link as well for that
very reason. Whether using a reader or the web browser, they are
ignored.

Just my <insert_your_currency_symbol_of_preference_here> 0.02 worth…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 4:19, 2 users, load average: 0.34, 0.16, 0.14
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

> Please, if it is a configuration option in the forum to convert all
> web-entered url’s to ‘tinyurl.com’ … PLEASE, turn it off.

Normally someone posts a tinyurl link because the length of the original URL
exceeds a certain length that breaks in newsreader and mail programs.
When the URL is broken clicking on it becomes impossible. The only way
to open the URL is to copy and paste all of the pieces of the URL. That is
how/why TinyUrl originated. It is not fun piecing together a broken URL.
I guess as a courtesy a tinyurl poster could give the entire URL as well, or
an explanation of what they are linking to. However I don’t see that giving
anyone the warm fuzzies either. I don’t see much difference in:

http://www.fakesite.com/this_is_a_link_that_breaks_because_it_extends_past_the_maximum_line_length/you
really want to see this.html

and

http://tinyurl.com/qj3ty21.html

other than one linebreaks in email and newsreaders.

There’s nothing to say that the first example doesn’t redirect you to yet
another page that may not be harmless. In fact Phishing attacks are banking
on the fact that you trust what you are looking at. If the TinyUrl link
takes you to an .exe file…well I’d make darn sure I knew what it was
before I took any action on it. You’re no more likely to get taken to some
dark alley and mugged by using tinyurl than clicking on a regular link.
There’s no value at all in knowing what the name of a page is called since
it doesn’t have to reflect the content and only minimal value in where it’s
hosted as the page you land on can be redirected or have linked content
that is exploitative.

Anyway, that’s my take on it.

I do agree that it saves people from having to deal with broken lines and
whatnot… of course, one could wish for users smart enough to deal with
that… or have email/newsreaders that don’t break them. {Sigh} If I
were Queen!

BUT… you mentioned ‘phishers’ and that ilk… I know that it’s quite
possible to make something SAY ‘disney.com’, but link to ‘ickygross.ru’…
which is why I ALWAYS look in the status line to see where a link would
take me.

tinyurl removes that (admittedly small) bit of security from me… a tinyurl
url (!) can take me to ‘ickygross.ru’ and I’d not be any wiser.

Of course, I (as we all do here) use an operating system and applications
which are generally not susceptible to hijacking, viruses, active-x
loopholes and whatnot… So other than pure shock value, I’m not worried
about where a link takes me… and trust me, I’ve seen a few. I think my
favorite ‘shock-site’ so far is listed in the bash.org entry #867713 (Drat!
bash.org is down!) (no, I won’t post it here, since “they” might
tentacle-probe me… and while I might like it… let’s not.)

Hey! I found a Firefox extension which will allow me to see a tool-tip
containing the original url when it’s hovered over. Not saying I’m going
to wildly adopt tinyurl… but this will allow me to recover the ability to
see where I’m being taken today. (hey, isn’t that Microsoft’s slogan?
Where can we take you today?.. I prefer Linux’s slogan… Where would
YOU like to go today?)

TinyURLCreator
https://addons.mozilla.org/en-US/firefox/addon/126
or, just for the irony…
http://tinyurl.com/2pb7f8

Of course, this doesn’t help me in knode… drat!

Does Firefox have an extension to read newsgroups? There’s a zillion for
reading RSS feeds, already using that.

Off to look…

Loni

P.S. Don’t google for “knode tinyurl”… it ain’t pretty…

(Wonder if I could add tinyurl decode support to knode… hmmm?)


L R Nix
lornix@lornix.com

On Tue, 12 Aug 2008 21:02:26 +0000, L R Nix wrote:

> BUT… you mentioned ‘phishers’ and that ilk… I know that it’s quite
> possible to make something SAY ‘disney.com’, but link to
> ‘ickygross.ru’… which is why I ALWAYS look in the status line to see
> where a link would take me.

So turn on the preview option at tinyurl.com - that should solve your
problem. :slight_smile:

bash.org is still down? Sheesh!

Jim

On Tue, 12 Aug 2008 21:32:24 +0000, CNI wrote:

> On Tue, 12 Aug 2008 21:02:26 +0000, L R Nix wrote:
>
>> BUT… you mentioned ‘phishers’ and that ilk… I know that it’s quite
>> possible to make something SAY ‘disney.com’, but link to
>> ‘ickygross.ru’… which is why I ALWAYS look in the status line to see
>> where a link would take me.
>
> So turn on the preview option at tinyurl.com - that should solve your
> problem. :slight_smile:
>
> bash.org is still down? Sheesh!
>
> Jim

And shame on me for posting with the wrong profile. Fixed now. :slight_smile:

Jim

Jim Henderson wrote:

> On Tue, 12 Aug 2008 21:32:24 +0000, CNI wrote:
>
>> On Tue, 12 Aug 2008 21:02:26 +0000, L R Nix wrote:
>>
>>> BUT… you mentioned ‘phishers’ and that ilk… I know that it’s quite
>>> possible to make something SAY ‘disney.com’, but link to
>>> ‘ickygross.ru’… which is why I ALWAYS look in the status line to see
>>> where a link would take me.
>>
>> So turn on the preview option at tinyurl.com - that should solve your
>> problem. :slight_smile:
>>
>> bash.org is still down? Sheesh!
>>
>> Jim
>
> And shame on me for posting with the wrong profile. Fixed now. :slight_smile:
>
> Jim

AHA! We know your secret identity now!! You’re CNI man!!!

Loni


L R Nix
lornix@lornix.com

On Wed, 13 Aug 2008 00:08:09 +0000, L R Nix wrote:

> AHA! We know your secret identity now!! You’re CNI man!!!

LOL!

Actually I do work for Novell - I’m the CNI (and NAI) Program Manager.
Using Pan 0.132, it defaults to the first profile in the list (the
profile I use for posting announcements in some private forums) and I had
forgotten to set the correct profile here. :slight_smile:

Every once in a while, I sub to a new group and it picks up the wrong
posting profile as a result. I try to remember to set it, but there’s a
bone in my leg…the sun got in my eyes…Uh, there’s a cat on the
bed… :wink:

Jim

L R Nix wrote:
> </rant>

attention monitors/admins, shouldn’t this be moved to:

o.o.f.f.comments-suggestions
or
o.o.n-s.soapbox

but, since it is here (and might stay here until it is closed or solved) maybe a
compromise would be to adjust the web software (or however this happening) to
begin giving the “preview” tinyurl…

like
http://preview.tinyurl.com/peia

takes you to tinyurl.com where you can SEE (aka: preview) of where
http://tinyurl.com/peia lands, at
http://edition.cnn.com/

and, as “CNI” mentioned, tinyurl GIVES (gives, as in free beer) a preview
option, just go to <http://tinyurl.com/preview.php> and “Click here to enable
previews.” and YOU get to preview, even if none is provided by thoughtless or
tenacleless users…


DenverD (Linux Counter 282315)

Loni,

what Chrysantine said.

Are you using Firefox?
If so, check out the TinyURL Creator plugin:
https://addons.mozilla.org/en-US/firefox/addon/126

“NEW: Now any link on a page that has a tinyurl.com address will contain a tooltip to tell you what the full URL for it is. Just hover your mouse over the link for a moment and you’ll see the full URL appear as a tooltip.”

HTH
Uwe

> https://addons.mozilla.org/en-US/firefox/addon/126

of course that only works for FF and not for thunderbird, knode, pan, slrn and
others…


DenverD (Linux Counter 282315)
A Texan in Denmark

On 08/13/2008 DenverD wrote:
> of course that only works for FF and not for thunderbird, knode, pan,
> slrn and others…

And it won’t work with Notepad nor can you heat it in the microwave. Oh wait, and it isn’t a life saving device either, so don’t leave your kids in the pool unattended.

(Yeah yeah, you are right, the OP uses KNode, not the web front end. Point taken :slight_smile:

Uwe

On Wed, 13 Aug 2008 19:16:19 GMT
Uwe Buckesfeld <u.buckesfeld@gmx.de> wrote:

> On 08/13/2008 DenverD wrote:
> > of course that only works for FF and not for thunderbird, knode, pan,
> > slrn and others…
>
> And it won’t work with Notepad nor can you heat it in the microwave. Oh
> wait, and it isn’t a life saving device either, so don’t leave your kids in
> the pool unattended.
>
> (Yeah yeah, you are right, the OP uses KNode, not the web front end. Point
> taken :slight_smile:
>
> Uwe

Well, Malcolm suggested ‘claws-mail’, which I have tried, liked, and shifted
to. It also supports incoming ‘pre-processing’ with a script… so I’m
working on creating a script to do a one-time ‘edit’ on the fly for each
incoming email that contains a ‘tinyurl/xxx’ url. Essentially making the
emails read as http://tinyurl.com/2gwyv [slashdot.com] or something like
that.

NEAT!

Gotta love linux!!

(and the ability to code… )

Loni


L R Nix
lornix@lornix.com

Excellent :slight_smile: I did have an issue with my ISP’s news server and the
references header, didn’t like the "
" between them and would barf
after about three posts (gotta love wireshark). If you strike that issue
it’s in src/compose.c


original:    g_string_append(new_ref, "
	");
modified:  g_string_append(new_ref, " ");

Would also be interested in the script too, maybe it could become a
plugin?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 4:06, 3 users, load average: 0.00, 0.01, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

> Essentially making the emails read as http://tinyurl.com/2gwyv
> 2gwyv -> http://wikipedia.org
> [slashdot.com] or something like that.
>

IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!!
IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!! IT WORKS!!

I wrote a perl script to parse the emails on the fly and add in the tinyurl
destinations… Created a filter, which is executed as the messages
arrive… and taaa daaa!! (Look above ^^^^ it’s working!!)

I had it place the expansion on the NEXT line, to try to help prevent the
dreaded wrap/break… but with the original tinyurl so if there are multiple
tinyurl’s on a line, you can tell which goes where.

It adds an X- header, so the emails won’t be processed twice, and I’ve tried
very hard to prevent it from destroying email. It only affects the email if
there are VALID tinyurl’s to expand.

I’ll rewrite it as a proper plugin for claws-mail tomorrow or so… but this
is great! <happy dance!!>

Yeah yeah, so I get a little excited… shoot me!

So, to make this work in claws-mail (sorry everyone else…)

you must have curl installed. This is a requirement until this is made
into a plugin.

copy the script (tinyscript, posted below) somewhere… I chose .claws-mail,
since that seemed appropriate. Make it executable (chmod 755 tinyscript)

Create a filter, which has an action of:

execute “/home/lornix/.claws-mail/tinyscript %F”

Of course, with the appropriate path to the script file instead of mine.

With this in place, click on a newsgroup, then click on ‘tools → Filter all
messages in folder’… voila! It’ll take a moment to process all the
messages… essentially just ‘catching up’… new messages will be filtered
as they arrive and the delay won’t be noticable.

And now for the script…

=====================================================================
#!/usr/bin/perl

use strict;
use warnings;

don’t process ‘real’ addresses (ex: tinyurl.com/about.html)

my $allowreal=0;

enables debugging output

my $DEBUG=0;

Did we get anything on the command line?

if ($#ARGV<0)
{ # fail silently so we don’t litter console
exit(1);
}

yaay! we’ve got a filename to work with

my $filename=$ARGV[0];

Make sure it exists and has content… it could happen!

if ((! -e “$filename” ) || ( -z “$filename” ))
{ # fail silently again
exit(1);
}

to remember if we changed file or not,

don’t rewrite it if we didn’t change it

my $changed=0;

This could probably be done better, but…

read file into an array

open(FIN,"<",$filename) || exit(1);

slurp!!

my @wholefile=<FIN>;
close(FIN);

preset minimum line length for unix files

my $linelength=1;

a quick check for line endings… ^M adds an extra char

$linelength=2 if ($wholefile[0]=~/\015/);

Have we processed this file before? Look for

X-tinyurl-fix header

remember that headers STOP at first EMPTY line, then body starts

my $line=0;
while (($line<=$#wholefile)&&(length($wholefile$line])>$linelength))
{ print "$line: ".$wholefile$line] if ($DEBUG);
if ($wholefile$line]=~/^X-TINYURL-FIX:/i)
{ # we found it, bail out
print "File already processed
" if ($DEBUG);
exit(0);
}
$line++;
}

wasn’t found, but we’re pointing to the line AFTER where we need to add the tag

remember, this won’t be written to the file UNLESS we find a valid tag to fix

$wholefile$line-1].="X-TinyUrl-Fix: “.gmtime().” (GMT)
";

scan for tinyurl urls

while ($line<$#wholefile)
{ $line++;
next if ($wholefile$line]!~/http://tinyurl.com//);

extract the tiny tinyurl url. (haha!)

there might be more than one on this line… handle that

print "$line: ".$wholefile$line] if ($DEBUG);
my $urlline=$wholefile$line];
$urlline=~s/\015\012]//g;

make sure the ‘split’ later works since it’s not case insensitive

$urlline=~s/http:/http:/ig;
my @urlarray=split(“http://”,$urlline);
print $#urlarray." entries (add one)
" if ($DEBUG);

whew! got all the entries on the line, sort out which ones are real

foreach my $u (@urlarray)
{ # skip if it wasn’t http://tinyurl url
print "Testing for tinyurl address: ?> ‘$u’
" if ($DEBUG);
next if ($u!~/^tinyurl.com/i);

skip if it’s got a dot in it, probably a read addr

print “Testing for real address: ?> ‘$u’
" if (($allowreal)&&($DEBUG));
next if ((!$allowreal)&&($u=~/^tinyurl.com/[a-z0-9].[a-z0-9]/));
my $tiny=$u;
$tiny=~s/^tinyurl.com/([a-z0-9.]
).*$/$1/i;
my $newurl=”";

we’ve got a valid tinyurl nugget, now request real url from tinyurl.com

open(RESULTS,“curl --silent --head http://tinyurl.com/${tiny} |”) || exit(2);
while (<RESULTS>)
{ $newurl=$_;

strip off CR/LF ickyness

$newurl=~s/\015\012]//g;

skip until we see Location entry

next if ($newurl!~/Location:/i);

Remove the header tag

$newurl=~s/^Location: //i;

we found a valid entry, signal that this file is to be changed

$changed=1;
last;

this all works because curl returns a blank line as last entry…

which of course, I use as a non-valid url indicator. yaay!

}
close(RESULTS);

now we need to insert this back into the array to be written out

we know what line it’s from, so we’ll tack a CRLF to the end, and then the url

this makes the new url show up on a new line, hopefully preventing line-wrap

if ($newurl ne “”)
{ $wholefile$line].="$tiny -> $newurl
";
print "======> ‘$tiny’ : ‘$newurl’
" if ($DEBUG);
}
}
}

final writeout…

if ($changed)
{ open(FOUT,">",$filename) || exit(1);
print FOUT @wholefile;
close(FOUT);
}

print "All done
" if ($DEBUG);

successful exit

exit(0);

vim:tabstop=2:shiftwidth=2:softtabstop=2:

=====================================================================

Hopefully the forum doesn’t mangle it too badly.

Loni

(malcolm, I’ll email it directly to you…)

L R Nix
lornix@lornix.com

Woohoo it sure does!!! :slight_smile: :slight_smile: At this rate we will need to send a
brewery to her lol


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 14:54, 2 users, load average: 0.08, 0.27, 0.35
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Would putting the script in a

 

box get rid of the “thinking” emoticon that shows up in my web view?

Also, thanks for this thread - I didn’t even know what tinyurl was / that it existed, etc. before reading this thread. Learn something new every day.

On Fri, 15 Aug 2008 15:16:02 GMT
Neophyte42 <Neophyte42@no-mx.forums.opensuse.org> wrote:

>
> Would putting the script in a
> Code:
> --------------------
>
> --------------------
> box get rid of the “thinking” emoticon that shows up in my web view?
>
> Also, thanks for this thread - I didn’t even know what tinyurl was /
> that it existed, etc. before reading this thread. Learn something new
> every day.
>
>

Ummm, well… uh… no.

My script is really only for Claws-mail users. The web-based forum portal
uses your browser to display posts, and the previously mentioned Firefox
extension (https://addons.mozilla.org/en-US/firefox/addon/126) will allow you
to see a tooltop showing the intended destination.

I don’t use the web-based forum very often, perhaps once or twice a week to
see if anyone has posted a private message. I find the nntp access to be
quicker and easier to deal with. Ever wonder why it seems like I read EVERY
message? {Grin} That’d be because I DO. And it’s very simple in claws-mail,
knode, pan, or whatever newsreader application you desire to use.

Emoticon? Really? Just went to web forums and checked this thread… no
emoticons there, except the forum software’s lame attempts to convert all the
‘: )’ and ‘: (’ (minus the space!) character groupings into cute smileys.

If you’re using claws-mail (or want to try it) and desire my script, please
email me (not a private message, remember I don’t check it often!). I’d be
glad to share it. Probably put it up on my website here shortly too. My
email is not hidden nor ‘spamified’… should be nice and visible. (or yahoo
IM)

no, I’m not naive, my email server employs a tame 800-lb Gorilla who can read
and refuse spam. He’s very busy, seems to enjoy his work and works for
bananas (never can remember how many na na na’s to put in there…).

{Smile}

Loni


L R Nix
lornix@lornix.com