Note: This email is mostly directed towards raster/dj2, but if anyone
else feels like commenting, knock yourself out.
Didn't want to just commit this stuff, but I went through and cleaned
up the HTML/PHP/CSS of the new website. I've attached a diff so you
can look at the changes made and possibly apply them yourself to see
the difference. As I've done it the site looks exactly the same as it
does not, but validates as XHTML 1.1
The following is a mini changelog to justify some of the changes:
1. Should use echo over print unless you need the return status of print
- Small issue, but small issues add up
2. include_once incurs extra overhead of checking for existing includes
- It is not necessary for us since we only include the file once.
Again, small issues add up.
3. Anything between style or script tags should be HTML commented
4. align is not a valid css property
5. // is not a valid CSS commenting style, must use /* */
6. Other misc cleanups/fixes, see diff
7. Finally, lets do our part and be XHTML 1.1 compliant :)
Let me know if you disagree with anything and I'll attempt to justify
it or you just might convince me :). It didn't really take that long
to convert it so if you don't care I guess i can accept that, but I did
all the work in hopes that you would use it :). Everything seems
kosher in IE6, but final checking will have to be done when its up.
As further justification I will say that in the future, most browsers
will probably move towards attempting to support more of the standards
and those sites left not using them will have to fix things constantly.
They may even break things at different times leaving you updating for
every browser release. The reason XHTML is so important is because it
can potentially make the browser so much faster and correct because
the syntax is more regular. HTML is so irregular and every browser
implements some of their own irregularities as well. So my point is,
we are not only helping push the standards that exist, but we are also
saving ourselves from pain in the future.
Not trying to push any agenda here, just voicing my opinion, take it or
leave it.
Last time I tried to send an attachment to the list it failed, so
hopefully this time it will work. If not, you can get the diff at
http://www.satus.net/files/misc/eweb.diff.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel