view OnlineValidator.inc @ 117:e01ce5722f2b

New change to how we save (X)HTML files. This time we simplify things by using DocumentFragments to load stuff, and preserve CDATA content.
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Sun, 27 Mar 2016 21:33:08 +0200
parents 2370f4450983
children
line wrap: on
line source

<?php
include_once 'ScriptIncludeCache.inc';

/// @cond
$baseDir = dirname(__FILE__);
$cache = ScriptIncludeCache::instance(__FILE__);
$cache->includeOnce('Validator.inc', $baseDir);
/// @endcond


/**
 * Defines a validator which uses an online validator
 */
abstract class OnlineValidator extends Validator
{
  /**
   * The url where the validator is located
   */
  protected $validator_url = 'http://validator.w3.org/check';
}
?>