[thelist] Yahoo! like HTML textarea

.jeff jeff at members.evolt.org
Mon Aug 6 10:53:45 CDT 2001


aardvark,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: aardvark
>
> i'm a l4m3r who responds to his own posts... anyway...
>
> still the same problems (IE MSHTML), but different:
>
> http://www.amazon.com/tracking
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

are you referring to the source of the "content" area of the page above?

<A name="TrackingYourPackage"></A><b><font face=verdana,arial,helvetica
color=#CC6600>Tracking Your
  Package</font></b><br>
<p>If you have a tracking or delivery confirmation number, follow the
  links below for more information. If you're not sure whether or not your
order
  has been shipped, check the status of your recent orders in
  <A href="/exec/obidos/account-access-login/103-3707932-0538239">Your
Account</A>.
</p>
<p><B>UPS</B>
  <ul>
    <li>Package Tracking:
    <A href="http://wwwapps.ups.com/etracking/tracking.cgi">
    http://wwwapps.ups.com/etracking/tracking.cgi</A></li>
    <li>Phone: 1-800-742-5877 </li>
  </ul></p>
<p> <B>U.S. Postal Service</B>
  <ul>
    <li>Priority Mail Package Tracking:
    <A href="http://www.usps.com/cttgate/welcome.htm">
    http://www.usps.com/cttgate/welcome.htm</A></li>
    <li>First-Class Package Information:
    <A href="http://www.usps.gov">http://www.usps.gov</A></li>
  </ul></p>
<p><B>DHL Worldwide Express</B>
  <ul>
    <li>Package Tracking:
    <A href="http://www.dhl-usa.com/tracking">
    http://www.dhl-usa.com/tracking</A></li>
    <li>Phone: 1-800-225-5345 (U.S. customers only)</li>
    <li><B>Please note:</B>Package tracking services are not
    available for DHL WorldMail shipments, as these are
    delivered by air mail to the destination country/continent
    and then handled by the local postal system.</li>
  </ul></p>
<p><B>FedEx</B>
  <ul>
    <li>Package Tracking:
    <A href="http://www.fedex.com/us">
    http://www.fedex.com/us</A></li>
    <li>Phone: 1-800-463-3339</li>
  </ul></p>
<p><B>Purolator</B>
  <ul>
    <li>Package Tracking:
    <A href="http://www.purolator.com/">
    http://www.purolator.com/</A></li>
    <li>Phone: 1-888-SHIP-123 </li>
  </ul></p>
<p><B>Eagle</B>
  <ul>
    <li>Phone: 1-800-280-7270</li>
  </ul></p>
<p></p>


you're right, it is bad, but not unfixable.  when dealing with mass amounts
of html it would pay to develop a parsing routine that would clean up the
html.  it could do things like force all tags to lower-case, replace <b></b>
with <strong></strong>,  remove any empty paragraphs, etc.  the tricky part
would be removing the <font> tags and applying classes to parent elements.
however, don't get me started on users pasting directly from word2k.  that's
unbearably bad.

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list