Tell me I'm missing something (as, in fact, I suspect).

I ask because I fail to see what good the shortened forms will be, within the context of your "short so they fit on a web page nicely."

If RENDERING the too-long address borks the appearance of the webpage, just don't render it.... (with apologies to a former US President's spouse). i_m_a_way_too_long_address@goblins_under_the_floor_and_in_the_attic.org> can be rendered without harm (that I see offhand) briefly... but the mailto: (if that's what you're working on) STILL needs to be

<a href="mailto:i_m_a_way_too_long_address@goblins_under_the_floor_and +_in_the_attic.org>(renderedname)</a>
while the link that's displayed gets turned into "drop a line to goblins" or "joe's email" or "email1" or...

"Beating a dead horse" here: if you shorten the full email address to put in the mailto:, it's not gonna' work ...unless you create another process to retrieve the original (perhaps by searching a db created after adding yet more code to ensure that no "shortened" form matches a previously created but distinct address).

So, as I said to begin with, what am I missing, here?


In reply to Re: Shorten email address by ww
in thread Shorten email address by redhotpenguin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.