|
Posted by Ivαn Sαnchez Ortega on 10/08/62 11:36
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tomb wrote:
> But the only reason to generate neat html
> is so the users can look at the page source and make sense of it more.
Besides, a developer should not read raw HTML, but should have a look at the
DOM tree - there are wonderful DOM tree inspectors for Konqueror and
Firefox (built-in) and for IE (via third-party toolbars).
Analyzing the DOM tree generated by the PHP scripts, and validating the
generated HTML against W3C's validators would prove more useful than
writing scripts that generate indented HTML.
(In fact, my programs generate a gibberish of (X)HTML that validates quite
nicely, but is a mess to read).
- --
- ----------------------------------
IvΓ‘n SΓ‘nchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.12-1-686 kernel, KDE3.5.0, and PHP
5.0.5-3 generating this signature.
Uptime: 02:03:19 up 1 day, 4:28, 1 user, load average: 0.43, 0.32, 0.14
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDvHD63jcQ2mg3Pc8RAtDlAJsH3Lqab9NYhQC3Dift98up+Fv9UQCfalu1
PUVFbiUKEaDQYATcGPpmM7M=
=vvGt
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|