electronic.alchemy :: open calais example
where the past meets the future
pike > open calais example

open calais example

Created by hww3. Last updated by hww3, 10 years ago. Version #1.

string key = "3je88k2b6prebutfudezpced";

object s = Fins.Model.find.objects_by_path("pike/Fins"); string content = application->render_wiki(s["current_version"]["contents"]);

object p = Protocols.HTTP.do_method("POST", "http://api.opencalais.com/tag/rs/enrich", ([]), (["x-calais-licenseID": key, "content-type": "text/htmlraw", "accept": "application/json"]), 0, content);

mapping m = Tools.JSON.deserialise(q->data());

Not categorized | RSS Feed | BackLinks

comments powered by Disqus