public function spracuj($config, $text, $time) {
        $text = '<meta http-equiv="content-type" content="text/html; charset=utf-8"/>' . $text;
        $from_enc = "ISO-8859-2";
        if ($config["from_encoding"]) $from_enc = $config["from_encoding"];
        $text = str_replace($from_enc, "utf-8", $text);
        $this->text = iconv($from_enc, "utf-8", $text);
        $this->config = $config;
        $this->time = Time::get($time);
        $this->doc = @\DOMDocument::loadHtml($this->text);
        if (!$this->doc) {
            file_put_contents("test002.html", $text);
            exit;
        }
        //		var_dump($this->doc);
        $this->xpath = new \DOMXPath($this->doc);
        return $data = $this->createData();
    }