Exemple #1
0
  public Document HTMLGetRankedKeywords(String html, String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckHTML(html, url);

    params.setUrl(url);
    params.setHtml(html);

    return POST("HTMLGetRankedKeywords", "html", params);
  }
Exemple #2
0
  public Document TextGetRankedKeywords(String text, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckText(text);

    params.setText(text);

    return POST("TextGetRankedKeywords", "text", params);
  }
Exemple #3
0
  public Document URLGetRankedKeywords(String url, AlchemyAPI_KeywordParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckURL(url);

    params.setUrl(url);

    return GET("URLGetRankedKeywords", "url", params);
  }