homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

W3C Validation

 11:20 am on Dec 15, 2008 (gmt 0)


Which is the best way to work php files through the W3c validator?

What I have done for a few files is that I have viewed the source and what I got was the resultant Html. Now I copied this and pasted in the validator's submit box.

The problem is I cannot open certain files from the browser, and so I cannot get the html code.

So how do you guys turn the mixture of php code and html code in the php file to pure html/xhtml?



 12:16 pm on Dec 15, 2008 (gmt 0)

the best way to do this is to use your server to convert php to html.

the easiest way to validate your code is to install the html validator or web developer add-on to extend firefox.


 6:54 am on Dec 22, 2008 (gmt 0)

I have installed the firefox html validator add-on. Well, it has become quite easy as you can refesh the "view source" page itself after updating your code.

There is an option "clean up html" which is quite interesting. But how can one know what changes the firefox html validator has made?

Things become complicated because the html code from all the "include" files is also displayed there.

Is there any way to track the changes made?


 1:09 pm on Dec 23, 2008 (gmt 0)

Concurrent Version software such as Subversion are great tools for tracking changes, rolling back to previous versions, etc. Subversion also comes with a diff utility for comparing one version of a document with another, highlighting the changes that were made. The Eclipse Integrated Development Environment (IDE) also has a diff utility and Local History tracking.


 3:47 pm on Dec 27, 2008 (gmt 0)

Is anyone aware of a system that shows diffs like those seen in normal wikipedia text content pages?

I am almost at the point of using a wiki to track code changes on a small project.


 3:01 pm on Dec 29, 2008 (gmt 0)

Run your script on firefox and use 'HTML Validation' plugin for FF to check W3C Validation. It will show you errors and give you details how to fix it.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved