Re: User Notes Optimization
| From: | Gabor Hojtsy | Date: | Thu, 12 Sep 2002 16:42:02 +0000 |
| Subject: | Re: User Notes Optimization | ||
| References: | 1 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-505@lists.php.net to get a copy of this message | ||
> This is a list of ways that I can see to optimize the user notes to become
> more friendly for the following :download time, display time, and skin
> friendly.
Nearly everything has a reason to be there in the user notes HTML files
(except <tt>).
> - beginning and end div tags removed
div tags are used by skins to find user note details inside
> - span tags removed from around email address
> - span tags removed from around date
> - span tags removed from around comment content
these are used for the same reason as described about the main
page elements in the docs => skinning
> - tt tags removed from around comment content
> - added "font-family: "Courier New", Courier, monospace;" to the main
style
> sheet under .untext
well, tt tags are not needed right ;)
I was also thinking about putting the individual user notes
under source highlighting, as most of the time, notes
include examples. That would actually make the size of the
user notes CHM dramatically bigger. The question is if it
helps more then the download time it takes.
Goba