|
Posted by Eric Lindsay on December 17, 2005, 8:52 am
Please log in for more thread options
> Right. But, erm... What *standards*?
> The W3C HTML 4.01 recommendation is a fine common denominator to start
> with
HTML 4.01 Strict for the moment. My old pages are close enough that I
can get them to comply within a reasonable time span. I did a light
HTML and CSS makeover about 4-5 years ago, based on advice from this
group back then.
I can not see any point in moving to XHTML if it was just going to be
served as text/html to ensure IE displays a page. I sort of figure I
will be back in this news group in about 5 years asking about updating
to XML.
> > So far all of the HTML editors I have tried have left me free to write
> > web pages that are not standards compliant.
>
> Oh if that's all you want...
Well, it is not all I want, but it is a part of this move. The main
point of this move is to get my web site update routine to a point where
it isn't any worse than I had 10 years ago at a university.
> <http://aquamacs.org/> (I suppose your user-agent field isn't forged ;-)
I never did get into Emacs, so I hadn't even put it on my list of
editors to check. Thanks for pointing out Aquamacs. No, the user agent
isn't forged. I really should add the Eric conspiracy secret labs
header however. Thanks for reminding me of that also.
> I suggest writing XHTML in nxml mode, schema-validates while you type
> out of the box. You may prefer to use a XHTML 1.0 strict schema instead
> of the XHTML modules, you can translate the DTD to RELAX NG with trang:
>
> <http://www.thaiopensource.com/relaxng/trang.html>
That sounds pretty good, if I do go with XHTML. The URL won't open, but
it looks like information on trang is widespread. Thanks.
> For text/html, old-fashioned PSGML (parses the document type declaration
> and provides contextual editing based upon that) might be more
> appropriate but also way more difficult to set up to its full potential
> (*especially* on OS X, which is little more than pretty fonts on an
> inherently broken file system).
Thanks very much for pointing out PSGML, which I didn't realise even
existed. The first page of Google hits listed someone I know mentioning
PSGML in the comp sci lecture notes they give. I'll ask them whether
they actually use it on their Macintosh. Speaking of which, the major
alternative left me wanting to defenestrate my computer, so that left me
without many choices.
--
http://www.ericlindsay.com
|