Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
w3c / meta tags
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
w3c / meta tags
PostPosted: 09/12/2007 6:48 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
greatbrE.gif
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  headbang

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  dontknow
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: w3c / meta tags
PostPosted: 09/12/2007 3:12 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: w3c / meta tags
PostPosted: 09/12/2007 3:55 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
greatbrE.gif
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 dontknow
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: w3c / meta tags
PostPosted: 09/12/2007 4:04 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
greatbrE.gif
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  dontknow
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: w3c / meta tags
PostPosted: 09/12/2007 4:47 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
peace.gif
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";

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: w3c / meta tags
PostPosted: 09/12/2007 5:45 PM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
greatbrE.gif
now down to 9 Applause but again can't figure out the others. im good but im not that good  sunny
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: w3c / meta tags
PostPosted: 09/12/2007 11:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
peace.gif
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...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: w3c / meta tags
PostPosted: 09/13/2007 5:20 AM Reply with quote
Citation
Chris Powell
Citation
Posts 1332
Word Cnt. 86,126
BDay Feb 11
Sign Aquarius
Sex Sex:Male
Joined: Mar 31, 2007
Local time: 3:21 AM
Location: Birmingham, UK.
greatbrE.gif
ok cool  Applause

cheers  headbang
Back to Top
View user's profile Find all posts by Chris Powell Send private message   Visit poster's website
Re: w3c / meta tags
PostPosted: 09/13/2007 3:42 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 10:21 PM
Location: St Pete, FL
peace.gif
banana  banana  banana  banana  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: w3c / meta tags
PostPosted: 09/16/2007 3:18 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 6:21 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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 Very Happy

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... dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.08s (PHP: 67% - SQL: 33%) - SQL queries: 57 - GZIP disabled - Debug on