vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   does anyone here use W3C validator for their forums? (https://vborg.vbsupport.ru/showthread.php?t=312213)

ShawneyJ 06-17-2014 08:04 AM

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.

tbworld 06-17-2014 08:26 AM

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.

ShawneyJ 06-17-2014 08:36 AM

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.

tbworld 06-17-2014 09:05 AM

Quote:

Originally Posted by ShawneyJ (Post 2502275)
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?

BirdOPrey5 06-17-2014 09:08 AM

To answer the original question - no... I see no benefit to do so. Just something people with too much time worry about IMO.

tbworld 06-17-2014 09:09 AM

Quote:

Originally Posted by ShawneyJ (Post 2502275)
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.

ShawneyJ 06-17-2014 10:19 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2502282)
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 (Post 2502283)
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.

Paul M 06-17-2014 10:30 AM

Quote:

Originally Posted by ShawneyJ (Post 2502270)
i was just wondering does anyone here take note of their sites W3C validator errors, or even cares about it?

In a word ... No.

:)

tbworld 06-17-2014 10:57 AM

Quote:

Originally Posted by ShawneyJ (Post 2502292)
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. :)

squidsk 06-17-2014 06:54 PM

Quote:

Originally Posted by ShawneyJ (Post 2502270)
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.


All times are GMT. The time now is 12:57 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.01042 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete