You are here: Re: php and xhtml validation « PHP Language « IT news, forums, messages
Re: php and xhtml validation

Posted by Roy Kaldung on 05/09/07 09:44

Harris Kosmidhs wrote:
> I converting my html/php pages to xhtml.
> Basically I do this at my home/work in linux/windows. So I ran an apache
> and edit the pages with crimson editor(win) and bluefish(linux). They
> are simple text editors with syntax highlighting.
>
> Now I want to have a validation tool. On line W3C html validation cannot
> work because I'm viewing my pages through localhost.
> I cannot either upload the page since it cannot parse <?php tags.
> So is there a solution to validate php pages which aren't on-line?
>
> thanks
>
> PS I now it's not quite a php question but since people here do write
> php somebody must know.

If you're running Linux, e.g. Debian there is a package called
w3c-markup-validator. It is identical with the validator from W3C. While
running on your host it has still access to localhost.
For Firefox exists an extension which validates pages each time they are
displayed. This extension uses tidy and is only available for windows,
as far as I can remember.

hth,
Roy

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация