> Susan Bugher <(E-Mail Removed)> wrote:
>>Cousin Stanley wrote:
>I'll report back when I've figured it out (if the cause isn't too
>humiliating).
Cousin Stanley wrote some error free code. I used PsPad, one of the
suggested text/programming editors. This checks your code, shows and
repairs errors and warnings and allows for a view of what you have in
a browser. It also converts to xhtml and compresses.
The ability to check for and repair errors and warnings makes this a
nice program for anyone writing html freehand.
Thanks j.m. for recommending PsPad.
http://www.pspad.com/index_en.html
~2 megs, very powerful in file size limitations and in the number of
features for programming, editing text files or checking, converting
and compressing html. All tools required are under the HTML tab.
>Hmmm, the numbers I see here are 45 and 66 - I wonder why they're
>different? Adding tables would make the Alphabetical page the largest -
>a dubious honor now held by the internet page - but it would still be
>smaller than many web pages so perhaps that's not important.
I show the original, no tabled page as:
58,329, which requires 61,440 bytes to store.
Compressed:
55,422 bytes, which reqiuires 57,344 bytes to store.
Cousin Stanley's tabled page shows as:
71,888 bytes and 73,728 bytes to store.
Compressed:
57,025 bytes, which reqiuires 57,344 bytes to store.
Compressing seems to have more effect on tables. This pretty much
removes all white space, removes most end of line characters and butts
each line against the previous. Lines are written 1024 characters
long, which is great if a machine is doing the reading. Press
HTML\Reformat and presto! It's back to user friendly form. Very nice!
Conversion to xhtml seems to add a bit of extra code and it's not
really necessary to upgrade at this time.
The compression and html checker might be of use to you though.
Your file contains 1088 lines, so there are 1088 1 byte invisible end
of line characters in it. It compresses to 56 lines! 1032 unnecessary
bytes were removed in the "machine" read file.
Cousin Stanley's file contains 2378 lines, 2378 1 byte eol characters.
It compressed to 58 lines! 2030 unnecessary bytes were removed from
the "machine" read file.
It is curious that both files require the same 57,344 bytes to store.
As CS pointed out, many of the warnings were <p>, </p> related.
The below items were fixed after running the html checker:
Found 0 errors, 7 warnings
line 3 column 678 - Warning: trimming empty <p>
line 55 column 737 - Warning: trimming empty <p>
line 56 column 150 - Warning: missing </b> before <center>
line 56 column 150 - Warning: trimming empty <b>
line 56 column 150 - Warning: trimming empty <p>
line 56 column 158 - Warning: inserting implicit <b>
line 56 column 420 - Warning: trimming empty <p>
Note the exact place of error/warning is pointed out, cool! (this was
the compressed file repaired btw)
Writing large files is tedious, to say the least. You have both done a
great job with it! Now, I'm looking at some of my html... man,
warnings galore.
Anyway, I thought you might have a use for such a tool, good luck!
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----