public function HTMLGetMicroformats($html, $url, $outputMode = self::XML_OUTPUT_MODE, $params = null) { $this->CheckHTML($html, $url, $outputMode); $this->CheckParamType("AlchemyAPI_Params", $params); if (is_null($params)) { $params = new AlchemyAPI_Params(); } $params->setHtml($html); $params->setUrl($url); $params->setOutputMode($outputMode); return $this->POST("HTMLGetMicroformatData", "html", $params); }
public function HTMLGetTextSentiment($html, $url, $outputMode = self::XML_OUTPUT_MODE, $baseParams = null) { $this->CheckHTML($html, $url, $outputMode); $this->CheckParamType("AlchemyAPI_Params", $baseParams); if (is_null($baseParams)) { $baseParams = new AlchemyAPI_Params(); } $baseParams->setHtml($html); $baseParams->setUrl($url); $baseParams->setOutputMode($outputMode); return $this->POST("HTMLGetTextSentiment", "html", $baseParams); }