Re: conversation history
Graham Booker <[email protected]> Thu, 1 Apr 2004 01:05:21 -0600
| Newsgroups | gmane.network.fire.devel |
|---|---|
| Message-ID | <[email protected]> |
Actually, <i> is still part of xhtml strict:
http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_i
It is use for italics only, and so that is the only place we use it, so
it should be i, not em
Thanks for the comments about font.
The issue is that the NSAttributedString's initWithHTML doesn't read
the information in a style tag, and font is now obsolete ->
NSAttributedString's HTML parser without WebKit is obsolete -> any
system without WebKit (10.1 users and 10.2 w/o Safari) is obsolete ->
Fire is obsolete since it still supports 10.1. Yuck! (Couldn't resist
such a ridiculous logic chain)
I am at the point of making my own html parser from the XML data tree
for this exact reason. It would only need to implement span, i, b, u,
a, br, p, and img to do everything we need. I am looking at this
format:
<span style="color: #555555; background-color: #ffffff; font:
10pt times">metoo has joined thischat</span>
<span style="font: 10pt apple chancery">Yo </span>
<span style="color: #0000d5; font: 10pt times">Hey</span>
<span style="color: #0000d5; font: 10pt times">How is it
going?</span>
How does that look?
------------------------------------------------------------------
Graham Booker Texas A&M University
[email protected] Graduate Student in ELEN
------------------------------------------------------------------
On Mar 31, 2004, at 2:59 AM, Gabriel Radic wrote:
> On 24 Mar 2004, at 21:49, Graham Booker wrote:
>> Submit ideas now, or don't complain when I finish ;)
>
> The improvements you listed sound great. I'm mentioning this only to
> make sure: use only valid XHTML, it's healthier.
>
> e.g. style="css" instead of <font>
> <em> instead of <I>
>
> Thanks.
> -- Gabriel Radic www.timbru.com
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> fire-development mailing list
> fire-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/fire-development
>
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed