Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 02-14-2003, 04:09 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Aaron1
I maybe have a nice bandwidth tip, i haven't seen here before:

Download Absolute Html Compressor (Freeware)

And run all the contents from your templates through this tool.
That might save some kb's! Because it can:

- merge lines;
- remove unnecessary whitespace characters;
- remove unnecessary quotation marks
Thank you for this useful tool. :smoke:
Reply With Quote
  #22  
Old 02-14-2003, 04:22 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://validator.w3.org/
http://jigsaw.w3.org/css-validator/
http://www.w3.org/RDF/Validator/
http://bobby.watchfire.com/bobby/html/en/index.jsp

shoudlnt these be in everyones favorites?
Reply With Quote
  #23  
Old 02-14-2003, 04:27 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps you should install the program first, there's a tab called options you know?
If you don't want to remove the code, then set it off.
I've managed to reduce my homepage size by nearly 10kb.
Now multiply that by thousands of members, by million views, get it?
Screw the validator, i'm paying bandwidth here, get the picture?
Again, thank you for that link Aaron.
Reply With Quote
  #24  
Old 02-14-2003, 05:16 PM
Sebastian's Avatar
Sebastian Sebastian is offline
 
Join Date: Oct 2002
Location: America
Posts: 488
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nuno
Perhaps you should install the program first, there's a tab called options you know?
If you don't want to remove the code, then set it off.
I've managed to reduce my homepage size by nearly 10kb.
Now multiply that by thousands of members, by million views, get it?
Screw the validator, i'm paying bandwidth here, get the picture?
Again, thank you for that link Aaron.
you must only have like 1GB a month to really care about 10kb LoL

sure it'll make the file smaller, but it makes it look like sh!t, it cultters it all into one huge lump of code.
Reply With Quote
  #25  
Old 02-14-2003, 05:41 PM
Dominick Dominick is offline
 
Join Date: Jan 2003
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nuno
Perhaps you should install the program first, there's a tab called options you know?
If you don't want to remove the code, then set it off.
I've managed to reduce my homepage size by nearly 10kb.
Now multiply that by thousands of members, by million views, get it?
Screw the validator, i'm paying bandwidth here, get the picture?
Again, thank you for that link Aaron.
I guess my point was this.

I would rather a scientific method of using code optimally IE the validator. Rather than an application that does not look for optimal code strings but optimal download time

All in all, the optimal code string will reduce cpu load and download time more than a smaller .php or .html file
Reply With Quote
  #26  
Old 03-14-2003, 07:37 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
NTLDR said:
If your following proper standards, which as a webmaster you should, the DOCTYPE is required for all HTML documents and the " are required if you use XHTML and therefore should be included if you want all users to be able to view the site correctly.
(donning flameproof underwear)


You are a respected member here, but I must jump in (months late, granted) with my opinions...


First, w3.org are not gods. They are a committee, an organization. They are also out-of-control and need to be reigned in. They are trying to turn HTML into a page description format, but not the correct way. The monstrosity they have created is the wrong thing to introduce now, since Acrobat PDF is now ubiquitous.

They're giving HTML so many disparate layers that it is difficult or impossible to debug. Why is the W3 not holding protests in front of Microsoft HQ for IE not supporting PNG correctly? PNG is much more exciting to me than ripping apart the current tolerable TABLE system we have now.

I firmly believe that if you follow w3.org 100% you will end up in a straightjacket.

Any time you start using CSS, you cannot use it partially--you have to use it 100%. It does not co-exist peacefully with HTML because of the nightmarish inheritance.

It took me 3 HOURS to get a simple page looking the way I wanted with CSS. I should have just done a nasty search-and-replace and put manual font tags on everything. The tutorials on the web are horrible. They tell you what the tags do, not the when/where/why/how.

Look at the PHP manual. That is a COOOOOL manual. Everything has little notes about why you should or shouldn't use 1 command over another. Every command has links to examples of what situations this command is used for. There is no way I could have figured out arrays without a simple page like they wrote.

You know why I put the W3C-certified logo/button on that page? Because I felt I had accomplished something by wrestling CSS under control long enough to put out a page. If I did not have a use for this code for many other websites, I'd be furious.

Maybe I am just stupid, but I think I tried 50 different ways of assigning styles to the text on that page and they all had various inheritance problems until I explicitly laid out everything. First, I tried <h1> thru <h9> tags and it made pathetic attempts to marry the standard HTML <h1> - <h6> specifications with the CSS I was giving it.


If I add this as a style at the top of my page:
Code:
#feldon26 { font-family: Arial, Helvetica; }
it makes all kinds of assumptions about what kind of linespacing, letterspacing, margins, etc. about any text you put inside:
Code:
<div id="chattext"></div>
I guess Microsoft is their role model?

HTML and CSS are supposed to be 100% explicit, 0% implicit. It should assume very little, and CSS assumes a whole hell of a lot.


Can I ask who is writing XHTML? I write fairly complex pages and I've never even heard of it. That's the great thing about standards. There are so many to choose from.
Reply With Quote
  #27  
Old 03-14-2003, 07:57 PM
feldon23's Avatar
feldon23 feldon23 is offline
 
Join Date: Oct 2001
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The W3.org Validator Hall of Shame

<center></center> is depreciated? So they are officially throwing out HTML?

<td background=""> is not valid HTML because background does not exist as a td tag? I wonder how they plan to do row backgrounds IN HTML without CSS then. Maybe they are just mad because Microsoft thought of this tag first?

<img src="spacer.gif"> is not valid HTML because it does not have an ALT="" tag? My website is about fish and a screen saver. It does not need to be accessible (I use ALT religiously on my other pages however).

<body LEFTMARGIN="0" BGCOLO...> And they intend for me to override the artificial 10 px margins on all sides of the page how? I am working around what I consider a bug in HTML and they tell me I'm writing invalid code? Um, ok.

<a href="version11.html"><font face="Helvetica,Arial">Download SereneScreen Aquarium version 1.1 with the new Lionfish!</a></font> They're still worried about non-perfect nesting? This is why you see hundreds of font tags on pages that could get by with 10. If a browser cannot handle "different" nesting, then the browser is buggy, not the HTML.

And there is no way to turn off these nuisance alarms in http://validator.w3.org/. I have seen, no lie, 1,000 errors on a page that displays perfectly well on IE, Opera, and Netscape before. Why can't it just tell me if I have any "show-stopping" HTML like missing end tags?


I guess vBulletin is full of HTML problems too since every single URL has this error flagged:

<a href="../forums/showthread.php?s=&threadid=1287">

cannot generate system identifier for general entity "threadid"




My HTML validator is Netscape 4.07. It absolutely breaks if you have 1 letter out of place. I know a few tags that hard-lock the program.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04095 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete