 | w3c / meta tags |  |
Posted: 09/12/2007 6:48 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Hi Nightrider, I've decided to make the djpassions site go live again as the search engines seems to like the design etc. its ranking well considering I haven't got many linkbacks for the domain etc
Anyway I ran it through w3c but it comes up with 22 errors. I think this is because of the Meta tag mod I used? Any idea why w3c isn't passing the site for? I must have installed the mod wrong or maybe the author of the mod wasn't worried about it being strict valid code etc I don’t know  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 3:12 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
|

|
|
|
|
 |
The login details for your www.djpassions.com FTP server no longer work for me...
It appears that the biggest complaint is that the / has been incorrectly added to the end of the meta tags in your overall_header.tpl file. Probably if you remove them, most of the w3c errors will go away...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 3:55 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Oh yeah I deleted that account as it was just easier to get to djpassions through the main djpassion account. Less confusing the way it is now. Can you still access the main account ok?
As for the code being added incorrectly I've added code that way before and think it never caused that problem before so not sure how to correct it  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 4:04 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
Weird I changed all the /> to just > and it went from22 errors to 15 so it corrected the Meta tags but I’m not sure how to correct the other ones. Don’t really want to mess about with the link tags. Not sure what to do with them because of the way phpBB works with them etc. it's not just a standard html file for a website with the basic tags used if you know what I mean  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 4:47 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, this is what the w3c validator says about this error:One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Since removing the self-closing tags from the meta tags cleared up 7 of the errors, removing the self-closing tags from the links will probably remove even more. To find out, you will have to edit the includes/page_header.php file though:
OPEN
includes/page_header.php
FIND
| Code:
|
|
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
|
REPLACE WITH
| Code:
|
|
$nav_link_proto = '<link rel="%s" href="%s" title="%s">' . "\n";
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 5:45 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
now down to 9 but again can't figure out the others. im good but im not that good  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/12/2007 11:48 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
|

|
|
|
|
 |
The other errors were common problems. I'm really not sure what you were planning in your overall_header.tpl menu, but there was a lot of code that didn't do anything but cause problems. I cleaned it up and removed the garbage code and now the page validates...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/13/2007 5:20 AM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
|

|
|
|
|
 |
ok cool
cheers  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/13/2007 3:42 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: w3c / meta tags |  |
Posted: 09/16/2007 3:18 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 6:21 AM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
I just came across to know about w3c validator as it checks the HTML codes whether they are correct or not.
I checked for my website www.FunWadi.com and it gives around 149 errors
Is there any way to remove all at once or any easy way. Or you can teach me few basic steps to remove 2-3 than I will try for the rest...  |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|