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]
|