Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2014, 08:04 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default does anyone here use W3C validator for their forums?

i just created a really cool sidebar for my forum and ran it through W3C validator, and omg, there was like 30 errors lol. i fixed most, but theres only so much i can fix in the coding for vb3 with out an error appearing on my boards.

anyways, i got looking around at other users forums here at vb org, and seen everyone of them with W3C validator errors. i read around the net on other sites about how it effects your google PR etc. some say it hurts PR some say it dont.

google wrote:
Quote:
Q: Does validating my site's code (with a tool such as the W3C validator) help my site's ranking in Google?
A: No, at least not directly. However, to the extent that cleaning up your HTML makes your site render better in a variety of browsers, more accessible to people with disabilities or folks accessing your pages on portable or other devices, and so on, it can improve the popularity of your site... increasing traffic, natural links to your site (which can help with your Google ranking), and so on.
i noticed youtube has HEAPS of W3C validator errors, but yet thats google ran isn't it?

i was just wondering does anyone here take note of their sites W3C validator errors, or even cares about it?

cheers.
Reply With Quote
  #2  
Old 06-17-2014, 08:26 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just use it as a guideline to assist you as you already have. On critical production code (HTML, CSS, JAVASCRIPT), I tend to look how the browsers handle my code in their strict modes -- again, you have to use these tools as guidelines only.
Reply With Quote
  #3  
Old 06-17-2014, 08:36 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks mate. what do you mean about strict modes in browsers please?

i tested my sidebar with IE, FF and chrome and no errors whats so ever. i even got someone to use their iphone to test on safari. no problems whats so ever. but once i ran it through W3C validator, it kinda through me off from using it, even though it took ages to make the sidebar to my likings.

so basically, dont stress so much about it, if your style/theme works fine in all browsers?
thanks.

edit: what the heck just happened to vb org lol.

Code:
Database Error : mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections
/var/www/sites/vbulletin.org/htdocs/forum/includes/class_core.php on line 272

MySQL Error    : 
Error Text     : 

Application    : vBulletin
Version        : 
Classname      : vB_Database

Date           : Tuesday, June 17th 2014 @ 02:33:47 AM
Username       : 

Script         : https://vborg.vbsupport.ru/portal.php
Referrer       : 

IP Address     : XXXXXXX

-->
i thought i got kicked out. never seen that b4.
Reply With Quote
  #4  
Old 06-17-2014, 09:05 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
thanks mate. what do you mean about strict modes in browsers please?
They are various developer modes intrinsic to each browser. Some browsers separate these into modes and warnings (error levels). The more advanced levels have to be enabled though the developers configuration. In essence it tells you how the the browser reads your code and warns you about possible problems that might arise in the future.

For example on your site on one page the following javascript strict errors:
Code:
The  character encoding of a framed document was not declared. The document  may appear different if viewed without the document framing it. 

Use of attributes' specified attribute is deprecated. It always returns true.
...typeof a&&(b=da(a,10));return b},od=function(){var a=Y.drw;kc(function(b){if(a!=...
The first error is typical and is a reminder. The second is telling you of a possible problem in the future with this browser and maybe other devices. In many cases with browsers, even if it is deprecated it will still work. What they are really saying is that they are not going to expand support for that function any longer and in the future it might be removed.

What browser do you use for development?
Reply With Quote
  #5  
Old 06-17-2014, 09:08 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To answer the original question - no... I see no benefit to do so. Just something people with too much time worry about IMO.
Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, ForceHSS
  #6  
Old 06-17-2014, 09:09 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
so basically, dont stress so much about it, if your style/theme works fine in all browsers?
Yep, You got it!

We are in a new error, that device checking is almost more important then browser checking.
Reply With Quote
  #7  
Old 06-17-2014, 10:19 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
To answer the original question - no... I see no benefit to do so. Just something people with too much time worry about IMO.
i dont have a lot of time on my hands, and thats a very strait forward answer that i do like to hear. i have more important stuff to do than sit here and fix silly little bits of coding that it picks out. i.e., it cant even make up its mind about <br> <br/> or <br />. even the end > it wants /> on certain lines. half the reason i do this is to please others. but thanks for your reply.

Quote:
Originally Posted by tbworld View Post
Yep, You got it!

We are in a new error, that device checking is almost more important then browser checking.
thanks for your helpful reply above and this one.
i use FF, always have and most likely will never change.
was that the site in my siggy you tested? because that page is crappy coding lol.

so options for FF, we thinking firebug, i have never really bothered with that stuff.
thanks.
Reply With Quote
  #8  
Old 06-17-2014, 10:30 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
i was just wondering does anyone here take note of their sites W3C validator errors, or even cares about it?
In a word ... No.

Reply With Quote
Благодарность от:
CAG CheechDogg
  #9  
Old 06-17-2014, 10:57 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
thanks for your helpful reply above and this one.
i use FF, always have and most likely will never change.
was that the site in my siggy you tested? because that page is crappy coding lol.
Neither error is a problem at this time. It was just an example of strict reporting. If the coding works, does not slow down your site under load, and is safe to run. Then your fine.

I rarely have time or are given time to write perfect code! Thus it is crappy too.
Reply With Quote
  #10  
Old 06-17-2014, 06:54 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawneyJ View Post
i was just wondering does anyone here take note of their sites W3C validator errors, or even cares about it?
Yes, valid xhtml markup is a key ingredient in being able to figure out why things don't look the way that you think they should look. It allows you to narrow what you're looking for to find bugs. This isn't to say that all errors/warning that show up in the validtors errors are worth correcting. Not only that you have a better chance of having cross browser compatibility if your site, and I'm not just talking vb sites here, is able to be validated since most modern browsers will with a great deal of accuracy render a valid site. If the site isn't valid then you're trusting that the browsers your users are using can effectively deal with whatever markup errors are there.
Reply With Quote
3 благодарности(ей) от:
RichieBoy67, ShawneyJ, tbworld
Reply


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 09:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02453 seconds
  • Memory Usage 2,271KB
  • 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
  • (8)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete